Initial release — Astro Rocket v1.0.0
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
/* =============================================================================
|
||||
Astro Rocket Theme - Cyan
|
||||
=============================================================================
|
||||
Electric cyan (hue 200°). Vibrant and fresh — inspired by Tailwind's cyan
|
||||
palette. Sits just above teal, with a more electric, saturated feel.
|
||||
|
||||
Dark mode: near-black with a vivid cyan tint and bright glow.
|
||||
Light mode: clean neutral whites with cyan as the single accent.
|
||||
============================================================================= */
|
||||
|
||||
html[data-theme="cyan"] {
|
||||
/* -------------------------------------------------------------------------
|
||||
Brand Scale Override — Electric Cyan (hue 200)
|
||||
Inspired by Tailwind cyan-*. Brighter and more saturated than teal.
|
||||
------------------------------------------------------------------------- */
|
||||
--brand-50: oklch(97.5% 0.02 200);
|
||||
--brand-100: oklch(95% 0.04 200);
|
||||
--brand-200: oklch(88% 0.10 200);
|
||||
--brand-300: oklch(78% 0.16 200);
|
||||
--brand-400: oklch(69% 0.21 200);
|
||||
--brand-500: oklch(62.5% 0.22 200);
|
||||
--brand-600: oklch(53% 0.19 200);
|
||||
--brand-700: oklch(44.5% 0.16 200);
|
||||
--brand-800: oklch(36% 0.12 200);
|
||||
--brand-900: oklch(26% 0.08 200);
|
||||
|
||||
/* -------------------------------------------------------------------------
|
||||
Semantic Tokens - Light Mode
|
||||
------------------------------------------------------------------------- */
|
||||
--background: var(--gray-0);
|
||||
--background-secondary: oklch(97.5% 0.010 200);
|
||||
--background-tertiary: oklch(95% 0.018 200);
|
||||
--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 cyan-dark
|
||||
------------------------------------------------------------------------- */
|
||||
--surface-invert: oklch(9.5% 0.012 200);
|
||||
--surface-invert-secondary: oklch(13.5% 0.010 200);
|
||||
--surface-invert-tertiary: oklch(17.5% 0.008 200);
|
||||
--on-invert: var(--gray-50);
|
||||
--on-invert-secondary: var(--gray-200);
|
||||
--on-invert-muted: var(--gray-300);
|
||||
--border-invert: oklch(21% 0.010 200);
|
||||
--border-invert-strong: oklch(29% 0.008 200);
|
||||
|
||||
/* -------------------------------------------------------------------------
|
||||
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 — cyan-tinted
|
||||
------------------------------------------------------------------------- */
|
||||
--theme-shadow-sm: 0 1px 2px oklch(20% 0.01 200 / 0.06);
|
||||
--theme-shadow-md: 0 4px 8px oklch(20% 0.01 200 / 0.08),
|
||||
0 0 1px oklch(20% 0.01 200 / 0.04);
|
||||
--theme-shadow-lg: 0 8px 16px oklch(20% 0.01 200 / 0.1),
|
||||
0 0 1px oklch(20% 0.01 200 / 0.04);
|
||||
--theme-shadow-xl: 0 24px 48px oklch(20% 0.01 200 / 0.14),
|
||||
0 0 1px oklch(20% 0.01 200 / 0.04);
|
||||
|
||||
/* -------------------------------------------------------------------------
|
||||
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 cyan glow
|
||||
------------------------------------------------------------------------- */
|
||||
html.dark[data-theme="cyan"] {
|
||||
--background: oklch(9.5% 0.012 200);
|
||||
--background-secondary: oklch(15% 0.010 200);
|
||||
--background-tertiary: oklch(20% 0.008 200);
|
||||
--background-elevated: oklch(15% 0.010 200);
|
||||
|
||||
--foreground: oklch(94% 0.008 200);
|
||||
--foreground-secondary: oklch(82% 0.010 200);
|
||||
--foreground-muted: oklch(68% 0.008 200);
|
||||
--foreground-subtle: oklch(58% 0.006 200); /* ~4.8:1 on bg — WCAG AA */
|
||||
|
||||
--border: oklch(20% 0.010 200);
|
||||
--border-strong: oklch(27% 0.008 200);
|
||||
--border-subtle: oklch(13.5% 0.010 200);
|
||||
|
||||
--primary: oklch(94% 0.008 200);
|
||||
--primary-hover: oklch(82% 0.010 200);
|
||||
--primary-foreground: oklch(9.5% 0.012 200);
|
||||
|
||||
--secondary: oklch(20% 0.008 200);
|
||||
--secondary-hover: oklch(24% 0.008 200);
|
||||
--secondary-foreground: oklch(90% 0.008 200);
|
||||
|
||||
--accent: var(--brand-400);
|
||||
--accent-hover: var(--brand-500);
|
||||
--accent-light: oklch(18% 0.06 200);
|
||||
|
||||
--muted: oklch(20% 0.008 200);
|
||||
--muted-foreground: oklch(68% 0.008 200);
|
||||
|
||||
--card: oklch(15% 0.010 200);
|
||||
--card-border: oklch(23% 0.010 200);
|
||||
|
||||
--input-bg: oklch(15% 0.010 200);
|
||||
--input-border: oklch(27% 0.008 200);
|
||||
--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.012 200);
|
||||
--gradient-end: oklch(13% 0.010 200);
|
||||
|
||||
--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.010 200);
|
||||
--surface-invert-secondary: oklch(16.5% 0.008 200);
|
||||
--surface-invert-tertiary: oklch(21% 0.008 200);
|
||||
--on-invert: oklch(94% 0.008 200);
|
||||
--on-invert-secondary: oklch(72% 0.010 200);
|
||||
--on-invert-muted: oklch(68% 0.008 200);
|
||||
--border-invert: oklch(21% 0.008 200);
|
||||
--border-invert-strong: oklch(29% 0.007 200);
|
||||
|
||||
--theme-shadow-sm: 0 1px 3px oklch(9% 0.02 200 / 0.35);
|
||||
--theme-shadow-md: 0 4px 12px oklch(9% 0.02 200 / 0.4),
|
||||
0 0 1px oklch(9% 0.02 200 / 0.15);
|
||||
--theme-shadow-lg: 0 8px 24px oklch(9% 0.02 200 / 0.45),
|
||||
0 1px 2px oklch(50% 0.15 200 / 0.06);
|
||||
--theme-shadow-xl: 0 24px 48px oklch(9% 0.02 200 / 0.55),
|
||||
0 2px 4px oklch(50% 0.15 200 / 0.09);
|
||||
}
|
||||
Reference in New Issue
Block a user