Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

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
Update packages/tailwindcss/src/value-parser.ts
  • Loading branch information
RobinMalfait authored Oct 9, 2025
commit d8d8a61c4dfe7d2306670433c695d783fa5be6a6
6 changes: 3 additions & 3 deletions packages/tailwindcss/src/value-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ export function parse(input: string) {
break
}

// Typically for math operators they have to have spaces around them. But
// therea re situations in `theme(colors.red.500/10)` where we use `/`
// without spaces. Let's make srue this is a separate word as well.
// Typically for math operators, they have to have spaces around them. But
// there are situations in `theme(colors.red.500/10)` where we use `/`
// without spaces. Let's make sure this is a separate word as well.
case SLASH: {
// 1. Handle everything before the separator as a word
// Handle everything before the closing paren as a word
Expand Down