Skip to content

Commit

Permalink
feat(styles.cssnext): add cssnext styles
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Dec 2, 2016
1 parent 344a856 commit fcd4eaa
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/common/styles.cssnext/global/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import 'normalize.css';

@import 'variables';
@import 'views';

body {
background: var(--bodyColor);
}
3 changes: 3 additions & 0 deletions src/common/styles.cssnext/global/variables.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root {
--bodyColor: #d3cfcf;
}
7 changes: 7 additions & 0 deletions src/common/styles.cssnext/global/views/hello.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.view__hello {
color: green;

@nest & .text {
color: blue;
}
}
3 changes: 3 additions & 0 deletions src/common/styles.cssnext/global/views/home.css
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.cssnext/global/views/index.css
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.cssnext/local/title.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.h2 {
text-decoration: underline;
}

0 comments on commit fcd4eaa

Please sign in to comment.