Suggest shadow-none (#15342)

Noticed a missing `shadow-none` completion while finally starting the
work to migrate my personal blog to Tailwind, lol.
This commit is contained in:
Philipp Spiess 2024-12-09 12:32:50 +01:00 • committed by GitHub
parent d444362d5e
commit 1566c3a17b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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",

View file

@ -4226,7 +4226,7 @@ export function createUtilities(theme: Theme) {
modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`),
},
{
values: [],
values: ['none'],
valueThemeKeys: ['--shadow'],
hasDefaultValue: true,
},