🎨 Coolors light steel palette, graphite accent, simplified tokens
Browse files at this commit68f403d74d575d4bfb8ff4e2c1bf323e34b9d621Parent: 365345d- refactor
- 🎨 Coolors light steel palette, graphite accent, simplified tokens
8 changed files +89 -168
- docs/ui/ui-redesign-tokens.md +15 -31
- src/components/layout/app-shell.tsx +3 -3
- src/components/layout/sidebar-account.tsx +1 -1
- src/components/ui/button.tsx +6 -6
- src/components/ui/data-table.tsx +3 -3
- src/components/ui/select.tsx +1 -1
- src/components/ui/tabs.tsx +4 -5
- src/index.css +56 -118
docs/ui/ui-redesign-tokens.mdmodified+15 -31
| @@ -3,40 +3,24 @@ | |||
| 3 | ## Direction | 3 | ## Direction |
| 4 | 4 | ||
| 5 | Dense school admin UI with Apple HIG-inspired grouped surfaces: neutral grouped | 5 | Dense school admin UI with Apple HIG-inspired grouped surfaces: neutral grouped |
| 6 | -backgrounds, subtle borders, translucent overlays, one blue accent for | 6 | +backgrounds, subtle borders, restrained elevation, and one graphite accent for |
| 7 | -interactive chrome only. Surfaces stay neutral; color is reserved for the blue | 7 | +interactive chrome. Translucency stays limited to functional layers such as |
| 8 | -accent, dashboard charts (see "Charts" below), and semantic status (success / | 8 | +headers and popovers; content surfaces remain opaque and easy to scan. |
| 9 | -warning / danger / info). | ||
| 10 | 9 | ||
| 11 | ## Color | 10 | ## Color |
| 12 | 11 | ||
| 13 | -Light palette is defined in `src/index.css` as `--ui-*` variables: | 12 | +Core palette: [Coolors light steel](https://coolors.co/palette/f8f9fa-e9ecef-dee2e6-ced4da-adb5bd-6c757d-495057-343a40-212529). |
| 14 | - | 13 | + |
| 15 | -- `--ui-bg`: `240 5% 96%` | 14 | +- Canvas: `#E9ECEF`; cards and popovers: `#F8F9FA` |
| 16 | -- `--ui-surface-1`: `0 0% 100%` | 15 | +- Muted layers: `#DEE2E6`, `#CED4DA`; borders: `#CED4DA`, `#ADB5BD` |
| 17 | -- `--ui-surface-2`: `240 5% 92%` | 16 | +- Text: `#212529`, secondary `#495057`, tertiary `#6C757D` |
| 18 | -- `--ui-surface-3`: `240 5% 88%` | 17 | +- Primary actions: `#343A40` with `#F8F9FA` text |
| 19 | -- `--ui-border-1`: `240 5% 86%` | 18 | +- Dark mode reverses the same scale from `#212529` canvas to `#F8F9FA` text |
| 20 | -- `--ui-border-2`: `240 4% 78%` | 19 | +- Success, warning, danger, and info keep semantic colors because color carries state |
| 21 | -- `--ui-text-1`: `240 10% 9%` | 20 | + |
| 22 | -- `--ui-text-2`: `240 5% 35%` | 21 | +Body text pairs exceed WCAG AA; `#6C757D` is limited to tertiary metadata and |
| 23 | -- `--ui-text-3`: `240 4% 52%` | 22 | +nonessential labels. Shadows use low-opacity `#212529`, two layers at most, and |
| 24 | -- `--ui-accent`: Apple system blue (`211 100% 50%`) | 23 | +appear only where elevation communicates hierarchy or interaction. |
| 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 | ||
| 40 | 24 | ||
| 41 | Existing shadcn tokens (`--background`, `--card`, `--primary`, etc.) are mapped | 25 | Existing shadcn tokens (`--background`, `--card`, `--primary`, etc.) are mapped |
| 42 | to these `--ui-*` variables so existing components keep working seamlessly. | 26 | 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) { | |||
| 53 | <Show when={auth.user() && !fullScreen()}> | 53 | <Show when={auth.user() && !fullScreen()}> |
| 54 | <aside | 54 | <aside |
| 55 | class={cn( | 55 | 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", |
| 57 | collapsed() ? SIDEBAR_COLLAPSED : SIDEBAR_EXPANDED, | 57 | collapsed() ? SIDEBAR_COLLAPSED : SIDEBAR_EXPANDED, |
| 58 | )} | 58 | )} |
| 59 | > | 59 | > |
| @@ -104,7 +104,7 @@ export function AppShell(props: ParentProps) { | |||
| 104 | aria-label={t("nav.close")} | 104 | aria-label={t("nav.close")} |
| 105 | onClick={() => setMobileOpen(false)} | 105 | onClick={() => setMobileOpen(false)} |
| 106 | /> | 106 | /> |
| 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"> |
| 108 | <div class="flex h-14 shrink-0 items-center justify-between gap-2 border-b border-black/5 px-3 dark:border-white/8"> | 108 | <div class="flex h-14 shrink-0 items-center justify-between gap-2 border-b border-black/5 px-3 dark:border-white/8"> |
| 109 | <Link to="/" class="flex min-w-0 items-center gap-2.5" onClick={() => setMobileOpen(false)}> | 109 | <Link to="/" class="flex min-w-0 items-center gap-2.5" onClick={() => setMobileOpen(false)}> |
| 110 | <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> | 110 | <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) { | |||
| 169 | <NotificationCenter /> | 169 | <NotificationCenter /> |
| 170 | <button | 170 | <button |
| 171 | type="button" | 171 | 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" |
| 173 | onClick={() => setCelebiOpen(true)} | 173 | onClick={() => setCelebiOpen(true)} |
| 174 | > | 174 | > |
| 175 | <IconSparkles class="h-4 w-4" /> | 175 | <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 | |||
| 70 | </Show> | 70 | </Show> |
| 71 | </DropdownMenuTrigger> | 71 | </DropdownMenuTrigger> |
| 72 | 72 | ||
| 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"> |
| 74 | <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)}> | 74 | <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)}> |
| 75 | <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"> | 75 | <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"> |
| 76 | {initials(name())} | 76 | {initials(name())} |
src/components/ui/button.tsxmodified+6 -6
| @@ -4,19 +4,19 @@ import { type ComponentProps, type ValidComponent, splitProps } from "solid-js"; | |||
| 4 | import { cn } from "@/lib/cn"; | 4 | import { cn } from "@/lib/cn"; |
| 5 | 5 | ||
| 6 | export const buttonVariants = cva( | 6 | 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]", |
| 8 | { | 8 | { |
| 9 | variants: { | 9 | variants: { |
| 10 | variant: { | 10 | variant: { |
| 11 | default: | 11 | 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", |
| 13 | destructive: | 13 | destructive: |
| 14 | "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", | 14 | "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", |
| 15 | outline: | 15 | 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", | 16 | + "border border-border bg-card text-foreground shadow-xs hover:border-border/80 hover:bg-secondary", |
| 17 | - secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 dark:hover:bg-secondary/90", | 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 dark:hover:bg-white/8", | 18 | + ghost: "hover:bg-secondary/80 hover:text-foreground", |
| 19 | - link: "text-primary underline-offset-4 hover:underline hover:translate-y-0 hover:scale-100", | 19 | + link: "text-primary underline-offset-4 hover:underline active:scale-100", |
| 20 | }, | 20 | }, |
| 21 | size: { | 21 | size: { |
| 22 | default: "h-11 px-4 py-2", | 22 | 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, | |||
| 154 | }; | 154 | }; |
| 155 | 155 | ||
| 156 | return ( | 156 | 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)}> |
| 158 | <Show when={showHeader() || showToolbar()}> | 158 | <Show when={showHeader() || showToolbar()}> |
| 159 | <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"> | 159 | <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"> |
| 160 | <Show when={showHeader()}> | 160 | <Show when={showHeader()}> |
| @@ -176,7 +176,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData, | |||
| 176 | <div class="flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center"> | 176 | <div class="flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center"> |
| 177 | <Show when={showSearch()}> | 177 | <Show when={showSearch()}> |
| 178 | <Input | 178 | <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" |
| 180 | value={props.onSearchInput || props.searchPredicate ? searchValue() : ((props.filterColumn ? table.getColumn(props.filterColumn)?.getFilterValue() : "") as string) ?? ""} | 180 | value={props.onSearchInput || props.searchPredicate ? searchValue() : ((props.filterColumn ? table.getColumn(props.filterColumn)?.getFilterValue() : "") as string) ?? ""} |
| 181 | placeholder={props.filterPlaceholder ?? t("common.searchPlaceholder")} | 181 | placeholder={props.filterPlaceholder ?? t("common.searchPlaceholder")} |
| 182 | onInput={(event) => { | 182 | onInput={(event) => { |
| @@ -192,7 +192,7 @@ export function DataTable<TData, TValue = unknown>(props: DataTableProps<TData, | |||
| 192 | </Show> | 192 | </Show> |
| 193 | <Show when={showColumnMenu()}> | 193 | <Show when={showColumnMenu()}> |
| 194 | <DropdownMenu placement="bottom-end" gutter={6}> | 194 | <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"> |
| 196 | {t("common.columns")} | 196 | {t("common.columns")} |
| 197 | <IconChevronDown class="h-3.5 w-3.5 opacity-60" /> | 197 | <IconChevronDown class="h-3.5 w-3.5 opacity-60" /> |
| 198 | </DropdownMenuTrigger> | 198 | </DropdownMenuTrigger> |
src/components/ui/select.tsxmodified+1 -1
| @@ -34,7 +34,7 @@ export function DropdownSelect<T extends string | number = string>(props: Dropdo | |||
| 34 | <DropdownMenuTrigger | 34 | <DropdownMenuTrigger |
| 35 | disabled={props.disabled} | 35 | disabled={props.disabled} |
| 36 | class={cn( | 36 | 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", |
| 38 | props.triggerClass, | 38 | props.triggerClass, |
| 39 | props.class, | 39 | props.class, |
| 40 | )} | 40 | )} |
src/components/ui/tabs.tsxmodified+4 -5
| @@ -12,7 +12,7 @@ export function TabsList<T extends ValidComponent = "div">( | |||
| 12 | return ( | 12 | return ( |
| 13 | <TabsPrimitive.List | 13 | <TabsPrimitive.List |
| 14 | class={cn( | 14 | 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", |
| 16 | local.class, | 16 | local.class, |
| 17 | )} | 17 | )} |
| 18 | {...rest} | 18 | {...rest} |
| @@ -27,8 +27,7 @@ export function TabsTrigger<T extends ValidComponent = "button">( | |||
| 27 | return ( | 27 | return ( |
| 28 | <TabsPrimitive.Trigger | 28 | <TabsPrimitive.Trigger |
| 29 | class={cn( | 29 | 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)]", | 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", |
| 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", | ||
| 32 | local.class, | 31 | local.class, |
| 33 | )} | 32 | )} |
| 34 | {...rest} | 33 | {...rest} |
| @@ -36,7 +35,7 @@ export function TabsTrigger<T extends ValidComponent = "button">( | |||
| 36 | <span class="relative z-10 inline-flex items-center gap-2 text-muted-foreground/75 transition-colors duration-200 group-data-selected:text-foreground"> | 35 | <span class="relative z-10 inline-flex items-center gap-2 text-muted-foreground/75 transition-colors duration-200 group-data-selected:text-foreground"> |
| 37 | {local.children} | 36 | {local.children} |
| 38 | </span> | 37 | </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" /> |
| 40 | </TabsPrimitive.Trigger> | 39 | </TabsPrimitive.Trigger> |
| 41 | ); | 40 | ); |
| 42 | } | 41 | } |
| @@ -47,7 +46,7 @@ export function TabsContent<T extends ValidComponent = "div">( | |||
| 47 | const [local, rest] = splitProps(props as ComponentProps<typeof TabsPrimitive.Content>, ["class"]); | 46 | const [local, rest] = splitProps(props as ComponentProps<typeof TabsPrimitive.Content>, ["class"]); |
| 48 | return ( | 47 | return ( |
| 49 | <TabsPrimitive.Content | 48 | <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)} |
| 51 | {...rest} | 50 | {...rest} |
| 52 | /> | 51 | /> |
| 53 | ); | 52 | ); |
src/index.cssmodified+56 -118
| @@ -64,11 +64,12 @@ | |||
| 64 | --radius-md: calc(var(--radius) - 4px); | 64 | --radius-md: calc(var(--radius) - 4px); |
| 65 | --radius-sm: calc(var(--radius) - 8px); | 65 | --radius-sm: calc(var(--radius) - 8px); |
| 66 | 66 | ||
| 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); | ||
| 68 | --shadow-apple: | 69 | --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); |
| 70 | --shadow-apple-hover: | 71 | --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); |
| 72 | 73 | ||
| 73 | --animate-fade-up: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; | 74 | --animate-fade-up: fade-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; |
| 74 | --animate-accordion-down: accordion-down 0.25s cubic-bezier(0.16, 1, 0.3, 1); | 75 | --animate-accordion-down: accordion-down 0.25s cubic-bezier(0.16, 1, 0.3, 1); |
| @@ -128,24 +129,23 @@ | |||
| 128 | } | 129 | } |
| 129 | 130 | ||
| 130 | @utility glass-header { | 131 | @utility glass-header { |
| 131 | - /* Dark Design Frosted Glass & Elevated Surfaces */ | 132 | + @apply sticky top-0 z-20 border-b border-border/80 bg-background/85 shadow-xs backdrop-blur-xl; |
| 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)]; | ||
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | @utility glass-panel { | 135 | @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; |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | @utility apple-card { | 139 | @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; |
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | @utility surface-card { | 143 | @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; |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | @utility stat-tile { | 147 | @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]; |
| 149 | } | 149 | } |
| 150 | 150 | ||
| 151 | @utility focus-ring { | 151 | @utility focus-ring { |
| @@ -153,26 +153,26 @@ | |||
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | @utility topbar-control { | 155 | @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; |
| 157 | } | 157 | } |
| 158 | 158 | ||
| 159 | @utility topbar-ai-control { | 159 | @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; |
| 161 | } | 161 | } |
| 162 | 162 | ||
| 163 | @utility data-shell { | 163 | @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; |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | @utility data-table-wrap { | 167 | @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; |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | @utility data-table { | 171 | @utility data-table { |
| 172 | @apply w-full caption-bottom text-sm; | 172 | @apply w-full caption-bottom text-sm; |
| 173 | 173 | ||
| 174 | & thead { | 174 | & 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; |
| 176 | } | 176 | } |
| 177 | 177 | ||
| 178 | & th { | 178 | & th { |
| @@ -196,11 +196,11 @@ | |||
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | [data-kb-theme='dark'] & tbody tr:nth-child(even) { | 198 | [data-kb-theme='dark'] & tbody tr:nth-child(even) { |
| 199 | - background-color: #151515; | 199 | + background-color: hsl(var(--muted) / 0.35); |
| 200 | } | 200 | } |
| 201 | 201 | ||
| 202 | [data-kb-theme='dark'] & tbody tr:hover:nth-child(even) { | 202 | [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); |
| 204 | } | 204 | } |
| 205 | } | 205 | } |
| 206 | 206 | ||
| @@ -213,7 +213,7 @@ | |||
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | @utility detail-action-group { | 215 | @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; |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | @utility detail-action-divider { | 219 | @utility detail-action-divider { |
| @@ -228,63 +228,6 @@ | |||
| 228 | @apply rounded-xl border border-border/60 bg-muted/20 px-3 py-2 text-sm text-muted-foreground; | 228 | @apply rounded-xl border border-border/60 bg-muted/20 px-3 py-2 text-sm text-muted-foreground; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 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 | - | ||
| 288 | @utility detail-metric-card { | 231 | @utility detail-metric-card { |
| 289 | @apply rounded-xl border border-black/5 bg-transparent px-4 py-4 shadow-xs dark:border-white/6; | 232 | @apply rounded-xl border border-black/5 bg-transparent px-4 py-4 shadow-xs dark:border-white/6; |
| 290 | } | 233 | } |
| @@ -295,19 +238,19 @@ | |||
| 295 | } | 238 | } |
| 296 | 239 | ||
| 297 | & form > .space-y-3 { | 240 | & 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; |
| 299 | } | 242 | } |
| 300 | 243 | ||
| 301 | & form > .space-y-4 { | 244 | & 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; |
| 303 | } | 246 | } |
| 304 | 247 | ||
| 305 | & form > .space-y-1\.5 { | 248 | & 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; |
| 307 | } | 250 | } |
| 308 | 251 | ||
| 309 | & form > .grid { | 252 | & 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; |
| 311 | } | 254 | } |
| 312 | 255 | ||
| 313 | & label { | 256 | & label { |
| @@ -345,25 +288,25 @@ | |||
| 345 | 288 | ||
| 346 | @utility space-y-3 { | 289 | @utility space-y-3 { |
| 347 | .side-panel-body form > & { | 290 | .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; |
| 349 | } | 292 | } |
| 350 | } | 293 | } |
| 351 | 294 | ||
| 352 | @utility space-y-4 { | 295 | @utility space-y-4 { |
| 353 | .side-panel-body form > & { | 296 | .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; |
| 355 | } | 298 | } |
| 356 | } | 299 | } |
| 357 | 300 | ||
| 358 | @utility space-y-1.5 { | 301 | @utility space-y-1.5 { |
| 359 | .side-panel-body form > & { | 302 | .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; |
| 361 | } | 304 | } |
| 362 | } | 305 | } |
| 363 | 306 | ||
| 364 | @utility grid { | 307 | @utility grid { |
| 365 | .side-panel-body form > & { | 308 | .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; |
| 367 | } | 310 | } |
| 368 | } | 311 | } |
| 369 | 312 | ||
| @@ -404,11 +347,11 @@ | |||
| 404 | } | 347 | } |
| 405 | 348 | ||
| 406 | @utility hig-grouped-card { | 349 | @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; |
| 408 | } | 351 | } |
| 409 | 352 | ||
| 410 | @utility hig-translucent-bar { | 353 | @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; |
| 412 | } | 355 | } |
| 413 | 356 | ||
| 414 | @utility hig-popover-panel { | 357 | @utility hig-popover-panel { |
| @@ -439,20 +382,18 @@ | |||
| 439 | 382 | ||
| 440 | @layer base { | 383 | @layer base { |
| 441 | :root { | 384 | :root { |
| 442 | - /* Pure iOS neutral light palette (Grouped Background #F2F2F7, Card #FFFFFF) */ | 385 | + /* Coolors light steel: #F8F9FA → #212529 */ |
| 443 | - --ui-bg: 240 5% 96%; | 386 | + --ui-bg: 210 15.8% 92.5%; |
| 444 | - --ui-surface-1: 0 0% 100%; | 387 | + --ui-surface-1: 210 16.7% 97.6%; |
| 445 | - --ui-surface-2: 240 5% 92%; | 388 | + --ui-surface-2: 210 13.8% 88.6%; |
| 446 | - --ui-surface-3: 240 5% 88%; | 389 | + --ui-surface-3: 210 14% 83.1%; |
| 447 | - --ui-border-1: 240 3% 95%; /* #F2F2F3 */ | 390 | + --ui-border-1: 210 14% 83.1%; |
| 448 | - --ui-border-2: 240 3% 90%; | 391 | + --ui-border-2: 210 10.8% 71%; |
| 449 | - --ui-text-1: 240 10% 9%; | 392 | + --ui-text-1: 210 10.8% 14.5%; |
| 450 | - --ui-text-2: 240 5% 35%; | 393 | + --ui-text-2: 210 8.8% 31.4%; |
| 451 | - --ui-text-3: 240 4% 52%; | 394 | + --ui-text-3: 208.2 7.3% 45.7%; |
| 452 | - | 395 | + --ui-accent: 210 10.3% 22.7%; |
| 453 | - /* Knowvio brand orange (#F97316) */ | 396 | + --ui-accent-muted: 210 13.8% 88.6%; |
| 454 | - --ui-accent: 24 95% 53%; | ||
| 455 | - --ui-accent-muted: 24 95% 94%; | ||
| 456 | 397 | ||
| 457 | /* Apple System Status Colors */ | 398 | /* Apple System Status Colors */ |
| 458 | --ui-success: 142 71% 45%; | 399 | --ui-success: 142 71% 45%; |
| @@ -479,13 +420,13 @@ | |||
| 479 | --popover: var(--ui-surface-1); | 420 | --popover: var(--ui-surface-1); |
| 480 | --popover-foreground: var(--ui-text-1); | 421 | --popover-foreground: var(--ui-text-1); |
| 481 | --primary: var(--ui-accent); | 422 | --primary: var(--ui-accent); |
| 482 | - --primary-foreground: 0 0% 100%; | 423 | + --primary-foreground: 210 16.7% 97.6%; |
| 483 | --secondary: var(--ui-surface-2); | 424 | --secondary: var(--ui-surface-2); |
| 484 | --secondary-foreground: var(--ui-text-1); | 425 | --secondary-foreground: var(--ui-text-1); |
| 485 | --muted: var(--ui-surface-2); | 426 | --muted: var(--ui-surface-2); |
| 486 | --muted-foreground: var(--ui-text-2); | 427 | --muted-foreground: var(--ui-text-2); |
| 487 | --accent: var(--ui-accent-muted); | 428 | --accent: var(--ui-accent-muted); |
| 488 | - --accent-foreground: 24 90% 32%; | 429 | + --accent-foreground: 210 10.3% 22.7%; |
| 489 | --destructive: var(--ui-danger); | 430 | --destructive: var(--ui-danger); |
| 490 | --destructive-foreground: 0 0% 100%; | 431 | --destructive-foreground: 0 0% 100%; |
| 491 | --border: var(--ui-border-1); | 432 | --border: var(--ui-border-1); |
| @@ -501,20 +442,17 @@ | |||
| 501 | } | 442 | } |
| 502 | 443 | ||
| 503 | [data-kb-theme="dark"] { | 444 | [data-kb-theme="dark"] { |
| 504 | - /* Fintables-like dark palette: #0A0A0A shell/sidebar, #222222 cards. */ | 445 | + --ui-bg: 210 10.8% 14.5%; |
| 505 | - --ui-bg: 0 0% 4%; | 446 | + --ui-surface-1: 210 10.3% 22.7%; |
| 506 | - --ui-surface-1: var(--ui-bg); | 447 | + --ui-surface-2: 210 8.8% 31.4%; |
| 507 | - --ui-surface-2: 0 0% 10%; | 448 | + --ui-surface-3: 208.2 7.3% 45.7%; |
| 508 | - --ui-surface-3: 0 0% 16%; | 449 | + --ui-border-1: 210 8.8% 31.4%; |
| 509 | - --ui-border-1: 0 0% 20%; | 450 | + --ui-border-2: 208.2 7.3% 45.7%; |
| 510 | - --ui-border-2: 0 0% 28%; | 451 | + --ui-text-1: 210 16.7% 97.6%; |
| 511 | - --ui-text-1: 0 0% 98%; | 452 | + --ui-text-2: 210 13.8% 88.6%; |
| 512 | - --ui-text-2: 240 5% 68%; | 453 | + --ui-text-3: 210 10.8% 71%; |
| 513 | - --ui-text-3: 240 4% 48%; | 454 | + --ui-accent: 210 14% 83.1%; |
| 514 | - | 455 | + --ui-accent-muted: 210 8.8% 31.4%; |
| 515 | - /* Knowvio brand orange (dark) */ | ||
| 516 | - --ui-accent: 24 95% 58%; | ||
| 517 | - --ui-accent-muted: 24 60% 16%; | ||
| 518 | --ui-success: 142 71% 52%; | 456 | --ui-success: 142 71% 52%; |
| 519 | --ui-success-muted: 142 40% 14%; | 457 | --ui-success-muted: 142 40% 14%; |
| 520 | --ui-warning: 38 92% 54%; | 458 | --ui-warning: 38 92% 54%; |
| @@ -524,8 +462,8 @@ | |||
| 524 | --ui-info: 199 89% 60%; | 462 | --ui-info: 199 89% 60%; |
| 525 | --ui-info-muted: 199 50% 14%; | 463 | --ui-info-muted: 199 50% 14%; |
| 526 | 464 | ||
| 527 | - --primary-foreground: 0 0% 100%; | 465 | + --primary-foreground: 210 10.8% 14.5%; |
| 528 | - --accent-foreground: 24 100% 80%; | 466 | + --accent-foreground: 210 16.7% 97.6%; |
| 529 | --destructive-foreground: 0 0% 100%; | 467 | --destructive-foreground: 0 0% 100%; |
| 530 | --sidebar: var(--ui-bg); | 468 | --sidebar: var(--ui-bg); |
| 531 | } | 469 | } |
| @@ -569,7 +507,7 @@ | |||
| 569 | 507 | ||
| 570 | @layer components { | 508 | @layer components { |
| 571 | @keyframes pulse-glow { | 509 | @keyframes pulse-glow { |
| 572 | - 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.4)); } | 510 | + 0%, 100% { opacity: 0.9; transform: scale(1); filter: drop-shadow(0 0 10px hsl(var(--primary) / 0.25)); } |
| 573 | - 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.7)); } | 511 | + 50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 20px hsl(var(--primary) / 0.45)); } |
| 574 | } | 512 | } |
| 575 | } | 513 | } |