Skip to content

Commit

Permalink
Fix inset-shadow-* suggestions in IntelliSense (#15471)
Browse files Browse the repository at this point in the history
  • Loading branch information
kidonng authored Dec 22, 2024
1 parent 36dfe1f commit 608b139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4319,7 +4319,7 @@ export function createUtilities(theme: Theme) {
},
{
values: [],
valueThemeKeys: ['--shadow'],
valueThemeKeys: ['--inset-shadow'],
hasDefaultValue: true,
},
])
Expand Down

0 comments on commit 608b139

Please sign in to comment.