Sync background/status color tokens with the shared design-tokens palette
Lint / Lint (push) Successful in 19s
Tests / Go backend (push) Successful in 48s
Tests / Dashboard checks (push) Successful in 59s
Docker / Docker Build & Push (push) Successful in 3m8s

Background, surface, border, text, secondary, danger, success, and warning
tokens now reference the shared --sc-* custom properties (Core/shared's
design-tokens palette) instead of hardcoded hex, so this project's neutrals
stay consistent with the rest of the workspace. Primary/accent/ring keep
this project's own brand color, unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Gabriel20xxandClaude Sonnet 5 committed 2026-09-10 16:26:52 +02:00
1 parent 7c4a903f59
commit 379022e446
1 file changed
+28 -28
+28 -28
View File
@@ -8,47 +8,47 @@
*/ */
:root, :root,
[data-theme='dark'] { [data-theme='dark'] {
--color-bg: #0d1117; --color-bg: var(--sc-bg);
--color-surface: #161b22; --color-surface: var(--sc-surface);
--color-surface-hover: #1c2333; --color-surface-hover: var(--sc-surface-hover);
--color-border: #30363d; --color-border: var(--sc-border);
--color-fg: #e6edf3; --color-fg: var(--sc-fg);
--color-muted-fg: #8b949e; --color-muted-fg: var(--sc-muted-fg);
--color-primary: #3b82f6; --color-primary: #3b82f6;
--color-primary-fg: #04122e; --color-primary-fg: #04122e;
--color-secondary: #60a5fa; --color-secondary: var(--sc-secondary);
--color-secondary-fg: #04122e; --color-secondary-fg: var(--sc-secondary-fg);
--color-accent: #3b82f6; --color-accent: #3b82f6;
--color-accent-fg: #04122e; --color-accent-fg: #04122e;
--color-danger: #ef4444; --color-danger: var(--sc-danger);
--color-danger-fg: #ffffff; --color-danger-fg: var(--sc-danger-fg);
--color-success: #22c55e; --color-success: var(--sc-success);
--color-success-fg: #04210f; --color-success-fg: var(--sc-success-fg);
--color-warning: #f59e0b; --color-warning: var(--sc-warning);
--color-warning-fg: #2a1a00; --color-warning-fg: var(--sc-warning-fg);
--color-ring: #60a5fa; --color-ring: #60a5fa;
color-scheme: dark; color-scheme: dark;
} }
[data-theme='light'] { [data-theme='light'] {
--color-bg: #f6f8fa; --color-bg: var(--sc-bg);
--color-surface: #ffffff; --color-surface: var(--sc-surface);
--color-surface-hover: #eaeef2; --color-surface-hover: var(--sc-surface-hover);
--color-border: #d0d7de; --color-border: var(--sc-border);
--color-fg: #1f2328; --color-fg: var(--sc-fg);
--color-muted-fg: #59636e; --color-muted-fg: var(--sc-muted-fg);
--color-primary: #2563eb; --color-primary: #2563eb;
--color-primary-fg: #ffffff; --color-primary-fg: #ffffff;
--color-secondary: #1d4ed8; --color-secondary: var(--sc-secondary);
--color-secondary-fg: #ffffff; --color-secondary-fg: var(--sc-secondary-fg);
--color-accent: #2563eb; --color-accent: #2563eb;
--color-accent-fg: #ffffff; --color-accent-fg: #ffffff;
--color-danger: #dc2626; --color-danger: var(--sc-danger);
--color-danger-fg: #ffffff; --color-danger-fg: var(--sc-danger-fg);
--color-success: #16a34a; --color-success: var(--sc-success);
--color-success-fg: #ffffff; --color-success-fg: var(--sc-success-fg);
--color-warning: #b45309; --color-warning: var(--sc-warning);
--color-warning-fg: #ffffff; --color-warning-fg: var(--sc-warning-fg);
--color-ring: #2563eb; --color-ring: #2563eb;
color-scheme: light; color-scheme: light;
} }