Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix formatting
  • Loading branch information
thecrypticace committed Aug 28, 2025
commit 6fce974894d2587781e347964f933d646a71fa57
2 changes: 1 addition & 1 deletion packages/tailwindcss/src/utilities.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26936,7 +26936,7 @@ describe('custom utilities', () => {
})

test('bare values with unsupported data types should result in a warning', async () => {
let spy = vi.spyOn(console, 'warn').mockImplementation(() => { })
let spy = vi.spyOn(console, 'warn').mockImplementation(() => {})
let input = css`
@utility paint-* {
paint: --value([color], color);
Expand Down
22 changes: 11 additions & 11 deletions packages/tailwindcss/src/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ interface SuggestionGroup {
type SuggestionDefinition =
| string
| {
supportsNegative?: boolean
supportsFractions?: boolean
values?: string[]
modifiers?: string[]
valueThemeKeys?: ThemeKey[]
modifierThemeKeys?: ThemeKey[]
hasDefaultValue?: boolean
}
supportsNegative?: boolean
supportsFractions?: boolean
values?: string[]
modifiers?: string[]
valueThemeKeys?: ThemeKey[]
modifierThemeKeys?: ThemeKey[]
hasDefaultValue?: boolean
}

export type UtilityOptions = {
types: string[]
Expand Down Expand Up @@ -6326,9 +6326,9 @@ function alphaReplacedDropShadowProperties(
decl(
property,
prefix +
segment(value, ',')
.map((value) => `drop-shadow(${replaceShadowColors(value, varInjector)})`)
.join(' '),
segment(value, ',')
.map((value) => `drop-shadow(${replaceShadowColors(value, varInjector)})`)
.join(' '),
),
rule('@supports (color: lab(from red l a b))', [decl(property, prefix + replacedValue)]),
]
Expand Down