197 lines
7.5 KiB
CSS
197 lines
7.5 KiB
CSS
/* =============================================================================
|
|
Astro Rocket Theme - Indigo
|
|
=============================================================================
|
|
Deep indigo (hue 264°). Authoritative, bold, and focused — inspired by
|
|
Tailwind's indigo palette. The classic "serious blue-purple" used in
|
|
enterprise and productivity tools.
|
|
|
|
Dark mode: near-black with a rich indigo tint and deep glow.
|
|
Light mode: clean neutral whites with indigo as the single accent.
|
|
============================================================================= */
|
|
|
|
html[data-theme="indigo"] {
|
|
/* -------------------------------------------------------------------------
|
|
Brand Scale Override — Indigo (hue 264)
|
|
Inspired by Tailwind indigo-*. Deep blue-purple, authoritative.
|
|
------------------------------------------------------------------------- */
|
|
--brand-50: oklch(97.5% 0.02 264);
|
|
--brand-100: oklch(94.5% 0.05 264);
|
|
--brand-200: oklch(86% 0.11 264);
|
|
--brand-300: oklch(75% 0.18 264);
|
|
--brand-400: oklch(67% 0.22 264);
|
|
--brand-500: oklch(60% 0.24 264);
|
|
--brand-600: oklch(52% 0.22 264);
|
|
--brand-700: oklch(44% 0.18 264);
|
|
--brand-800: oklch(36% 0.14 264);
|
|
--brand-900: oklch(26% 0.09 264);
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Semantic Tokens - Light Mode
|
|
------------------------------------------------------------------------- */
|
|
--background: var(--gray-0);
|
|
--background-secondary: oklch(97.5% 0.010 264);
|
|
--background-tertiary: oklch(95% 0.018 264);
|
|
--background-elevated: var(--gray-0);
|
|
|
|
--foreground: var(--gray-900); /* 18.3:1 on white — WCAG AAA */
|
|
--foreground-secondary: var(--gray-700); /* 12.7:1 on white — WCAG AAA */
|
|
--foreground-muted: var(--gray-600); /* 10.0:1 on white — WCAG AA */
|
|
--foreground-subtle: var(--gray-500); /* 5.5:1 on white — WCAG AA */
|
|
|
|
--border: var(--gray-200);
|
|
--border-strong: var(--gray-300);
|
|
--border-subtle: var(--gray-100);
|
|
|
|
--primary: var(--gray-900);
|
|
--primary-hover: var(--gray-800);
|
|
--primary-foreground: var(--gray-0);
|
|
|
|
--secondary: var(--gray-100);
|
|
--secondary-hover: var(--gray-200);
|
|
--secondary-foreground: var(--gray-900);
|
|
|
|
--accent: var(--brand-500);
|
|
--accent-hover: var(--brand-600);
|
|
--accent-light: var(--brand-100);
|
|
|
|
--muted: var(--gray-100);
|
|
--muted-foreground: var(--gray-500); /* 5.5:1 on white — WCAG AA */
|
|
|
|
--card: var(--gray-0);
|
|
--card-border: var(--gray-200);
|
|
|
|
--input-bg: var(--gray-0);
|
|
--input-border: var(--gray-300);
|
|
--input-focus: var(--brand-500);
|
|
|
|
--ring: var(--brand-500);
|
|
|
|
--destructive: var(--error);
|
|
--destructive-foreground: var(--gray-0);
|
|
|
|
--gradient-start: oklch(96.5% 0 0);
|
|
--gradient-end: oklch(100% 0 0);
|
|
|
|
/* Status colors - light mode backgrounds */
|
|
--success-light: oklch(94% 0.05 145);
|
|
--warning-light: oklch(95% 0.05 85);
|
|
--error-light: oklch(94% 0.05 25);
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Inverted/Contrast Section — deep indigo-dark
|
|
------------------------------------------------------------------------- */
|
|
--surface-invert: oklch(9.5% 0.015 264);
|
|
--surface-invert-secondary: oklch(13.5% 0.012 264);
|
|
--surface-invert-tertiary: oklch(17.5% 0.010 264);
|
|
--on-invert: var(--gray-50);
|
|
--on-invert-secondary: var(--gray-200);
|
|
--on-invert-muted: var(--gray-300);
|
|
--border-invert: oklch(21% 0.012 264);
|
|
--border-invert-strong: oklch(29% 0.010 264);
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Typography
|
|
------------------------------------------------------------------------- */
|
|
--theme-font-sans: 'Manrope Variable', 'Manrope', ui-sans-serif, system-ui,
|
|
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
--theme-font-display: 'Outfit Variable', 'Outfit', var(--theme-font-sans);
|
|
--theme-font-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace,
|
|
SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
monospace;
|
|
--theme-heading-weight: 700;
|
|
--theme-heading-tracking: -0.02em;
|
|
--theme-body-leading: 1.6;
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Shadows — indigo-tinted
|
|
------------------------------------------------------------------------- */
|
|
--theme-shadow-sm: 0 1px 2px oklch(20% 0.02 264 / 0.07);
|
|
--theme-shadow-md: 0 4px 8px oklch(20% 0.02 264 / 0.09),
|
|
0 0 1px oklch(20% 0.02 264 / 0.05);
|
|
--theme-shadow-lg: 0 8px 16px oklch(20% 0.02 264 / 0.11),
|
|
0 0 1px oklch(20% 0.02 264 / 0.05);
|
|
--theme-shadow-xl: 0 24px 48px oklch(20% 0.02 264 / 0.16),
|
|
0 0 1px oklch(20% 0.02 264 / 0.05);
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Border Radii
|
|
------------------------------------------------------------------------- */
|
|
--theme-radius-sm: 0.25rem; /* 4px */
|
|
--theme-radius-md: 0.375rem; /* 6px */
|
|
--theme-radius-lg: 0.5rem; /* 8px */
|
|
--theme-radius-xl: 0.625rem; /* 10px */
|
|
--theme-radius-full: 9999px;
|
|
}
|
|
|
|
/* -------------------------------------------------------------------------
|
|
Dark Mode — deep near-black with indigo depth
|
|
------------------------------------------------------------------------- */
|
|
html.dark[data-theme="indigo"] {
|
|
--background: oklch(9.5% 0.015 264);
|
|
--background-secondary: oklch(15% 0.012 264);
|
|
--background-tertiary: oklch(20% 0.010 264);
|
|
--background-elevated: oklch(15% 0.012 264);
|
|
|
|
--foreground: oklch(94% 0.010 264);
|
|
--foreground-secondary: oklch(82% 0.012 264);
|
|
--foreground-muted: oklch(68% 0.010 264);
|
|
--foreground-subtle: oklch(58% 0.008 264); /* ~4.8:1 on bg — WCAG AA */
|
|
|
|
--border: oklch(20% 0.012 264);
|
|
--border-strong: oklch(27% 0.010 264);
|
|
--border-subtle: oklch(13.5% 0.012 264);
|
|
|
|
--primary: oklch(94% 0.010 264);
|
|
--primary-hover: oklch(82% 0.012 264);
|
|
--primary-foreground: oklch(9.5% 0.015 264);
|
|
|
|
--secondary: oklch(20% 0.010 264);
|
|
--secondary-hover: oklch(24% 0.010 264);
|
|
--secondary-foreground: oklch(90% 0.010 264);
|
|
|
|
--accent: var(--brand-400);
|
|
--accent-hover: var(--brand-500);
|
|
--accent-light: oklch(18% 0.07 264);
|
|
|
|
--muted: oklch(20% 0.010 264);
|
|
--muted-foreground: oklch(68% 0.010 264);
|
|
|
|
--card: oklch(15% 0.012 264);
|
|
--card-border: oklch(23% 0.012 264);
|
|
|
|
--input-bg: oklch(15% 0.012 264);
|
|
--input-border: oklch(27% 0.010 264);
|
|
--input-focus: var(--brand-400);
|
|
|
|
--ring: var(--brand-400);
|
|
|
|
--destructive: oklch(65% 0.22 25);
|
|
--destructive-foreground: var(--gray-0);
|
|
|
|
--gradient-start: oklch(9.5% 0.015 264);
|
|
--gradient-end: oklch(13% 0.012 264);
|
|
|
|
--success-light: oklch(18% 0.06 155);
|
|
--warning-light: oklch(18% 0.05 85);
|
|
--error-light: oklch(18% 0.05 25);
|
|
|
|
--surface-invert: oklch(13% 0.012 264);
|
|
--surface-invert-secondary: oklch(16.5% 0.010 264);
|
|
--surface-invert-tertiary: oklch(21% 0.010 264);
|
|
--on-invert: oklch(94% 0.010 264);
|
|
--on-invert-secondary: oklch(72% 0.012 264);
|
|
--on-invert-muted: oklch(68% 0.010 264);
|
|
--border-invert: oklch(21% 0.010 264);
|
|
--border-invert-strong: oklch(29% 0.009 264);
|
|
|
|
--theme-shadow-sm: 0 1px 3px oklch(9% 0.03 264 / 0.35);
|
|
--theme-shadow-md: 0 4px 12px oklch(9% 0.03 264 / 0.4),
|
|
0 0 1px oklch(9% 0.03 264 / 0.15);
|
|
--theme-shadow-lg: 0 8px 24px oklch(9% 0.03 264 / 0.45),
|
|
0 1px 2px oklch(50% 0.18 264 / 0.07);
|
|
--theme-shadow-xl: 0 24px 48px oklch(9% 0.03 264 / 0.55),
|
|
0 2px 4px oklch(50% 0.18 264 / 0.10);
|
|
}
|