Skip to content

Commit

Permalink
Suggest shadow-none (#15342)
Browse files Browse the repository at this point in the history
Noticed a missing `shadow-none` completion while finally starting the
work to migrate my personal blog to Tailwind, lol.
  • Loading branch information
philipp-spiess authored Dec 9, 2024
1 parent d444362 commit 1566c3a
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 @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fix dependency related warnings when using `@tailwindcss/postcss` on Windows ([#15321](https://github.com/tailwindlabs/tailwindcss/pull/15321))
- Skip creating a compiler for CSS files that should not be processed ([#15340](https://github.com/tailwindlabs/tailwindcss/pull/15340))
- Fix missing `shadow-none` suggestion in IntelliSense ([#15342](https://github.com/tailwindlabs/tailwindcss/pull/15342))

## [4.0.0-beta.6] - 2024-12-06

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6654,6 +6654,7 @@ exports[`getClassList 1`] = `
"shadow-inherit/95",
"shadow-inherit/100",
"shadow-initial",
"shadow-none",
"shadow-transparent",
"shadow-transparent/0",
"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 @@ -4226,7 +4226,7 @@ export function createUtilities(theme: Theme) {
modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`),
},
{
values: [],
values: ['none'],
valueThemeKeys: ['--shadow'],
hasDefaultValue: true,
},
Expand Down

0 comments on commit 1566c3a

Please sign in to comment.