Adam Wathan
60a06788fe
Add CSS filter support ( #3923 )
...
* Implement `filter` helper classes with all methods
* Rename filter plugins/utilities, drop filter opacity, add drop shadow
* Remove non-final default filter values
* Working on default filter values, add basic JIT support
* Working on blur values
* New blur values (these are ~okay)
* Match drop-shadow values to box-shadows by eye as best as possible
* Update tests
* Fix kitchen sink test
* Add filter variants configuration
* Move drop-shadow to end of filters list
Co-Authored-By: Peter Neupauer <peter@neupauer.sk>
* Add invert variants configuration
* Add backdrop-filter utilities
* Update tests
* Transition filters by default
* Alphabetize new config keys
* Optimize filter plugins for JIT + add arbitrary value support
Except for drop-shadow, will add that once we can think it through a bit.
Co-authored-by: Nick Schmidt <nick@kreativgebiet.com>
Co-authored-by: Peter Neupauer <peter@neupauer.sk>
2021-04-04 19:09:34 -04:00
Adam Wathan
1cb060d34e
Add mix-blend-mode and background-blend-mode utilities ( #3920 )
...
* Add mix-blend-mode utilities
* Rename mix-blend-mode utilities to `mix-blend-*`
Co-Authored-By: Peter Neupauer <peter@neupauer.sk>
* Add `background-blend-mode` utilities
Co-Authored-By: Peter Neupauer <peter@neupauer.sk>
Co-authored-by: Peter Neupauer <peter@neupauer.sk>
2021-04-04 06:50:05 -04:00
Adam Wathan
e1e66e3848
Add isolation utilities ( #3914 )
2021-04-02 16:32:25 -04:00
Adam Wathan
8c07172726
Add box-decoration-break utilities ( #3911 )
2021-04-02 16:04:52 -04:00
Adam Wathan
7eaa280895
Generate dark variants for ringOpacity by default
2021-02-07 15:26:09 -05:00
Yehuda Neufeld
231f1d0cf2
Enable dark variants by default for opacity utilities ( #2975 )
...
* enable `dark` by default for opacity utilities
* removed `opacity`, as unneeded
* removed `ringOpacity`, as unneeded
2021-02-07 15:05:49 -05:00
Cameron Huntington
179757ee3a
alphabetize transformOrigin and transitionDuration properties ( #2828 )
2021-02-07 15:02:02 -05:00
Kevin Lang
82f1395997
add help cursor ( #3199 )
2021-01-29 15:01:05 -05:00
Adam Wathan
3de0c48bd6
Don't mix unitless values with units in the same scale
...
Resolves an issue where `ring-offset-0` didn't actually work because `calc(0 * 1)` fails to compute, need a unit.
2020-11-17 08:26:44 -05:00
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
b3ed7248c2
Move black and white colors to colors.js
2020-11-13 19:25:17 -05:00
Adam Wathan
e0788efd4f
Generate focus, focus-within, and dark variants for ring utilities
2020-11-12 08:45:21 -05:00
Adam Wathan
f6923b1d6b
Update default variants
...
Disable hover/focus for fontWeight, enable focus-within for outline and ringWidth, enable group-hover for boxShadow, enable group-hover and focus-within for textDecoration.
2020-11-11 16:12:41 -05:00
Adam Wathan
ac5970d6fb
Add support for default duration and timing function to transition property utilities ( #2755 )
2020-11-11 08:27:09 -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
1a21f0721c
Enable focus-within where useful by default
2020-11-07 15:14:09 -05:00
Adam Wathan
369cfae290
Add "shadow-solid" utility
2020-11-06 22:36:18 -05:00
Adam Wathan
b0782385c9
Derive shadow-outline from new blue-300
2020-11-06 22:33:31 -05:00
Adam Wathan
ba153fdf5e
Reformat config file
2020-11-06 09:40:03 -05:00
Robin Malfait
5259560652
extend height values
2020-11-06 14:57:58 +01:00
Robin Malfait
7f05204ce7
add spacing 11
2020-11-06 14:57:41 +01:00
Robin Malfait
700866ce5e
add indigo, swap gray with coolGray
2020-11-06 14:34:14 +01:00
Robin Malfait
9aa633171a
sort configuration file
2020-11-06 14:30:16 +01:00
Robin Malfait
6a219f927c
add darkMode alternatives as a comment
2020-11-06 14:30:09 +01:00
Adam Wathan
11af870f30
Support extend in variants config ( #2651 )
...
* WIP
* It's alive
* Pull default variant order from config
2020-10-23 08:58:28 -04:00
Soviut
923e7af176
renamed to prose ( #2574 )
2020-10-22 09:54:43 -04:00
Adam Wathan
aea20276d5
Update default border color and placeholder color in preflight ( #2633 )
2020-10-20 22:44:03 -04:00
Adam Wathan
47026e5d9a
Add steps of 10 to opacity scale ( #2632 )
2020-10-20 22:26:57 -04:00
Adam Wathan
b92f033f8b
Disable dark mode by default, rename config option to darkMode ( #2631 )
...
* Disable dark mode by default, rename config option to `darkMode`
* Rebuild fixtures
2020-10-20 21:36:05 -04:00
Adam Wathan
ae5b3d312d
Enable focus for z-index by default
2020-10-20 21:27:15 -04:00
Adam Wathan
28985b6cd5
Enable group-hover for select utilities by default
2020-10-20 21:27:15 -04:00
Adam Wathan
edf0ba6fe4
Use fewer spacing values, better curate fractional widths per plugin
...
This saves a tremendous amount of file size and none of the stuff that is cut here is important.
2020-10-20 21:27:15 -04:00
Adam Wathan
84741776af
Remove 16ths from relative sizing scale
2020-10-20 21:27:15 -04:00
Adam Wathan
16fac7e571
Adjust font size scale: move 64px to 60px, 80px to 72px ( #2619 )
...
* Move 64px to 60px, 80px to 72px
* Update changelog
2020-10-20 08:31:50 -04:00
Adam Wathan
fd8bacd7ae
Add new color palette ( #2623 )
...
* Add new color palette
* Replace local require when scaffolding config
* Remove unused import
2020-10-19 20:18:53 -04:00
Navith
3141425c29
Fix duplicated 12 in gridTemplateColumns in the default config ( #2612 )
2020-10-19 08:12:39 -04:00
Adam Wathan
3259608813
Add 2xl breakpoint by default
2020-10-18 15:43:50 -04:00
Adam Wathan
322d366440
Extend font size scale
2020-10-18 15:43:50 -04:00
Adam Wathan
dc9d510c8a
Extend spacing scale
...
By probably too much.
2020-10-18 15:43:50 -04:00
Adam Wathan
7376d7c8b1
Enable dark mode
2020-10-18 15:43:50 -04:00
Adam Wathan
1371e7951e
Use standard font weight names by default
2020-10-18 15:43:50 -04:00
Adam Wathan
cab3545280
Apply prettier fixes to stubs
2020-10-18 15:43:50 -04:00
Adam Wathan
7d102598f9
Add line-heights to font-size utilities by default
2020-10-18 15:43:50 -04:00
Adam Wathan
31814d6edf
Remove future blocks from config stubs
2020-10-18 15:43:50 -04:00
Adam Wathan
9d40ef519c
Remove default values from config that have default values even when not present at all
2020-10-18 15:43:50 -04:00
Adam Wathan
9065404f4d
Revert "Automatically add featureFlags.future flags to the configuration files whenever the init command is ran ( #2379 )"
...
This reverts commit f72158c87f2ac1b1357d856dd79567c4329b5525.
2020-10-16 14:53:21 -04:00
Adam Wathan
3fbabc9ff4
Add SFMono-Regular to default mono font stack
2020-10-16 14:17:58 -04:00
Robbert Klarenbeek
2c6f237685
Improve font stack with standard font families
2020-10-16 14:16:06 -04:00
Adam Wathan
e897e40189
Replace special handling of 'default' with 'DEFAULT'
2020-10-16 12:53:41 -04:00