Skip to content

Commit

Permalink
Add appearance-auto utility (#12404)
Browse files Browse the repository at this point in the history
* Add `appearance-auto` utility

* Update CHANGELOG

---------

Co-authored-by: Adam Wathan <4323180+adamwathan@users.noreply.github.com>
  • Loading branch information
2 people authored and thecrypticace committed Dec 5, 2023
1 parent 02fb5df commit 05965b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add spacing scale to `min-w-*`, `min-h-*`, and `max-w-*` utilities ([#12300](https://github.com/tailwindlabs/tailwindcss/pull/12300))
- Add `forced-color-adjust` utilities ([#11931](https://github.com/tailwindlabs/tailwindcss/pull/11931))
- Add `forced-colors` variant ([#11694](https://github.com/tailwindlabs/tailwindcss/pull/11694))
- Add `appearance-none` utility ([#12404](https://github.com/tailwindlabs/tailwindcss/pull/12404))

## [3.3.6] - 2023-12-04

Expand Down
1 change: 1 addition & 0 deletions src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,7 @@ export let corePlugins = {
appearance: ({ addUtilities }) => {
addUtilities({
'.appearance-none': { appearance: 'none' },
'.appearance-auto': { appearance: 'auto' },
})
},

Expand Down

0 comments on commit 05965b7

Please sign in to comment.