Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This means that if you define your `matchVariant` as: ```js matchVariant('foo', (value) => '.foo-${value} &') ``` Then you can't use `foo:underline`, if you want to be able to use `foo:underline` then you have to define a `DEFAULT` value: ```js matchVariant('foo', (value) => '.foo-${value} &', { values: { DEFAULT: 'bar' } }) ``` Now `foo:underline` will generate `.foo-bar &` as a selector!
- Loading branch information
1 parent
24fc365
commit ddb9b4d
Showing
4 changed files
with
148 additions
and
5 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
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 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