75 lines
5.3 KiB
CSS
75 lines
5.3 KiB
CSS
/* Hallmark-Tokens (Theme Cobalt, Markenfarben MBO-Tech-IT). Einzige Quelle für Farben, Schriften, Abstände. */
|
|
:root {
|
|
color-scheme: light;
|
|
--space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
|
|
--text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
|
|
--text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
|
|
--text-poster: clamp(3.25rem, 7.5vw, 7.5rem);
|
|
--text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
|
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
--dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
|
|
--container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
|
|
--nav-h: 72px;
|
|
--z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
|
|
|
|
/* Papier, Tinte, Linien */
|
|
--color-paper: oklch(98.6% 0.005 250); --color-paper-2: oklch(96.2% 0.008 252); --color-paper-3: oklch(93% 0.011 252);
|
|
--color-ink: oklch(21% 0.028 262); --color-ink-2: oklch(36% 0.022 260); --color-muted: oklch(48% 0.018 258);
|
|
--color-rule: oklch(90% 0.009 252); --color-rule-2: oklch(83% 0.012 252);
|
|
--color-graphite: oklch(21% 0.024 262); --color-graphite-2: oklch(26.5% 0.026 262); --color-graphite-ink: oklch(93% 0.010 250); --color-graphite-muted: oklch(72% 0.022 256);
|
|
|
|
/* Signal: Markenblau #2563eb */
|
|
--color-accent: oklch(54.6% 0.215 263); --color-accent-2: oklch(76% 0.13 258); --color-accent-wash: oklch(95% 0.03 260); --color-accent-ink: oklch(98.6% 0.005 250);
|
|
--color-accent-deep: oklch(45% 0.21 265); --color-accent-edge: oklch(40% 0.17 264);
|
|
--color-accent-text: oklch(50% 0.2 264);
|
|
--color-focus: oklch(54.6% 0.215 263);
|
|
|
|
/* Marke: Orange #f97316, die eine Hauptaktion und das Logo */
|
|
--color-signal: oklch(70.5% 0.191 47.6); --color-signal-edge: oklch(54% 0.17 42); --color-signal-ink: oklch(21% 0.028 262);
|
|
--color-signal-text: oklch(55% 0.19 40);
|
|
|
|
--color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
|
|
|
|
/* ASCII-Feld */
|
|
--color-glyph-1: oklch(89% 0.025 254); --color-glyph-2: oklch(81% 0.045 255); --color-glyph-3: oklch(70% 0.085 256); --color-glyph-4: oklch(60% 0.13 258);
|
|
|
|
/* Tasten */
|
|
--color-key-face: oklch(99.4% 0.003 250); --color-key-edge: oklch(80% 0.016 254);
|
|
|
|
--font-display: var(--font-familjen), "Familjen Grotesk", system-ui, sans-serif;
|
|
--font-body: var(--font-plex), "IBM Plex Sans", system-ui, sans-serif;
|
|
--font-outlier: var(--font-mono), "JetBrains Mono", ui-monospace, monospace;
|
|
|
|
--radius-card: 8px; --radius-input: 6px; --radius-pill: 999px;
|
|
--cell-w: 8px; --cell-h: 16px; --cut: 8px; --cut-l: 16px;
|
|
--rule-hair: 1px; --shadow-card: 0 1px 2px oklch(21% 0.028 262 / 0.06);
|
|
--shadow-key: 0 3px 0 0 var(--color-key-edge), 0 6px 8px -4px oklch(21% 0.028 262 / 0.28), inset 0 1px 0 oklch(100% 0 0 / 0.9);
|
|
--shadow-key-signal: 0 3px 0 0 var(--color-signal-edge), 0 6px 8px -4px oklch(40% 0.12 45 / 0.4), inset 0 1px 0 oklch(100% 0 0 / 0.35);
|
|
--shadow-key-press: inset 0 1px 2px oklch(21% 0.028 262 / 0.14);
|
|
--tracking-display: -0.028em; --display-weight: 600;
|
|
}
|
|
|
|
/* Dunkel: neu abgeleitet, nicht invertiert. Gleiche Farbtöne, Tiefe über Helligkeit statt Schatten. */
|
|
.dark {
|
|
color-scheme: dark;
|
|
--color-paper: oklch(17% 0.02 262); --color-paper-2: oklch(20.5% 0.022 262); --color-paper-3: oklch(24% 0.024 262);
|
|
--color-ink: oklch(94% 0.01 250); --color-ink-2: oklch(83% 0.015 252); --color-muted: oklch(71% 0.02 256);
|
|
--color-rule: oklch(29% 0.022 262); --color-rule-2: oklch(37% 0.025 260);
|
|
--color-graphite: oklch(13% 0.018 262); --color-graphite-2: oklch(19% 0.02 262); --color-graphite-ink: oklch(93% 0.01 250); --color-graphite-muted: oklch(72% 0.022 256);
|
|
--color-accent: oklch(66% 0.17 262); --color-accent-2: oklch(80% 0.1 256); --color-accent-wash: oklch(25% 0.05 262); --color-accent-ink: oklch(15% 0.02 262);
|
|
--color-accent-deep: oklch(74% 0.15 258); --color-accent-edge: oklch(48% 0.15 262);
|
|
--color-accent-text: oklch(76% 0.13 258);
|
|
--color-focus: oklch(70% 0.16 262);
|
|
--color-signal-text: oklch(76% 0.16 52);
|
|
--color-error: oklch(70% 0.16 27); --color-success: oklch(72% 0.13 150);
|
|
--color-glyph-1: oklch(27% 0.03 262); --color-glyph-2: oklch(35% 0.05 260); --color-glyph-3: oklch(47% 0.09 258); --color-glyph-4: oklch(60% 0.13 258);
|
|
--color-key-face: oklch(24% 0.022 262); --color-key-edge: oklch(11% 0.02 262);
|
|
--shadow-card: 0 0 0 1px var(--color-rule);
|
|
--shadow-key: 0 3px 0 0 var(--color-key-edge), inset 0 1px 0 oklch(100% 0 0 / 0.06);
|
|
--shadow-key-signal: 0 3px 0 0 var(--color-signal-edge), inset 0 1px 0 oklch(100% 0 0 / 0.3);
|
|
--shadow-key-press: inset 0 1px 2px oklch(0% 0 0 / 0.4);
|
|
}
|
|
|
|
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; --nav-h: 64px; } }
|
|
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
|