Robin Malfait
7ad9a548ef
add version and license ( #3255 )
...
* add current version & license
* generate fixtures
* update changelog
Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
2021-05-07 13:56:10 -04:00
Kevin Lang
7a295af48c
add help cursor ( #3199 )
2021-05-07 13:56:09 -04:00
Adam Wathan
ca21b4e6b4
Set explicit opacity value on placeholder pseudo-element ( #3308 )
...
Fixes #3300 .
2021-05-07 13:56:09 -04: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
b95cf5f595
Remove clearfix utility ( #2766 )
2020-11-13 22:25:23 -05:00
Adam Wathan
62a47f95b1
Properly support colors as closures with ring utilities
2020-11-13 19:41:08 -05:00
Adam Wathan
5ec45fa6c0
Remove gap fallbacks
...
Safari >= 12 or gtfo
2020-11-13 09:43:21 -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
879f0887ed
Add ring-inset, always reset ring variables
2020-11-11 21:58:54 -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
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
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
dddda8caaf
Update fixtures
2020-11-06 22:34:27 -05:00
Adam Wathan
e7d053444a
Update fixtures
2020-11-06 09:41:48 -05:00
Robin Malfait
700866ce5e
add indigo, swap gray with coolGray
2020-11-06 14:34:14 +01:00
Adam Wathan
9585ae15a3
Don't explicitly set font/line-height on body, inherit from html instead ( #2729 )
2020-11-04 10:19:11 -05:00
Adam Wathan
86132595a3
Rename flex-no-wrap to flex-nowrap ( #2676 )
2020-10-27 10:55:19 -04:00
Adam Wathan
fe0e8e92de
Rename whitespace-no-wrap to whitespace-nowrap ( #2664 )
...
* Rename whitespace-no-wrap to whitespace-nowrap
* Update changelog
* Update purge fixture
2020-10-23 15:12:42 -04:00
Soviut
923e7af176
renamed to prose ( #2574 )
2020-10-22 09:54:43 -04:00
Adam Wathan
02cba631bc
Use left/right instead of inline-start/end for space/divide utilities ( #2644 )
2020-10-21 17:05:20 -04:00
Adam Wathan
6ad5a199af
Set font on body and on html ( #2643 )
...
modern-normalize sets it on `body` so we need to defeat that.
2020-10-21 16:21:28 -04:00
Adam Wathan
cecb07824e
Use [hidden] instead of template in space/divide utilities ( #2642 )
...
* Use [hidden] instead of template in space/divide utilities
* Update tests
2020-10-21 16:09:02 -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
11ffa61e8f
Rebuild fixtures
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
ce2c24ff35
Update fixtures
2020-10-18 15:43:50 -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
9a8c170223
Remove uniformColorPalette experiment
2020-10-18 15:43:50 -04:00
Adam Wathan
7376d7c8b1
Enable dark mode
2020-10-18 15:43:50 -04:00
Adam Wathan
782a828c81
Switch to new apply implementation
2020-10-18 15:43:50 -04:00
Adam Wathan
998f3ffc03
Move truncate to textOverflow plugin
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
7d102598f9
Add line-heights to font-size utilities by default
2020-10-18 15:43:50 -04:00
Adam Wathan
4959a99f77
Remove deprecated gap utilities
2020-10-18 15:43:50 -04:00
Slava Nossar
d38c358945
Use translate3d() ( #1380 )
...
* use translate3d
* add translate3d to test fixtures
* create `transform-gpu` utility
* merge in test from master
* update tests
* add responsive variants to tests
2020-10-18 07:31:23 -04:00
Twentylives
23100317f4
Using CSS Logical Properties in space and divide layout utilities ( #1883 )
...
* CSS Logical Properties in Space Between utilities
Switching to logical properties to fix compatibilty issues with non LTR layouts.
* CSS Logical Properties in Divide Width utilities
Switching to logical properties to fix compatibilty issues with non LTR layouts.
2020-10-17 19:34:19 -04:00
Adam Wathan
fca7af76d5
Remove word-wrap fallback for IE11
2020-10-16 15:42:24 -04:00
Adam Wathan
3fbabc9ff4
Add SFMono-Regular to default mono font stack
2020-10-16 14:17:58 -04:00