Fix inset-shadow-* suggestions in IntelliSense (#15471)

This commit is contained in:
Kid 2024-12-22 22:13:48 +08:00 • committed by GitHub
parent 36dfe1f574
commit 608b1399cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Use the correct property value for `place-content-between`, `place-content-around`, and `place-content-evenly` utilities ([#15440](https://github.com/tailwindlabs/tailwindcss/pull/15440))
- Don’t detect arbitrary properties when preceded by an escape ([#15456](https://github.com/tailwindlabs/tailwindcss/pull/15456))
- Fix incorrectly named `bg-round` and `bg-space` utilities to `bg-repeat-round` to `bg-repeat-space` ([#15462](https://github.com/tailwindlabs/tailwindcss/pull/15462))
- Fix `inset-shadow-*` suggestions in IntelliSense ([#15471](https://github.com/tailwindlabs/tailwindcss/pull/15471))
### Changed

View file

@ -4246,6 +4246,7 @@ exports[`getClassList 1`] = `
"inset-shadow-inherit/95",
"inset-shadow-inherit/100",
"inset-shadow-initial",
"inset-shadow-sm",
"inset-shadow-transparent",
"inset-shadow-transparent/0",
"inset-shadow-transparent/5",

View file

@ -4319,7 +4319,7 @@ export function createUtilities(theme: Theme) {
},
{
values: [],
valueThemeKeys: ['--shadow'],
valueThemeKeys: ['--inset-shadow'],
hasDefaultValue: true,
},
])