forge
Explore
Log in

Don't you dare go Hollow

🎨 Coolors light steel palette, graphite accent, simplified tokens

Browse files at this commit

68f403d74d575d4bfb8ff4e2c1bf323e34b9d621Burak BoduroğluParent: 365345d
  • refactor
    • 🎨 Coolors light steel palette, graphite accent, simplified tokens
Show full message
refactor(ui): 🎨 Coolors light steel palette, graphite accent, simplified tokens
- switch light palette from iOS neutrals to Coolors light steel (#F8F9FA→#212529)
- invert same scale for dark mode (graphite shades, no separate dark design)
- replace orange brand accent with graphite (#343A40), remove colored tab lines
- simplify button variants: filled default, no hover translate/scale, no dark overrides
- strip dark-specific color overrides from components (handled by CSS vars)
- update doc to reflect new direction: neutral, opaque surfaces, restrained elevation
docs/ui/ui-redesign-tokens.mdmodified+15 -31
@@ -3,40 +3,24 @@
33 ## Direction
44
55 Dense school admin UI with Apple HIG-inspired grouped surfaces: neutral grouped
6-backgrounds, subtle borders, translucent overlays, one blue accent for
7-interactive chrome only. Surfaces stay neutral; color is reserved for the blue
8-accent, dashboard charts (see "Charts" below), and semantic status (success /
9-warning / danger / info).
6+backgrounds, subtle borders, restrained elevation, and one graphite accent for
7+interactive chrome. Translucency stays limited to functional layers such as
8+headers and popovers; content surfaces remain opaque and easy to scan.
109
1110 ## Color
1211
13-Light palette is defined in `src/index.css` as `--ui-*` variables:
14-
15-- `--ui-bg`: `240 5% 96%`
16-- `--ui-surface-1`: `0 0% 100%`
17-- `--ui-surface-2`: `240 5% 92%`
18-- `--ui-surface-3`: `240 5% 88%`
19-- `--ui-border-1`: `240 5% 86%`
20-- `--ui-border-2`: `240 4% 78%`
21-- `--ui-text-1`: `240 10% 9%`
22-- `--ui-text-2`: `240 5% 35%`
23-- `--ui-text-3`: `240 4% 52%`
24-- `--ui-accent`: Apple system blue (`211 100% 50%`)
25-- semantic colors: success, warning, danger, info, each with muted pair
26-
27-Dark palette follows dark.design aesthetics (deep obsidian canvas, `#121318` card surfaces, crisp hairline borders, electric dark accent):
28-
29-- `--ui-bg`: `240 10% 3.9%` (`#09090b` canvas)
30-- `--ui-surface-1`: `240 6% 7.5%` (`#121318` card surface)
31-- `--ui-surface-2`: `240 6% 11.5%` (`#1b1c24` muted container / input)
32-- `--ui-surface-3`: `240 5% 15.5%` (`#242531` elevated popover)
33-- `--ui-border-1`: `240 5% 15%` (`#24252d` razor-sharp 1px border)
34-- `--ui-border-2`: `240 4% 22%` (`#343644` active border)
35-- `--ui-text-1`: `0 0% 98%` (`#fafafa` crisp heading text)
36-- `--ui-text-2`: `240 5% 68%` (`#a1a1aa` secondary body text)
37-- `--ui-text-3`: `240 4% 48%` (`#71717a` subtle label text)
38-- `--ui-accent`: Electric dark blue (`217 91% 60%`)
39-- semantic colors: luminous emerald, amber, rose, cyan
12+Core palette: [Coolors light steel](https://coolors.co/palette/f8f9fa-e9ecef-dee2e6-ced4da-adb5bd-6c757d-495057-343a40-212529).
13+
14+- Canvas: `#E9ECEF`; cards and popovers: `#F8F9FA`
15+- Muted layers: `#DEE2E6`, `#CED4DA`; borders: `#CED4DA`, `#ADB5BD`
16+- Text: `#212529`, secondary `#495057`, tertiary `#6C757D`
17+- Primary actions: `#343A40` with `#F8F9FA` text
18+- Dark mode reverses the same scale from `#212529` canvas to `#F8F9FA` text
19+- Success, warning, danger, and info keep semantic colors because color carries state
20+
21+Body text pairs exceed WCAG AA; `#6C757D` is limited to tertiary metadata and
22+nonessential labels. Shadows use low-opacity `#212529`, two layers at most, and
23+appear only where elevation communicates hierarchy or interaction.
4024
4125 Existing shadcn tokens (`--background`, `--card`, `--primary`, etc.) are mapped
4226 to these `--ui-*` variables so existing components keep working seamlessly.
src/components/layout/app-shell.tsxmodified+3 -3
@@ -53,7 +53,7 @@ export function AppShell(props: ParentProps) {
5353 <Show when={auth.user() && !fullScreen()}>
5454 <aside
5555 class={cn(
56- "sticky top-0 z-30 hidden h-screen shrink-0 border-r border-black/6 bg-sidebar/95 text-sidebar-foreground backdrop-blur-md transition-[width] duration-200 ease-out dark:border-white/8 dark:bg-[#070707] dark:text-white lg:flex lg:flex-col",
56+ "sticky top-0 z-30 hidden h-screen shrink-0 border-r border-border bg-sidebar/95 text-sidebar-foreground shadow-sm backdrop-blur-md transition-[width] duration-200 ease-out lg:flex lg:flex-col",
5757 collapsed() ? SIDEBAR_COLLAPSED : SIDEBAR_EXPANDED,
5858 )}
5959 >
@@ -104,7 +104,7 @@ export function AppShell(props: ParentProps) {
104104 aria-label={t("nav.close")}
105105 onClick={() => setMobileOpen(false)}
106106 />
107- <aside class="absolute inset-y-0 left-0 flex w-60 max-w-[85vw] flex-col border-r border-black/8 bg-sidebar/95 text-sidebar-foreground shadow-apple backdrop-blur-xl dark:border-white/8 dark:bg-[#070707] dark:text-white">
107+ <aside class="absolute inset-y-0 left-0 flex w-60 max-w-[85vw] flex-col border-r border-border bg-sidebar/95 text-sidebar-foreground shadow-apple backdrop-blur-xl">
108108 <div class="flex h-14 shrink-0 items-center justify-between gap-2 border-b border-black/5 px-3 dark:border-white/8">
109109 <Link to="/" class="flex min-w-0 items-center gap-2.5" onClick={() => setMobileOpen(false)}>
110110 <span class="flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-primary text-xs font-bold text-primary-foreground shadow-apple">H</span>
@@ -169,7 +169,7 @@ export function AppShell(props: ParentProps) {
169169 <NotificationCenter />
170170 <button
171171 type="button"
172- class="topbar-ai-control hidden h-9 shrink-0 items-center justify-center gap-2 rounded-xl px-3 text-xs font-semibold outline-hidden hover:-translate-y-0.5 focus-visible:ring-2 focus-visible:ring-orange-400 active:translate-y-0 sm:flex"
172+ class="topbar-ai-control hidden h-9 shrink-0 items-center justify-center gap-2 rounded-xl px-3 text-xs font-semibold outline-hidden focus-visible:ring-2 focus-visible:ring-ring active:scale-[0.98] sm:flex"
173173 onClick={() => setCelebiOpen(true)}
174174 >
175175 <IconSparkles class="h-4 w-4" />
src/components/layout/sidebar-account.tsxmodified+1 -1
@@ -70,7 +70,7 @@ export function SidebarAccount(props: { collapsed?: boolean; onLogout: () => voi
7070 </Show>
7171 </DropdownMenuTrigger>
7272
73- <DropdownMenuContent class="w-72 rounded-xl p-0 shadow-apple dark:border-white/10 dark:bg-[#151515] dark:text-white">
73+ <DropdownMenuContent class="w-72 rounded-xl border-border bg-popover p-0 text-popover-foreground shadow-apple">
7474 <DropdownMenuItem class="m-1.5 gap-2.5 rounded-xl bg-muted/70 p-2.5 focus:bg-muted data-highlighted:bg-muted dark:bg-white/8 dark:focus:bg-white/10 dark:data-highlighted:bg-white/10" onSelect={() => setProfileOpen(true)}>
7575 <span class="flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/15 text-sm font-bold text-primary dark:bg-emerald-100 dark:text-emerald-950">
7676 {initials(name())}
src/components/ui/button.tsxmodified+6 -6
@@ -4,19 +4,19 @@ import { type ComponentProps, type ValidComponent, splitProps } from "solid-js";
44 import { cn } from "@/lib/cn";
55
66 export const buttonVariants = cva(
7- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-semibold transition-all duration-200 ease-out focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 hover:-translate-y-0.5 hover:scale-[1.015] active:translate-y-0 active:scale-[0.97] active:opacity-90",
7+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-semibold transition-[color,background-color,border-color,box-shadow,transform] duration-150 ease-out focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 active:scale-[0.98]",
88 {
99 variants: {
1010 variant: {
1111 default:
12- "border border-primary/40 bg-primary/15 text-primary ring-1 ring-primary/25 shadow-2xs hover:bg-primary/25 hover:border-primary/60 hover:ring-primary/40 dark:bg-primary/20 dark:text-foreground dark:hover:bg-primary/30",
12+ "border border-primary bg-primary text-primary-foreground shadow-sm hover:bg-primary/90 hover:shadow-md",
1313 destructive:
1414 "border border-destructive/40 bg-destructive/15 text-destructive ring-1 ring-destructive/25 shadow-2xs hover:bg-destructive/25 hover:border-destructive/60 hover:ring-destructive/40 dark:bg-destructive/20 dark:text-destructive-foreground dark:hover:bg-destructive/30",
1515 outline:
16- "border border-black/8 dark:border-indigo-500/30 bg-background/80 shadow-2xs hover:bg-secondary hover:text-foreground hover:border-black/20 dark:hover:border-indigo-400/60 dark:hover:ring-1 dark:hover:ring-indigo-400/30",
17- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:hover:bg-secondary/90",
18- ghost: "hover:bg-secondary/80 hover:text-foreground dark:hover:bg-white/8",
19- link: "text-primary underline-offset-4 hover:underline hover:translate-y-0 hover:scale-100",
16+ "border border-border bg-card text-foreground shadow-xs hover:border-border/80 hover:bg-secondary",
17+ secondary: "border border-border/70 bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/75",
18+ ghost: "hover:bg-secondary/80 hover:text-foreground",
19+ link: "text-primary underline-offset-4 hover:underline active:scale-100",
2020 },
2121 size: {
2222 default: "h-11 px-4 py-2",
src/components/ui/data-table.tsxmodified+3 -3
@@ -154,7 +154,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData,
154154 };
155155
156156 return (
157- <div class={cn("overflow-hidden rounded-xl border border-border/70 bg-card shadow-none dark:border-white/10 dark:bg-[#111111]", props.class)}>
157+ <div class={cn("overflow-hidden rounded-xl border border-border/80 bg-card shadow-xs", props.class)}>
158158 <Show when={showHeader() || showToolbar()}>
159159 <div class="space-y-3 border-b border-border/70 bg-muted/15 p-3 dark:border-white/10 dark:bg-white/3 sm:p-4">
160160 <Show when={showHeader()}>
@@ -176,7 +176,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData,
176176 <div class="flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center">
177177 <Show when={showSearch()}>
178178 <Input
179- class="h-9 max-w-sm rounded-lg border-transparent bg-muted/70 text-sm shadow-none focus-visible:ring-1 dark:bg-[#222222] dark:text-white dark:placeholder:text-white/40"
179+ class="h-9 max-w-sm rounded-lg border-border/80 bg-card text-sm shadow-xs focus-visible:ring-1"
180180 value={props.onSearchInput || props.searchPredicate ? searchValue() : ((props.filterColumn ? table.getColumn(props.filterColumn)?.getFilterValue() : "") as string) ?? ""}
181181 placeholder={props.filterPlaceholder ?? t("common.searchPlaceholder")}
182182 onInput={(event) => {
@@ -192,7 +192,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData,
192192 </Show>
193193 <Show when={showColumnMenu()}>
194194 <DropdownMenu placement="bottom-end" gutter={6}>
195- <DropdownMenuTrigger class="ml-auto inline-flex h-9 items-center justify-center gap-2 whitespace-nowrap rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-semibold shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring dark:border-white/8 dark:bg-[#222222] dark:text-white dark:hover:bg-white/12">
195+ <DropdownMenuTrigger class="ml-auto inline-flex h-9 items-center justify-center gap-2 whitespace-nowrap rounded-lg border border-border/80 bg-card px-3 text-sm font-semibold shadow-xs transition-all hover:bg-muted active:scale-[0.98] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring">
196196 {t("common.columns")}
197197 <IconChevronDown class="h-3.5 w-3.5 opacity-60" />
198198 </DropdownMenuTrigger>
src/components/ui/select.tsxmodified+1 -1
@@ -34,7 +34,7 @@ export function DropdownSelect<T extends string | number = string>(props: Dropdo
3434 <DropdownMenuTrigger
3535 disabled={props.disabled}
3636 class={cn(
37- "inline-flex h-9 items-center justify-between gap-2.5 rounded-lg border border-border/70 bg-muted/70 px-3 text-sm font-medium text-foreground shadow-none transition-all hover:bg-muted active:scale-[0.97] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 dark:border-white/8 dark:bg-[#222222] dark:text-white dark:hover:bg-white/12",
37+ "inline-flex h-9 items-center justify-between gap-2.5 rounded-lg border border-border/80 bg-card px-3 text-sm font-medium text-foreground shadow-xs transition-all hover:bg-muted active:scale-[0.98] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
3838 props.triggerClass,
3939 props.class,
4040 )}
src/components/ui/tabs.tsxmodified+4 -5
@@ -12,7 +12,7 @@ export function TabsList<T extends ValidComponent = "div">(
1212 return (
1313 <TabsPrimitive.List
1414 class={cn(
15- "sticky top-2 z-20 flex w-full max-w-full items-center gap-1.5 overflow-x-auto rounded-2xl border border-border/80 bg-muted/70 p-1.5 text-muted-foreground shadow-inner backdrop-blur-xl dark:border-white/10 dark:bg-muted/40 sm:static",
15+ "sticky top-2 z-20 flex w-full max-w-full items-center gap-1.5 overflow-x-auto rounded-2xl border border-border/80 bg-muted/80 p-1.5 text-muted-foreground shadow-inner backdrop-blur-xl sm:static",
1616 local.class,
1717 )}
1818 {...rest}
@@ -27,8 +27,7 @@ export function TabsTrigger<T extends ValidComponent = "button">(
2727 return (
2828 <TabsPrimitive.Trigger
2929 class={cn(
30- "group relative inline-flex h-10 min-w-28 shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-xl border border-transparent px-4 text-sm font-semibold text-muted-foreground/75 transition-all duration-200 hover:bg-background/30 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-selected:bg-card data-selected:text-foreground data-selected:shadow-md data-selected:ring-1 data-selected:ring-border/80 dark:data-selected:bg-card dark:data-selected:ring-1 dark:data-selected:ring-white/20 dark:data-selected:shadow-[0_0_16px_rgba(255,255,255,0.08)]",
31- "first:tab-line-rose nth-2:tab-line-blue nth-3:tab-line-emerald nth-4:tab-line-violet nth-5:tab-line-amber nth-6:tab-line-cyan",
30+ "group relative inline-flex h-10 min-w-28 shrink-0 items-center justify-center gap-2 whitespace-nowrap rounded-xl border border-transparent px-4 text-sm font-semibold text-muted-foreground transition-all duration-150 hover:bg-card/60 hover:text-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-selected:border-border/80 data-selected:bg-card data-selected:text-foreground data-selected:shadow-sm",
3231 local.class,
3332 )}
3433 {...rest}
@@ -36,7 +35,7 @@ export function TabsTrigger<T extends ValidComponent = "button">(
3635 <span class="relative z-10 inline-flex items-center gap-2 text-muted-foreground/75 transition-colors duration-200 group-data-selected:text-foreground">
3736 {local.children}
3837 </span>
39- <span class="tab-indicator-line absolute bottom-0.5 left-3.5 right-3.5 h-0.5 origin-center scale-x-0 rounded-full opacity-0 transition-all duration-300 ease-out group-data-selected:scale-x-100 group-data-selected:opacity-100" />
38+ <span class="absolute bottom-0.5 left-3.5 right-3.5 h-0.5 origin-center scale-x-0 rounded-full bg-primary opacity-0 transition-all duration-200 ease-out group-data-selected:scale-x-100 group-data-selected:opacity-100" />
4039 </TabsPrimitive.Trigger>
4140 );
4241 }
@@ -47,7 +46,7 @@ export function TabsContent<T extends ValidComponent = "div">(
4746 const [local, rest] = splitProps(props as ComponentProps<typeof TabsPrimitive.Content>, ["class"]);
4847 return (
4948 <TabsPrimitive.Content
50- class={cn("mt-3 hidden rounded-2xl border border-border/80 bg-card p-4 shadow-xs outline-hidden data-selected:block focus-visible:ring-2 focus-visible:ring-ring dark:border-white/8", local.class)}
49+ class={cn("mt-3 hidden rounded-2xl border border-border/80 bg-card p-4 shadow-xs outline-hidden data-selected:block focus-visible:ring-2 focus-visible:ring-ring", local.class)}
5150 {...rest}
5251 />
5352 );
src/index.cssmodified+56 -118
@@ -64,11 +64,12 @@
6464 --radius-md: calc(var(--radius) - 4px);
6565 --radius-sm: calc(var(--radius) - 8px);
6666
67- --shadow-soft: 0 8px 30px hsl(0 0% 0% / 0.04);
67+ --shadow-soft:
68+ 0 1px 2px rgba(33, 37, 41, 0.05), 0 10px 30px -16px rgba(33, 37, 41, 0.16);
6869 --shadow-apple:
69- 0 4px 24px -2px rgba(0, 0, 0, 0.04), 0 2px 8px -2px rgba(0, 0, 0, 0.02);
70+ 0 1px 2px rgba(33, 37, 41, 0.06), 0 10px 28px -14px rgba(33, 37, 41, 0.18);
7071 --shadow-apple-hover:
71- 0 12px 36px -4px rgba(0, 0, 0, 0.08), 0 4px 14px -2px rgba(0, 0, 0, 0.04);
72+ 0 2px 4px rgba(33, 37, 41, 0.07), 0 16px 40px -16px rgba(33, 37, 41, 0.22);
7273
7374 --animate-fade-up: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
7475 --animate-accordion-down: accordion-down 0.25s cubic-bezier(0.16, 1, 0.3, 1);
@@ -128,24 +129,23 @@
128129 }
129130
130131 @utility glass-header {
131- /* Dark Design Frosted Glass & Elevated Surfaces */
132- @apply sticky top-0 z-20 backdrop-blur-xl bg-background/80 border-b border-[#F2F2F3] dark:border-white/8 dark:shadow-[0_4px_20px_rgba(0,0,0,0.4)];
132+ @apply sticky top-0 z-20 border-b border-border/80 bg-background/85 shadow-xs backdrop-blur-xl;
133133 }
134134
135135 @utility glass-panel {
136- @apply backdrop-blur-xl bg-card/75 border border-[#F2F2F3] dark:border-white/8 shadow-[0_8px_30px_rgb(0,0,0,0.04)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_12px_36px_rgba(0,0,0,0.6)];
136+ @apply border border-border/80 bg-card/90 shadow-apple backdrop-blur-xl;
137137 }
138138
139139 @utility apple-card {
140- @apply rounded-2xl bg-card border border-[#F2F2F3] dark:border-white/8 p-5 shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)] transition-all duration-200 dark:hover:border-white/20;
140+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-apple transition-[border-color,box-shadow] duration-200 hover:border-border;
141141 }
142142
143143 @utility surface-card {
144- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card text-card-foreground shadow-[0_2px_12px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_6px_24px_rgba(0,0,0,0.4)] transition-all duration-200;
144+ @apply rounded-2xl border border-border/80 bg-card text-card-foreground shadow-xs transition-[border-color,box-shadow] duration-200;
145145 }
146146
147147 @utility stat-tile {
148- @apply surface-card relative overflow-hidden p-5 transition-all duration-200 hover:shadow-[0_8px_24px_rgb(0,0,0,0.06)] hover:border-primary/30 dark:hover:shadow-[0_0_24px_rgba(59,130,246,0.15)] dark:hover:border-primary/50 active:scale-[0.985];
148+ @apply surface-card relative overflow-hidden p-5 hover:border-border hover:shadow-apple-hover active:scale-[0.985];
149149 }
150150
151151 @utility focus-ring {
@@ -153,26 +153,26 @@
153153 }
154154
155155 @utility topbar-control {
156- @apply border border-black/12 bg-card text-muted-foreground shadow-xs transition-colors hover:border-black/25 hover:bg-muted hover:text-foreground dark:border-white/16 dark:bg-[#141414] dark:hover:border-white/28 dark:hover:bg-white/8;
156+ @apply border border-border/90 bg-card/90 text-muted-foreground shadow-xs transition-colors hover:border-border hover:bg-muted hover:text-foreground;
157157 }
158158
159159 @utility topbar-ai-control {
160- @apply border border-orange-400/70 bg-orange-50 text-orange-700 shadow-[0_2px_10px_rgba(249,115,22,0.18)] transition-all hover:border-orange-500 hover:bg-orange-100 hover:text-orange-800 dark:border-orange-400/60 dark:bg-orange-500/14 dark:text-orange-300 dark:hover:border-orange-300 dark:hover:bg-orange-500/22;
160+ @apply border border-primary bg-primary text-primary-foreground shadow-sm transition-[background-color,box-shadow,transform] hover:bg-primary/90 hover:shadow-md;
161161 }
162162
163163 @utility data-shell {
164- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card shadow-[0_4px_20px_rgb(0,0,0,0.03)] dark:shadow-[inset_0_1px_0_0_rgba(255,255,255,0.06),0_8px_32px_rgba(0,0,0,0.5)];
164+ @apply rounded-2xl border border-border/80 bg-card shadow-xs;
165165 }
166166
167167 @utility data-table-wrap {
168- @apply max-h-[65vh] overflow-auto rounded-xl border border-border/70 bg-card shadow-none dark:border-white/10 dark:bg-[#111111];
168+ @apply max-h-[65vh] overflow-auto rounded-xl border border-border/80 bg-card shadow-none;
169169 }
170170
171171 @utility data-table {
172172 @apply w-full caption-bottom text-sm;
173173
174174 & thead {
175- @apply sticky top-0 z-10 border-b border-border/70 bg-muted/45 text-muted-foreground dark:border-white/10 dark:bg-[#1a1a1a] dark:text-white/65;
175+ @apply sticky top-0 z-10 border-b border-border/80 bg-muted/55 text-muted-foreground;
176176 }
177177
178178 & th {
@@ -196,11 +196,11 @@
196196 }
197197
198198 [data-kb-theme='dark'] & tbody tr:nth-child(even) {
199- background-color: #151515;
199+ background-color: hsl(var(--muted) / 0.35);
200200 }
201201
202202 [data-kb-theme='dark'] & tbody tr:hover:nth-child(even) {
203- background-color: rgb(255 255 255 / 0.06);
203+ background-color: hsl(var(--muted) / 0.65);
204204 }
205205 }
206206
@@ -213,7 +213,7 @@
213213 }
214214
215215 @utility detail-action-group {
216- @apply flex w-full flex-wrap items-center gap-1.5 rounded-xl border border-[#F2F2F3] dark:border-white/8 bg-card p-1.5 shadow-xs sm:w-auto;
216+ @apply flex w-full flex-wrap items-center gap-1.5 rounded-xl border border-border/80 bg-card p-1.5 shadow-xs sm:w-auto;
217217 }
218218
219219 @utility detail-action-divider {
@@ -228,63 +228,6 @@
228228 @apply rounded-xl border border-border/60 bg-muted/20 px-3 py-2 text-sm text-muted-foreground;
229229 }
230230
231-@utility tab-line-rose {
232- & .tab-indicator-line {
233- @apply bg-rose-500 shadow-[0_0_10px_rgba(244,63,94,0.6)];
234- }
235-}
236-
237-@utility tab-indicator-line {
238- .tab-line-rose & {
239- @apply bg-rose-500 shadow-[0_0_10px_rgba(244,63,94,0.6)];
240- }
241- .tab-line-blue & {
242- @apply bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.6)];
243- }
244- .tab-line-emerald & {
245- @apply bg-emerald-500 shadow-[0_0_10px_rgba(16,185,129,0.6)];
246- }
247- .tab-line-violet & {
248- @apply bg-violet-500 shadow-[0_0_10px_rgba(139,92,246,0.6)];
249- }
250- .tab-line-amber & {
251- @apply bg-amber-500 shadow-[0_0_10px_rgba(245,158,11,0.6)];
252- }
253- .tab-line-cyan & {
254- @apply bg-cyan-500 shadow-[0_0_10px_rgba(6,182,212,0.6)];
255- }
256-}
257-
258-@utility tab-line-blue {
259- & .tab-indicator-line {
260- @apply bg-blue-500 shadow-[0_0_10px_rgba(59,130,246,0.6)];
261- }
262-}
263-
264-@utility tab-line-emerald {
265- & .tab-indicator-line {
266- @apply bg-emerald-500 shadow-[0_0_10px_rgba(16,185,129,0.6)];
267- }
268-}
269-
270-@utility tab-line-violet {
271- & .tab-indicator-line {
272- @apply bg-violet-500 shadow-[0_0_10px_rgba(139,92,246,0.6)];
273- }
274-}
275-
276-@utility tab-line-amber {
277- & .tab-indicator-line {
278- @apply bg-amber-500 shadow-[0_0_10px_rgba(245,158,11,0.6)];
279- }
280-}
281-
282-@utility tab-line-cyan {
283- & .tab-indicator-line {
284- @apply bg-cyan-500 shadow-[0_0_10px_rgba(6,182,212,0.6)];
285- }
286-}
287-
288231 @utility detail-metric-card {
289232 @apply rounded-xl border border-black/5 bg-transparent px-4 py-4 shadow-xs dark:border-white/6;
290233 }
@@ -295,19 +238,19 @@
295238 }
296239
297240 & form > .space-y-3 {
298- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
241+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
299242 }
300243
301244 & form > .space-y-4 {
302- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
245+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
303246 }
304247
305248 & form > .space-y-1\.5 {
306- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
249+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
307250 }
308251
309252 & form > .grid {
310- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
253+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
311254 }
312255
313256 & label {
@@ -345,25 +288,25 @@
345288
346289 @utility space-y-3 {
347290 .side-panel-body form > & {
348- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
291+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
349292 }
350293 }
351294
352295 @utility space-y-4 {
353296 .side-panel-body form > & {
354- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
297+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
355298 }
356299 }
357300
358301 @utility space-y-1.5 {
359302 .side-panel-body form > & {
360- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
303+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
361304 }
362305 }
363306
364307 @utility grid {
365308 .side-panel-body form > & {
366- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-5 shadow-xs;
309+ @apply rounded-2xl border border-border/80 bg-card p-5 shadow-xs;
367310 }
368311 }
369312
@@ -404,11 +347,11 @@
404347 }
405348
406349 @utility hig-grouped-card {
407- @apply rounded-2xl border border-[#F2F2F3] dark:border-white/8 bg-card p-4 sm:p-5 shadow-apple transition-all;
350+ @apply rounded-2xl border border-border/80 bg-card p-4 shadow-xs transition-[border-color,box-shadow] sm:p-5;
408351 }
409352
410353 @utility hig-translucent-bar {
411- @apply backdrop-blur-xl backdrop-saturate-150 bg-background/80 border-b border-[#F2F2F3] dark:border-white/8;
354+ @apply border-b border-border/80 bg-background/85 backdrop-blur-xl backdrop-saturate-150;
412355 }
413356
414357 @utility hig-popover-panel {
@@ -439,20 +382,18 @@
439382
440383 @layer base {
441384 :root {
442- /* Pure iOS neutral light palette (Grouped Background #F2F2F7, Card #FFFFFF) */
443- --ui-bg: 240 5% 96%;
444- --ui-surface-1: 0 0% 100%;
445- --ui-surface-2: 240 5% 92%;
446- --ui-surface-3: 240 5% 88%;
447- --ui-border-1: 240 3% 95%; /* #F2F2F3 */
448- --ui-border-2: 240 3% 90%;
449- --ui-text-1: 240 10% 9%;
450- --ui-text-2: 240 5% 35%;
451- --ui-text-3: 240 4% 52%;
452-
453- /* Knowvio brand orange (#F97316) */
454- --ui-accent: 24 95% 53%;
455- --ui-accent-muted: 24 95% 94%;
385+ /* Coolors light steel: #F8F9FA → #212529 */
386+ --ui-bg: 210 15.8% 92.5%;
387+ --ui-surface-1: 210 16.7% 97.6%;
388+ --ui-surface-2: 210 13.8% 88.6%;
389+ --ui-surface-3: 210 14% 83.1%;
390+ --ui-border-1: 210 14% 83.1%;
391+ --ui-border-2: 210 10.8% 71%;
392+ --ui-text-1: 210 10.8% 14.5%;
393+ --ui-text-2: 210 8.8% 31.4%;
394+ --ui-text-3: 208.2 7.3% 45.7%;
395+ --ui-accent: 210 10.3% 22.7%;
396+ --ui-accent-muted: 210 13.8% 88.6%;
456397
457398 /* Apple System Status Colors */
458399 --ui-success: 142 71% 45%;
@@ -479,13 +420,13 @@
479420 --popover: var(--ui-surface-1);
480421 --popover-foreground: var(--ui-text-1);
481422 --primary: var(--ui-accent);
482- --primary-foreground: 0 0% 100%;
423+ --primary-foreground: 210 16.7% 97.6%;
483424 --secondary: var(--ui-surface-2);
484425 --secondary-foreground: var(--ui-text-1);
485426 --muted: var(--ui-surface-2);
486427 --muted-foreground: var(--ui-text-2);
487428 --accent: var(--ui-accent-muted);
488- --accent-foreground: 24 90% 32%;
429+ --accent-foreground: 210 10.3% 22.7%;
489430 --destructive: var(--ui-danger);
490431 --destructive-foreground: 0 0% 100%;
491432 --border: var(--ui-border-1);
@@ -501,20 +442,17 @@
501442 }
502443
503444 [data-kb-theme="dark"] {
504- /* Fintables-like dark palette: #0A0A0A shell/sidebar, #222222 cards. */
505- --ui-bg: 0 0% 4%;
506- --ui-surface-1: var(--ui-bg);
507- --ui-surface-2: 0 0% 10%;
508- --ui-surface-3: 0 0% 16%;
509- --ui-border-1: 0 0% 20%;
510- --ui-border-2: 0 0% 28%;
511- --ui-text-1: 0 0% 98%;
512- --ui-text-2: 240 5% 68%;
513- --ui-text-3: 240 4% 48%;
514-
515- /* Knowvio brand orange (dark) */
516- --ui-accent: 24 95% 58%;
517- --ui-accent-muted: 24 60% 16%;
445+ --ui-bg: 210 10.8% 14.5%;
446+ --ui-surface-1: 210 10.3% 22.7%;
447+ --ui-surface-2: 210 8.8% 31.4%;
448+ --ui-surface-3: 208.2 7.3% 45.7%;
449+ --ui-border-1: 210 8.8% 31.4%;
450+ --ui-border-2: 208.2 7.3% 45.7%;
451+ --ui-text-1: 210 16.7% 97.6%;
452+ --ui-text-2: 210 13.8% 88.6%;
453+ --ui-text-3: 210 10.8% 71%;
454+ --ui-accent: 210 14% 83.1%;
455+ --ui-accent-muted: 210 8.8% 31.4%;
518456 --ui-success: 142 71% 52%;
519457 --ui-success-muted: 142 40% 14%;
520458 --ui-warning: 38 92% 54%;
@@ -524,8 +462,8 @@
524462 --ui-info: 199 89% 60%;
525463 --ui-info-muted: 199 50% 14%;
526464
527- --primary-foreground: 0 0% 100%;
528- --accent-foreground: 24 100% 80%;
465+ --primary-foreground: 210 10.8% 14.5%;
466+ --accent-foreground: 210 16.7% 97.6%;
529467 --destructive-foreground: 0 0% 100%;
530468 --sidebar: var(--ui-bg);
531469 }
@@ -569,7 +507,7 @@
569507
570508 @layer components {
571509 @keyframes pulse-glow {
572- 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4)); }
573- 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.7)); }
510+ 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.25)); }
511+ 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 20px hsl(var(--primary) / 0.45)); }
574512 }
575513 }