Author SHA1 Message Date
GROK b6fcc7ae00 pin light danger to Terracotta #A42D20 (src/styles/theme.generated.css)
ci / build-and-design (pull_request) Failing after 2s
2026-08-24 14:46:29 -05:00
GROK e27059bfd9 pin light danger to Terracotta #A42D20 (src/lib/tokens.json) 2026-08-24 14:46:28 -05:00
GROK aaafe073a9 Merge pull request 'Scope CommandPalette uppercase to the group heading' (#4) from fix/cmdk-heading-uppercase into main
ci / build-and-design (push) Failing after 1s
2026-08-20 17:18:53 -05:00
GROK cf06ec07ca Scope CommandPalette uppercase to the group heading
ci / build-and-design (pull_request) Failing after 1s
Fixes #2. uppercase on Command.Group was inherited by items, so labels rendered as ALL CAPS.
2026-08-20 16:59:20 -05:00
3 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -59,7 +59,16 @@ export function CommandPalette({
<Command.List className="max-h-80 overflow-auto p-2"> <Command.List className="max-h-80 overflow-auto p-2">
<Command.Empty className="py-6 text-center text-sm text-muted">No results.</Command.Empty> <Command.Empty className="py-6 text-center text-sm text-muted">No results.</Command.Empty>
{groups.map(([group, items]) => ( {groups.map(([group, items]) => (
<Command.Group key={group} heading={group} className="px-1 py-1 text-xs font-semibold uppercase tracking-wide text-muted [&_[cmdk-group-items]]:mt-1"> <Command.Group
key={group}
heading={group}
className={cn(
"px-1 py-1 [&_[cmdk-group-items]]:mt-1",
"[&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold",
"[&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wide",
"[&_[cmdk-group-heading]]:text-muted"
)}
>
{items.map((a) => ( {items.map((a) => (
<Command.Item <Command.Item
key={a.id} key={a.id}
+1 -1
View File
@@ -35,7 +35,7 @@
"successForeground": "#FFFFFF", "successForeground": "#FFFFFF",
"warning": "#7A5B00", "warning": "#7A5B00",
"warningForeground": "#FFFFFF", "warningForeground": "#FFFFFF",
"danger": "#9B3D22", "danger": "#A42D20",
"dangerForeground": "#FFFFFF", "dangerForeground": "#FFFFFF",
"info": "#366B99", "info": "#366B99",
"infoForeground": "#FFFFFF" "infoForeground": "#FFFFFF"
+1 -1
View File
@@ -35,7 +35,7 @@
--success-foreground: 0 0% 100%; --success-foreground: 0 0% 100%;
--warning: 45 100% 24%; --warning: 45 100% 24%;
--warning-foreground: 0 0% 100%; --warning-foreground: 0 0% 100%;
--danger: 13 64% 37%; --danger: 6 67% 38%;
--danger-foreground: 0 0% 100%; --danger-foreground: 0 0% 100%;
--info: 208 48% 41%; --info: 208 48% 41%;
--info-foreground: 0 0% 100%; --info-foreground: 0 0% 100%;