:root { color-scheme: light; --cohaise-gray-50: #f7f5f4; --cohaise-gray-100: #f0eeee; --cohaise-gray-200: #e4e0e0; --cohaise-gray-300: #d6d1d1; --cohaise-gray-400: #a8a0a0; --cohaise-gray-500: #7a7373; --cohaise-gray-600: #5c5656; --cohaise-gray-700: #423d3d; --cohaise-gray-800: #2a2626; --cohaise-gray-900: #1a1616; --cohaise-gray-950: #0d0909; /* Echelle organisee autour de #b71c1c, la valeur reelle de --clr-accent du site. Les tons plus sombres servent au survol en mode clair, les plus clairs au survol et au focus en mode sombre. */ --cohaise-crimson-950: #3d070e; --cohaise-crimson-900: #5e0a14; --cohaise-crimson-800: #8f1116; --cohaise-crimson-700: #b71c1c; --cohaise-crimson-600: #c92a2a; --cohaise-crimson-500: #d32f2f; --cohaise-yellow-500: oklch(0.828 0.189 84); --cohaise-background: var(--cohaise-gray-50); --cohaise-foreground: #1a1a1a; --cohaise-surface: #ffffff; --cohaise-surface-raised: #ffffff; --cohaise-surface-sunken: #f0eeee; --cohaise-surface-muted: #f4f2f2; --cohaise-surface-hover: #ece8e8; --cohaise-surface-overlay: #ffffff; --cohaise-muted-foreground: #5c5656; --cohaise-subtle-foreground: #7a7373; /* Les separateurs sont des filets carmin tres desatures, pas du gris. C'est ce qui donne au produit son teinte plutot que celle d'une carte bancaire. */ --cohaise-border: #e8dcdc; --cohaise-border-strong: #d4bfbf; --cohaise-border-control: #8f8181; --cohaise-primary: var(--cohaise-crimson-700); --cohaise-primary-foreground: #ffffff; --cohaise-primary-hover: var(--cohaise-crimson-800); --cohaise-accent: var(--cohaise-crimson-700); --cohaise-accent-foreground: #ffffff; --cohaise-accent-hover: var(--cohaise-crimson-800); /* Ton dedie aux petits elements qui sont poses SUR une surface, donc lus comme element d'interface et non comme aplat de marque : filet de carte, carre de liste, anneau de focus. Le rouge de marque n'y atteint que 2.65:1 sur la surface sombre. */ --cohaise-accent-graphic: var(--cohaise-crimson-700); --cohaise-ring: var(--cohaise-crimson-700); --cohaise-destructive: #d32f2f; --cohaise-destructive-foreground: #ffffff; --cohaise-destructive-hover: #a31818; --cohaise-success: oklch(0.52 0.128 155); --cohaise-success-foreground: #ffffff; --cohaise-warning: var(--cohaise-yellow-500); --cohaise-warning-foreground: #1a0505; --cohaise-info: #0f6d78; --cohaise-info-foreground: #ffffff; --cohaise-skeleton-base: #e4e0e0; --cohaise-skeleton-highlight: #f7f5f4; --cohaise-shadow-sm: 0 1px 2px 0 oklch(0.1 0.02 20 / 0.06); --cohaise-shadow-md: 0 4px 12px -2px oklch(0.1 0.02 20 / 0.1); --cohaise-shadow-lg: 0 12px 32px -8px oklch(0.1 0.02 20 / 0.16); /* Orbitron porte les chaines courtes, la marque et les titres. Poppins porte le texte courant : Orbitron est trop large pour etre lu en flux. Cinzel reste disponible pour une accroche courte ou Editorial, jamais pour un paragraphe. */ --cohaise-font-display: "Orbitron", "Cinzel", sans-serif; --cohaise-font-logo: "Orbitron", "Cinzel", sans-serif; --cohaise-font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --cohaise-font-serif: "Cinzel", "Times New Roman", serif; /* Auto-hebergee comme les trois autres. En repli systeme, la meme taille de chiffres se rendait differemment sur le P330, le portable et le telephone. */ --cohaise-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace; /* Orbitron a des chassees tres larges : sans correction, un titre de 32 px parait avoir ete espace a la main et un mot-symlose des caracteres. */ --cohaise-tracking-display: -0.015em; --cohaise-tracking-logo: 0.16em; --cohaise-tracking-label: 0.09em; --cohaise-tracking-body: 0; /* Deux echelles et non une seule. Un conteneur qui enveloppe du contenu merite d'etre plus doux qu'un bouton qu'on presse : c'est ce decalage qui donne la hierarchie, la ou un rayon unique uniforme rend tout interchangeable. */ --cohaise-radius-sm: 0.375rem; --cohaise-radius-md: 0.5rem; --cohaise-radius-lg: 0.75rem; --cohaise-radius-xl: 1rem; --cohaise-radius-full: 9999px; --cohaise-ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1); --cohaise-ease-in-out-soft: cubic-bezier(0.65, 0, 0.35, 1); --cohaise-duration-fast: 150ms; --cohaise-duration-base: 250ms; --cohaise-duration-slow: 400ms; } .dark { color-scheme: dark; --cohaise-background: #050000; --cohaise-foreground: #f4f4f2; /* Surfaces neutres comme sur le site, le fond porte seul la dominante rouge. */ --cohaise-surface: #1a1a1a; --cohaise-surface-raised: #242424; --cohaise-surface-sunken: #0a0a0a; --cohaise-surface-muted: #1f1f1f; --cohaise-surface-hover: #2a2a2a; --cohaise-surface-overlay: #242424; --cohaise-muted-foreground: #a8a0a0; --cohaise-subtle-foreground: #7a7373; --cohaise-border: #2e1c1c; --cohaise-border-strong: #46262a; --cohaise-border-control: #a85a62; /* #b71c1c reste lisible dans les deux modes : texte blanc a 6.57:1, et 3.18:1 sur le fond, au-dessus du seuil de 3:1 pour un element d'interface. */ --cohaise-primary: var(--cohaise-crimson-700); --cohaise-primary-foreground: #ffffff; --cohaise-primary-hover: var(--cohaise-crimson-600); --cohaise-accent: var(--cohaise-crimson-700); --cohaise-accent-foreground: #ffffff; --cohaise-accent-hover: var(--cohaise-crimson-600); --cohaise-accent-graphic: var(--cohaise-crimson-600); --cohaise-ring: var(--cohaise-crimson-600); --cohaise-destructive: #ef4444; --cohaise-destructive-foreground: #1a0505; --cohaise-destructive-hover: #f87171; --cohaise-success: oklch(0.792 0.152 155); --cohaise-success-foreground: #050000; --cohaise-warning: var(--cohaise-yellow-500); --cohaise-warning-foreground: #1a0505; --cohaise-info: oklch(0.752 0.112 194); --cohaise-info-foreground: #050000; --cohaise-skeleton-base: #2a1a1a; --cohaise-skeleton-highlight: #3a2222; --cohaise-shadow-sm: 0 1px 2px 0 oklch(0 0 0 / 0.4); --cohaise-shadow-md: 0 4px 12px -2px oklch(0 0 0 / 0.5); --cohaise-shadow-lg: 0 12px 32px -8px oklch(0 0 0 / 0.6); --cohaise-shadow-crimson: 0 0 0 1px oklch(0.55 0.22 15 / 0.28), 0 8px 30px -12px oklch(0.55 0.22 15 / 0.55); }