Adam Wathan
a4b30a0115
Safeguard against trailing slash in purge matches ( #2364 )
2020-09-10 14:44:48 -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
e5c193a76c
Make resolveConfig compatible with feature flag configs ( #2347 )
...
* Make resolveConfig compatible with feature flag configs
* Update changelog
2020-09-07 19:56:35 -04:00
Adam Wathan
ac36e8d6a0
Remove extra space character
2020-09-07 14:33:19 -04:00
Adam Wathan
cfd86836c5
Make standardFontWeights experimental until v1.9, update changelog
2020-09-06 20:43:36 -04:00
Robin Malfait
3a25c4bee9
Complex apply stuck ( #2271 )
...
* dry-up duplication
* fix: apply inside a nested structure
2020-09-06 20:36:09 -04:00
Adam Wathan
0cf76cdd8b
Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant ( #2337 )
...
* Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant
* Update changelog
2020-09-06 20:34:35 -04:00
Adam Wathan
30a4e513ef
Rename hairline and thin font weights to thin and extralight ( #2333 )
...
* Add standardFontWeights flag for update thin/extralight font weight names
* Update changelog
2020-09-06 07:06:58 -04:00
Adam Wathan
45cf3c595e
Fix issue where inserting extra PurgeCSS control comments could break integrated PurgeCSS support ( #2331 )
2020-09-05 23:35:16 -04:00
Adam Wathan
58781b517d
Only warn about conservative purge mode once per process
2020-09-05 17:41:05 -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
Adam Wathan
02eb6a695c
Fix issue where dark mode experiment won't work if user has plugins array in config ( #2322 )
2020-09-04 19:58:02 -04:00
Robin Malfait
4c4c5a3834
Fix purging in 1.8 ( #2320 )
...
* re-add missing `@layer`'s for responsive rules
* use toMatchCss for better diffing
* do not wrap user `@responsive` rules in an `@layer`
2020-09-04 18:36:50 -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
09bd7d43f4
Move custom CSS within layers to corresponding Tailwind layer ( #2312 )
...
* Move custom CSS within layers to corresponding Tailwind layer
* Update changelog
2020-09-04 14:21:56 -04:00
Adam Wathan
476950ce40
Support defining variants as functions for easier extending ( #2309 )
...
* Support defining variants as functions for easier extending
* Fix style
* Remove commented code
* Add 'without' helper to variant function API
* Update changelog
2020-09-04 10:59:02 -04: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
d44e75fc79
Purge layers by default, deprecate conservative mode ( #2288 )
...
* Purge `layers` by default, deprecate `conservative` mode
* Ensure base styles are wrapped in @layer
* Update processPlugins test
2020-09-02 14:42:27 -04:00
Adam Wathan
956133a7a4
Don't associate custom CSS with a layer by default
2020-09-02 13:57:44 -04:00
Adam Wathan
aae71c5249
Preserve HTML elements by default when purging unused styles ( #2283 )
2020-09-01 16:20:16 -04:00
Adam Wathan
5701d7847b
Add dark mode variant ( #2279 )
...
* Initial dark mode prototype
* Isolate dark mode logic to config extension
* Update fixtures
* Fix lint warnings
2020-09-01 13:16:00 -04:00
Adam Wathan
44dbde8ea6
Don't return when updating declaration important
2020-08-28 08:49:33 -04:00
Keunbae Park
15bcb8bf18
fix missing return
2020-08-27 13:05:06 -04:00
Adam Wathan
1bc2fed3bd
Tweak help text
2020-08-22 08:40:24 -04:00
Adam Wathan
ed3edf9129
Merge pull request #2225 from tailwindlabs/add-postcss-init-option
...
add tailwind -p init option to generate a postcss file
2020-08-22 08:38:35 -04:00
Adam Wathan
634a0e6a5f
Merge pull request #2211 from tailwindlabs/apply-to-rule-with-multiple-selectors
...
Fix issue where couldn't apply variant classes to rule with multiple selectors
2020-08-22 08:36:44 -04:00
Robin Malfait
939346d8b3
add tailwind -p init option to generate a postcss file
2020-08-22 01:43:47 +02:00
Robin Malfait
c79b0b936f
Merge pull request #2224 from tailwindlabs/fix-multiline-apply
...
Fix multiline @apply values
2020-08-22 00:23:36 +02:00
Robin Malfait
3bf6348523
split @apply values by spaces, tabs and newlines
...
Fixes : #2222
2020-08-22 00:09:46 +02:00
Adam Wathan
3839c74312
Remove unused import
2020-08-20 16:31:25 -04:00
Adam Wathan
86288cd90b
Fix issue where couldn't apply variant classes to rule with multiple selectors
2020-08-20 16:29:07 -04:00
Joe Mooring
5362c65fcb
Log to stderr instead of stdout
...
Fixes #2203
2020-08-20 09:37:22 -04:00
Adam Wathan
b17b51811f
Remove unused function
2020-08-19 13:34:21 -04:00
Adam Wathan
b3db1053b5
Don't log anything for people who have opted in to future features
2020-08-19 13:28:04 -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
Adam Wathan
28930f4799
Merge branch 'fix/color-object-closures' of git://github.com/innocenzi/tailwindcss into innocenzi-fix/color-object-closures
2020-08-19 11:25:13 -04:00
Adam Wathan
2d090feb98
Only log purge notice once per process
2020-08-19 10:56:51 -04:00
Adam Wathan
ef149cfafb
Optimize rebuilds in long-running processes
2020-08-19 10:21:26 -04:00
Adam Wathan
4228cf22be
Don't issue duplicate flag notices in long running processes
2020-08-18 21:14:10 -04:00
Enzo Innocenzi
486772a82d
fix(gradientColorStops): correctly handle color closures
2020-08-18 22:35:29 +02:00
Enzo Innocenzi
0206d060e5
fix(colors): correctly flatten color closures
2020-08-18 22:35:10 +02:00
Adam Wathan
092009b508
Simplify flag logging
2020-08-18 13:23:08 -04:00
Adam Wathan
f32ae238ef
Merge branch 'master' of github.com:tailwindlabs/tailwindcss
2020-08-18 09:06:35 -04:00
Adam Wathan
fdf468998f
Fix issue where motion variants incorrectly stack with group-hover variants
2020-08-18 09:03:32 -04:00
Robin Malfait
33ee64665d
cache className resolve
2020-08-18 08:21:33 -04:00
Robin Malfait
fe70c89718
use append instead of prepend
...
Same idea, but prepend will internally reverse all nodes.
2020-08-18 08:21:33 -04:00
Robin Malfait
e417da262e
cache clone rule
...
Otherwise every time we read this value it will be re-cloned
2020-08-18 08:21:33 -04:00
Robin Malfait
5260c71c60
only parse the className when needed
2020-08-18 08:21:33 -04:00
Robin Malfait
8ae2a32a0c
hoist selectorParser setup code
...
No need to re-create the selectorParser in every call.
2020-08-18 08:21:33 -04:00