Adam Wathan
|
98f322920f
|
Move processPlugins to separate module
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
a6342e60ce
|
Add atRule helper for plugins
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
24d184fbfc
|
Pass escape function to plugins
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
4d3bbcad95
|
Pass config to plugins
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
e89fffbc3c
|
Remove unnecessary array destructuring
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
47518404c0
|
Rename selector to rule, extract plugin processing
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
73a6b6da85
|
Sort imports
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
5f77aa0ec3
|
Implement basic plugin system
|
2018-03-05 09:58:35 -05:00 |
|
Adam Wathan
|
eacc4635b6
|
Match apply rules against a lookup table instead of searching
|
2018-02-28 20:34:16 -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 |
|
fedeTibaldo
|
b8ca236400
|
Add support for active state variant
|
2018-02-09 16:51:58 +01:00 |
|
Adam Wathan
|
ec9b9b99bd
|
Add support for making applied rules important
|
2017-12-13 13:00:37 -05:00 |
|
Adam Wathan
|
47a3b938de
|
Fix style
|
2017-12-13 13:00:01 -05:00 |
|
Adam Wathan
|
88ff6bdbc3
|
Don't normalize custom property sets in at-apply
|
2017-12-13 12:51:35 -05:00 |
|
Adam Wathan
|
6984ba0b99
|
Add source map information to generated utilities
|
2017-12-12 15:24:59 -05:00 |
|
Jack McDade
|
c84886e32e
|
Adjust syntax style to fit standards
|
2017-12-08 16:15:58 -05:00 |
|
Jack McDade
|
97ef316af8
|
Prevent @apply from adding !important.
|
2017-12-08 16:05:54 -05: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
|
45c1c4826f
|
Merge branch 'master' into 0.3
|
2017-11-29 18:46:08 -05:00 |
|
Adam Wathan
|
7d6d0af65c
|
Add more detail to @apply errors
|
2017-11-29 10:16:38 -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 |
|
Adam Wathan
|
255c7b47e7
|
Move responsibility for appending nodes into variant generators themselves
|
2017-11-27 19:35:53 -05:00 |
|
Adam Wathan
|
831a3318de
|
Pass all config options to each variants generator, not just separator
|
2017-11-27 19:32:11 -05:00 |
|
Adam Wathan
|
021ce94b7d
|
Unwrap config in inner function
Unwrapping in the outer function causes it to get cached during watching.
|
2017-11-27 19:28:35 -05:00 |
|
Adam Wathan
|
0751431658
|
Remove useless variable
|
2017-11-26 14:56:39 -05:00 |
|
Adam Wathan
|
df8d80fbbf
|
Defer unwrapping config until actually evaluating the config() function
|
2017-11-26 14:53:30 -05:00 |
|
Adam Wathan
|
704396b892
|
Remove hoverable and focusable at-rules in favor of variants at-rule
|
2017-11-24 15:11:16 -05:00 |
|
Adam Wathan
|
a2f1cf099f
|
Merge pull request #241 from tailwindcss/mark-options-as-advanced
[0.3] Remove redundant default option fallbacks
|
2017-11-24 15:03:22 -05:00 |
|
Adam Wathan
|
798d2ccd17
|
Merge pull request #235 from dumconstantin/master
[0.3] Make a configurable separator (default ':')
|
2017-11-24 15:03:01 -05:00 |
|
Adam Wathan
|
e20f340ba5
|
Remove redundant default fallbacks
|
2017-11-24 14:15:11 -05:00 |
|
Adam Wathan
|
944dd00160
|
Move modules key out of options and up to top level
|
2017-11-24 12:08:43 -05:00 |
|
dumconstantin
|
013f845281
|
Make the hoverable, focusable and responsive separator (default '\:') configurable.
|
2017-11-24 16:26:40 +02:00 |
|
Adam Wathan
|
e603a22f5e
|
Invert conditional to guard clause
|
2017-11-23 15:36:20 -05:00 |
|
Adam Wathan
|
8171ca79ff
|
Rename substitutePreflight to substituteTailwindPreflight
|
2017-11-23 15:04:21 -05:00 |
|
Adam Wathan
|
1a5c09c14d
|
Fix style
|
2017-11-23 15:03:34 -05:00 |
|
Adam Wathan
|
62a9894a53
|
Rename generateUtilities to substituteTailwindUtilitiesAtRules
|
2017-11-23 15:02:55 -05:00 |
|
Adam Wathan
|
b586c6d8ed
|
Refactor generateUtilities to use generateModules
|
2017-11-23 15:01:22 -05:00 |
|
Adam Wathan
|
0a6c4cc5c6
|
Use @variants to generate variants specified in config
...instead of using variant generators directly.
|
2017-11-23 12:01:04 -05:00 |
|
Adam Wathan
|
5870489f38
|
Don't include module if explicitly disabled in config
|
2017-11-23 11:16:44 -05:00 |
|
Adam Wathan
|
89300a60db
|
Remove some duplication in favor of voodoo array wizardry
|
2017-11-23 11:16:44 -05:00 |
|
Adam Wathan
|
ea8915bef2
|
Generate responsive/hover variants based on config instead of hard-coded
|
2017-11-23 11:16:44 -05:00 |
|
Adam Wathan
|
98d5a55c47
|
Apply responsive and hover at the per-module level, in the main generator
|
2017-11-23 11:16:44 -05:00 |
|
Adam Wathan
|
d1828c9dd9
|
Rename generators to match planned module names
|
2017-11-23 11:16:44 -05:00 |
|
Adam Wathan
|
28f73f2bf5
|
Add support for including responsive in variants list
|
2017-11-23 09:58:42 -05:00 |
|
Adam Wathan
|
ebb8633809
|
Fix tests and style
|
2017-11-23 09:58:25 -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 |
|