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
879f0887ed
Add ring-inset, always reset ring variables
2020-11-11 21:58:54 -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
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
Robin Malfait
68dbc5f981
only prefix animation names that are defined ( #2641 )
2020-10-21 17:07:13 -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
6e20880987
Use [hidden] instead of template in space/divide utilities
2020-10-21 16:01:49 -04:00
Robin Malfait
e1ef99814e
feat: prefix animation names ( #2621 )
...
* add animation value parser
* prefix animation names
2020-10-21 08:04:35 -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
e13f083c4b
Join arrays when using theme consistently
2020-10-19 11:32:22 -04:00
Twentylives
a2337e6cc8
Simplifying animation utilities generation ( #2606 )
2020-10-18 15:44:10 -04:00
Adam Wathan
998f3ffc03
Move truncate to textOverflow plugin
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
38b4eeb288
Prettier likes parens a lot now
...
git blame is now broken forever.
2020-10-16 15:39:44 -04:00
Robbert Klarenbeek
2c6f237685
Improve font stack with standard font families
2020-10-16 14:16:06 -04:00
Adam Wathan
e3ed12782f
Update prettier
2020-10-16 13:30:06 -04:00
Adam Wathan
b84049fb8e
Update animation plugin to use nameClass
2020-10-16 12:53:41 -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
Adam Wathan
83d47c0c50
Remove scrolling-touch/auto utilities ( #2573 )
...
* Remove `scrolling-touch/auto` utilities
No longer supported by iOS as of iOS 13.
* Update changelog
2020-10-15 15:53:09 -04:00
Adam Wathan
ae8244d384
Switch from normalize.css to modern-normalize
2020-10-15 15:40:10 -04:00
Adam Wathan
712fe7aeb8
Remove target feature
2020-10-15 15:21:06 -04:00
Adam Wathan
ae8b634f33
Move truncate to textOverflow ( #2562 )
...
* Move truncate to textOverflow
* Update changelog
2020-10-14 16:54:13 -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
6bb7cd4e9e
Use word-wrap and overflow-wrap since word-wrap is not supported in Chrome et al
2020-10-14 15:23:32 -04:00
Adam Wathan
ac82484dd9
Don't import corePlugins in resolveConfig ( #2548 )
2020-10-13 08:14:57 -04:00
Tim Whitbeck
d64b859715
use word-wrap instead of overflow-wrap when targeting ie11 ( #2391 )
2020-10-12 14:15:56 -04:00
Adam Wathan
003d94bea1
Support closures for colors in all circumstances ( #2536 )
2020-10-09 21:03:23 -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
f3a1d5f93c
Improve accessibility story for custom focus styles ( #2460 )
...
* Improve accessibility story for custom focus styles
* Update fixtures
* Make outline configurable, add white/black dotted outlines
* Update changelog
2020-10-08 15:48:07 -04:00
Adam Wathan
b49d80e6c1
Fix issue where container padding not applied when using object syntax ( #2353 )
2020-09-09 09:59:16 -04:00
Adam Wathan
f3660ceed3
Do atrocious things to sneak past minifiers for font-variant-numeric utilities
2020-09-05 17:36:12 -04:00
Robin Malfait
88174ff524
fix(font-variant-numeric): drop extra s ( #2318 )
...
* drop extra s
* update changelog
2020-09-04 23:53:30 +02:00
Adam Wathan
ff013c5e9c
Add missing grid alignment utilities ( #2306 )
...
* added suppot for justify-self
* Update fixtures
* Add remaining grid alignment utilities
* Update changelog
Co-authored-by: Felix Alcala <felix.alcala@gmail.com>
2020-09-04 10:54:13 -04:00
Adam Wathan
b3270a5b31
Add fontVariantNumeric utilities ( #2305 )
...
* Add fontVariantNumeric utilities
* Don't generate fontVariantNumeric utilities in IE11 target mode
2020-09-03 15:04:29 -04:00
Adam Wathan
a7e19ca131
Pass opacityValue to gradient colors for transparency support, do not pass opacityVariable since unused
2020-08-19 11:38:22 -04:00
Enzo Innocenzi
486772a82d
fix(gradientColorStops): correctly handle color closures
2020-08-18 22:35:29 +02:00