Kevin Lang
7a295af48c
add help cursor ( #3199 )
2021-05-07 13:56:09 -04:00
Andrew Brown
6af1481e93
update 'empty' position in variant order
2021-02-26 02:31:59 -06:00
Andrew
01b2ee5590
add 'empty' to variant order
2021-01-30 18:08:15 -06: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
Adam Wathan
712fe7aeb8
Remove target feature
2020-10-15 15:21:06 -04:00
Adam Wathan
ba3d4aa6b2
* Add ellipsis and no-ellipsis utilities
...
Co-authored-by: Benoît Rouleau <benoit.rouleau@icloud.com>
2020-10-14 15:34:10 -04:00
Adam Wathan
69845d6f4f
Add new utilities for grid-auto-columns and grid-auto-rows ( #2531 )
...
* Add grid-auto-columns/rows utilities
* Add responsive variants for auto-cols/rows utilities
* Update changelog
2020-10-09 13:11:57 -04:00
Adam Wathan
b4259b1f4d
Add xl, 2xl, and 3xl border radius values ( #2529 )
2020-10-09 08:23:23 -04:00
Adam Wathan
8eb938bdd2
Add smaller rotate and skew values ( #2528 )
2020-10-09 08:13:48 -04:00