Skip to content

Commit

Permalink
Update 'rework-suit' to 2.0.x
Browse files Browse the repository at this point in the history
Includes latest change to CSS variables syntax.
  • Loading branch information
necolas authored and mlnmln committed Dec 30, 2018
1 parent 4e76c46 commit beba1ad
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions packages/preprocessor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
=== HEAD

* Update 'rework-suit' to 2.0.x.

=== 0.1.1 (March 24, 2014)

* Initial release
4 changes: 2 additions & 2 deletions packages/preprocessor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"node-watch": "0.3.4",
"pad-component": "0.0.1",
"read-file-stdin": "0.0.3",
"rework": "~0.20.1",
"rework-suit": "~1.0.0",
"rework": "~0.20.2",
"rework-suit": "~2.0.0",
"write-file-stdout": "0.0.2"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/preprocessor/test/cli/input.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

:root {
var-red: #f00;
--red: #f00;
}

.cli {
color: var(red);
color: var(--red);
width: calc(50px * 2);
transition: all 1s;
}
8 changes: 4 additions & 4 deletions packages/preprocessor/test/features/vars.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@

:root {
var-red: #F00;
--red: #F00;
}

body {
color: var(red);
color: var(--red);
}

:root {
var-red: #0F0;
}
--red: #0F0;
}

0 comments on commit beba1ad

Please sign in to comment.