Skip to content

Commit 1566c3a

Browse files
Suggest shadow-none (#15342)
Noticed a missing `shadow-none` completion while finally starting the work to migrate my personal blog to Tailwind, lol.
1 parent d444362 commit 1566c3a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

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

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

packages/tailwindcss/src/__snapshots__/intellisense.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6654,6 +6654,7 @@ exports[`getClassList 1`] = `
66546654
"shadow-inherit/95",
66556655
"shadow-inherit/100",
66566656
"shadow-initial",
6657+
"shadow-none",
66576658
"shadow-transparent",
66586659
"shadow-transparent/0",
66596660
"shadow-transparent/5",

packages/tailwindcss/src/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4226,7 +4226,7 @@ export function createUtilities(theme: Theme) {
42264226
modifiers: Array.from({ length: 21 }, (_, index) => `${index * 5}`),
42274227
},
42284228
{
4229-
values: [],
4229+
values: ['none'],
42304230
valueThemeKeys: ['--shadow'],
42314231
hasDefaultValue: true,
42324232
},

0 commit comments

Comments
 (0)