Skip to content

Commit 7da136e

Browse files
committed
fix(styles): use opacity-60 for group separator text in Tailwind v4
The text-text-base/60 opacity modifier doesn't work with CSS variables in Tailwind v4. Use separate opacity-60 class instead, matching how description opacity is handled in button.tsx.
1 parent 07e83f6 commit 7da136e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { PROMPT } from './enum.js'
33
import { randomUUID as uuid } from 'node:crypto'
44

55
export let defaultGroupClassName = 'border-t-1 border-t-ui-border'
6-
export let defaultGroupNameClassName = 'font-medium text-xxs text-text-base/60 uppercase'
6+
export let defaultGroupNameClassName = 'font-medium text-xxs text-text-base opacity-60 uppercase'
77

88
/**
99
* Given an array of items, separate those with an index property from those without,

0 commit comments

Comments
 (0)