-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support define CSS variables and use CSS variables (#492)
- Loading branch information
Showing
34 changed files
with
536 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
let c = CSS.color(`var({js|--color-link|js})); | ||
|
||
[%styled.global | ||
{| | ||
div { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
type combinator('a, 'b) = list(Rule.rule('a)) => Rule.rule('b); | ||
|
||
// TODO: docs for infix operators | ||
let combine_static: combinator('a, list('a)); | ||
let static: combinator('a, list('a)); | ||
|
||
let combine_xor: combinator('a, 'a); | ||
let xor: combinator('a, 'a); | ||
|
||
let combine_and: combinator('a, list('a)); | ||
let and_: combinator('a, list('a)); | ||
|
||
let combine_or: combinator('a, list(option('a))); | ||
let or_: combinator('a, list(option('a))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.