Skip to content

Commit

Permalink
feat(styles): add default(scss) styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Dec 2, 2016
1 parent 040daf1 commit 344a856
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 422 deletions.
11 changes: 11 additions & 0 deletions src/common/styles/global/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// https://github.com/webpack/css-loader#local-scope
:global {
@import 'normalize.css';

@import 'variables';
@import 'views/index';

body {
background: $bodyColor;
}
}
1 change: 1 addition & 0 deletions src/common/styles/global/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$bodyColor: #d3cfcf;
7 changes: 7 additions & 0 deletions src/common/styles/global/views/hello.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.view__hello {
color: green;

.text {
color: blue;
}
}
3 changes: 3 additions & 0 deletions src/common/styles/global/views/home.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.view__home {
color: blue;
}
2 changes: 2 additions & 0 deletions src/common/styles/global/views/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import 'home';
@import 'hello';
3 changes: 3 additions & 0 deletions src/common/styles/local/title.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.h2 {
text-decoration: underline;
}
Loading

0 comments on commit 344a856

Please sign in to comment.