Adam Wathan
e40079a457
Fix cascading shadow/ring bug, ensure default ring color
2020-11-16 19:47:45 -05:00
Robin Malfait
b86bdbcd7e
Cleanup custom properties ( #2771 )
...
* prefix custom properties with tw-
* prefix custom properties with tw- in tests
* prefix gradient values in the defaultConfig
* inline gradient-via-color
* simplify --tw-tailwind-empty to --tw-empty
* replace the long --tw-font-variant-numeric-... to the way shorter --tw-fvn-...
* Rename --tw-box-shadow to --tw-shadow
To match class name.
* Rename font-variant-numeric variables
* Remove 'transform' from transform variables
* Shorten gradient variables
* Fix style
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2020-11-16 11:45:55 -05:00
Adam Wathan
c3dd3b6845
Make boxShadow respect ring shadows
...
This is to prevent box-shadows from overriding rings that are added manually by plugins like the custom forms plugin.
2020-11-10 14:24:22 -05:00
Adam Wathan
4eecc2751c
Convert 'none' to transparent shadow
...
To make shadow comma-separated list safe.
2020-11-09 19:10:34 -05:00
Adam Wathan
d4fcd2eb8f
Add new ring utilities for custom focus styles and rounded outlines ( #2747 )
...
* Add ring utilities
* Remove redundant shadows, add 5% and 95% to opacity scale
* Undo changes to build file
* Update boxShadow.test.js
2020-11-09 16:39:49 -05:00
Adam Wathan
e3ed12782f
Update prettier
2020-10-16 13:30:06 -04:00
Adam Wathan
6180627d6c
Fix lint errors
2020-10-16 12:53:41 -04:00
Adam Wathan
11690b4c9b
Update all core plugins to use the same class name generation strategy
2020-10-16 12:53:41 -04:00
Adam Wathan
e897e40189
Replace special handling of 'default' with 'DEFAULT'
2020-10-16 12:53:41 -04:00
AlexVipond
a249bc4433
Handle default keyword for negative prefix syntax. Write tests for negative prefix syntax
2019-06-28 10:11:47 -06:00
AlexVipond
fd203a8906
support negative prefix for box shadow and letter spacing
2019-06-27 19:44:38 -06:00
Michaël De Boey
d4b2b8b755
Make theme config directly accessible in the plugins
2019-04-18 23:29:07 +02:00
Adam Wathan
f0bc35a896
Support configuring a single list of variants to apply to all relevant plugins
2019-04-18 09:42:21 -04:00
Adam Wathan
8e5a744237
Source boxShadow options from config
2019-02-28 11:51:23 -05:00
Adam Wathan
b6b67e1c8c
Rename shadows to boxShadow
2019-02-14 15:32:38 -05:00