master
Commits on Feb 26, 2022
-
-
-
-
-
Add text-start and text-end (#6656)
These are useful for RTL languages
Commits on Feb 25, 2022
-
-
Add support for PostCSS
Documentnodes (#7291)* Run Tailwind CSS once for each root in a postcss document * Update changelog
-
-
Only add
!to selector class matching template candidate (#7664)* Only add `!` to selector class matching template candidate Fixes #7226. Before this PR, if you had a class like: ```css .one .two { background: black } ``` ...and then used `!one` in your template, the generated CSS would be this: ```css .\!one .\!two { background: black !important } ``` This would cause the styles to not be applied unless you also added `!` to the beginning of other classes in the template that are part of this selector. This PR makes sure that other classes in the selector aren't mistakenly prefixed with `!`, so that you can add `!` to only one of the classes in your template and get the expected result. * Update CHANGELOG
-
Invalidate context when main css changes (#7626)
* Invalidate context when CSS changes * Remove invalidation count check * Add sass integration test * Update changelog
-
-
Update object-hash to version 3.0.0 (#7657)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
-
-
Use local user css cache for apply (#7524)
* Fix context reuse test * Don't update files with at-apply when content changes * Prevent at-apply directives from creating new contexts * Rework apply to use local postcss root We were storing user CSS in the context so we could use it with apply. The problem is that this CSS does not get updated on save unless it has a tailwind directive in it resulting in stale apply caches. This could result in either stale generation or errors about missing classes. * Don’t build local cache unless `@apply` is used * Update changelog
Commits on Feb 24, 2022
-
-
Replace chalk with picocolors (#6039)
* Replace chalk with picocolors Already used in latest postcss, autoprefixer and browserslist versions. See https://github.com/alexeyraspopov/picocolors * Update `dim` function Co-authored-by: Brad Cornes <bradlc41@gmail.com>
Commits on Feb 23, 2022
-
Split box shadows on top-level commas only (#7479)
* Split box shadows on top-level commas only * Update changelog
-
Preserve source maps for generated CSS (#7588)
* Preserve source maps for `@apply` * Overwrite the source for all cloned descendants * Preserve source maps when expanding defaults * Verify that source maps are correctly generated * Update changelog
Commits on Feb 22, 2022
-
Allow default ring color to be a function (#7587)
* Allow default ring color to be a function * Update changelog
Commits on Feb 21, 2022
-
Recursively collapse adjacent rules (#7565)
* Recursively collapse adjacent rules * Update changelog
-
Prevent nesting plugin from breaking other plugins (#7563)
* Prevent nesting plugin from breaking other plugins This uses a private API but it’s the only solution we have right now. It’s guarded to hopefully be less breaking if the API disappears. * Update changelog
Commits on Feb 20, 2022
Commits on Feb 17, 2022
Commits on Feb 16, 2022
-
-
-
Implement
getClassOrderinstead ofsortClassList(#7459)* implement `getSortOrder` instead of `sortClassList` * rename `getSortOrder` to `getClassOrder` * update changelog
Commits on Feb 15, 2022
-
Fix wildcard duplication issue (#7478)
This would be better as a symbol but the stringy-ness of class candidates is fairly well baked into assumptions across the codebase. Using `new String` with a well placed check seems to solve the problem.
Commits on Feb 14, 2022
-
Support arbitrary values + calc + theme with quotes (#7462)
* Support arbitrary values + calc + theme with quotes * Update changelog
-
Remove opacity variables from
:visitedpseudo class (#7458)* Support functions in pseudo variant list * Remove text/border/bg color from :visited * Update changelog
-