Adam Wathan
d77bc055ee
Support for basic variant generator plugins
...
Allows you to write a plugin that registers a new variant but only
allows you to modify the selector (like what our built-in generators
do.)
Next steps are to support variants that wrap rules with at-rules
(like @supports for example), variants that can modify properties
(as opposed to just selectors), and to give variant plugin authors
control over how responsive variants interact with their own variants.
2018-06-26 13:44:47 -04:00
Adam Wathan
9d05910507
Generate variants based on the order specified in the modules config
2018-06-26 13:44:47 -04:00
Adam Wathan
cc968d1791
Fix conflics, refactor variant generator
2018-03-13 08:12:20 -04:00
Adam Wathan
fa0e06c2dd
Generate focus variants last and group-hover variants first
2018-03-12 15:34:14 -04:00
Adam Wathan
bc05473b37
Add dependencies, fix warnings
2018-03-07 09:37:01 -05:00
fedeTibaldo
b7cb21360d
Update priority order to (from the highest): active-hover-focus
2018-02-19 17:23:22 +01:00
fedeTibaldo
62cf25f718
Change priority order to (from the highest): focus-active-hover
2018-02-16 18:09:20 +01:00
fedeTibaldo
2e4e4a79e2
Revert output order from hover-active-focus to focus-active-hover
2018-02-09 20:57:34 +01:00
fedeTibaldo
1f57fbfbaf
Add tests for active state variant
2018-02-09 20:20:24 +01:00
Adam Wathan
858b725896
[0.3] Rename parent-hover to group-hover ( #271 )
2017-12-01 08:14:58 -05:00
Adam Wathan
ad48de9500
[0.3] Escape separator string ( #270 )
2017-11-30 15:55:06 -05:00
Adam Wathan
ed550b3c5c
[0.3] Add parent-hover variant ( #251 )
...
* Add parent-hover variant
* Don't enable parent-hover on textColors module by default
* Add tests, move parent-hover declarations to separate rules
* Prettier-ignore long selector string
2017-11-28 14:44:43 -05:00
dumconstantin
013f845281
Make the hoverable, focusable and responsive separator (default '\:') configurable.
2017-11-24 16:26:40 +02:00
Adam Wathan
28f73f2bf5
Add support for including responsive in variants list
2017-11-23 09:58:42 -05:00
Adam Wathan
12dd81b906
Working on @variants at-rule
...
Currently supports focus and hover, need to add responsive which will be a whole horrible can of worms.
2017-11-22 18:44:30 -05:00