Skip to content

Commit

Permalink
add appearance-auto utility
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Dec 21, 2023
1 parent 3b770bc commit a258e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/default-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ export function getDefaultConfig() {
* Appearance
* @see https://tailwindcss.com/docs/appearance
*/
appearance: ['appearance-none'],
appearance: [{ appearance: ['none', 'auto'] }],
/**
* Cursor
* @see https://tailwindcss.com/docs/cursor
Expand Down
1 change: 1 addition & 0 deletions tests/tailwind-css-versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ test('supports Tailwind CSS v3.4 features', () => {
expect(twMerge('forced-color-adjust-none forced-color-adjust-auto')).toBe(
'forced-color-adjust-auto',
)
expect(twMerge('appearance-none appearance-auto')).toBe('appearance-auto')
})

0 comments on commit a258e10

Please sign in to comment.