/* * Theme "slpsoftware" - SLP Software. * * Re-declares the admin design tokens only (colours, radius, font); no layout or component changes. * Brand: bordeaux #7A1414 (website variant B) as primary/ring/accent basis on a white, neutral surface. * Font: Archivo, self-hosted through @fontsource (the admin CSP is font-src 'self'). * Selected at build time with VITE_THEME=slpsoftware. * * Contrast (WCAG 2.x, computed by contrast.py next to this file; AA = 4.5:1 text, 3:1 UI/large): * * Pair Light Dark * foreground / background 17.40 16.90 * card-foreground / card 16.25 15.29 * primary-foreground / primary 10.84 5.45 * primary (links) / background 10.84 5.45 * primary / card 10.12 4.93 * muted-foreground / background 6.69 8.49 * muted-foreground / card 6.24 7.69 * muted-foreground / muted 6.08 6.62 * accent-foreground / accent 9.16 7.36 * destructive-foreground / destructive 5.62 7.31 * destructive / background 5.62 7.31 * ring / background (min 3.0) 10.84 5.45 * ring / card (min 3.0) 10.12 4.93 * * All pairs pass AA in both modes. Dark mode has no website counterpart: its primary is a lighter, * derived bordeaux (#e0646c) so button text and links stay above 4.5:1 on the dark surfaces. */ @import '@fontsource/archivo/latin-400.css'; @import '@fontsource/archivo/latin-500.css'; @import '@fontsource/archivo/latin-600.css'; @import '@fontsource/archivo/latin-700.css'; :root { --slp-bordeaux: #7a1414; --slp-ink: #1a1a1a; --slp-ink-2: #5c5c5c; --slp-surface: #f7f7f7; --slp-tint: #f6e9e9; --slp-error: #c62828; --slp-line: #e4e4e7; --slp-font-body: 'Archivo', system-ui, 'Segoe UI', Roboto, sans-serif; --background: #ffffff; --foreground: var(--slp-ink); --card: var(--slp-surface); --card-foreground: var(--slp-ink); --popover: #ffffff; --popover-foreground: var(--slp-ink); --primary: var(--slp-bordeaux); --primary-foreground: #ffffff; --secondary: #f4f4f5; --secondary-foreground: var(--slp-ink); --muted: #f4f4f5; --muted-foreground: var(--slp-ink-2); --accent: var(--slp-tint); --accent-foreground: var(--slp-bordeaux); --destructive: var(--slp-error); --destructive-foreground: #ffffff; --border: var(--slp-line); --input: var(--slp-line); --ring: var(--slp-bordeaux); --radius: 0.375rem; --font-sans: var(--slp-font-body); } .dark { --background: #141414; --foreground: #f5f5f5; --card: #1e1e1e; --card-foreground: #f5f5f5; --popover: #1e1e1e; --popover-foreground: #f5f5f5; --primary: #e0646c; --primary-foreground: #141414; --secondary: #2a2a2a; --secondary-foreground: #f5f5f5; --muted: #2a2a2a; --muted-foreground: #b0b0b0; --accent: #3a1f21; --accent-foreground: #f0a0a6; --destructive: #ff7b72; --destructive-foreground: #141414; --border: #333333; --input: #333333; --ring: #e0646c; } body { font-family: var(--slp-font-body); }