SPB Git

Repository Public

tokens.css 6.7 KB 157 lines css

1/**2 * =============================================================================3 * SP BOUCHER | SOURCE FILE4 * =============================================================================5 * Project      : MacLustr LLM API6 * File         : web/assets/tokens.css7 * Author       : Simon-Pierre Boucher | https://spboucher.ai8 * Contact      : admin@spboucher.ai9 * Copyright    : (c) 2026 Simon-Pierre Boucher10 * License      : None specified (no license file in this repository)11 * =============================================================================12 * END OF SP BOUCHER SOURCE HEADER13 * =============================================================================14 */1516/* MacLustr LLM API — jetons de design partagés (portail public, Playground, Dashboard).17   Identité : « graphite & aurore » — fonds graphite profonds, un accent aurore (vert menthe → cyan → violet)18   utilisé avec retenue, typographie système Apple très soignée. */1920:root {21  color-scheme: dark;2223  /* Typographie */24  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter",25    "Helvetica Neue", "Segoe UI", Roboto, sans-serif;26  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;27  --text-xs: 0.75rem;28  --text-sm: 0.8125rem;29  --text-base: 0.9375rem;30  --text-md: 1.0625rem;31  --text-lg: 1.25rem;32  --text-xl: 1.5rem;33  --text-2xl: 2rem;34  --text-3xl: clamp(2.25rem, 5vw, 3.25rem);35  --text-hero: clamp(2.6rem, 7.2vw, 5.25rem);36  --tracking-tight: -0.022em;37  --tracking-hero: -0.045em;38  --leading-tight: 1.08;39  --leading-body: 1.62;4041  /* Espacements, rayons */42  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;43  --space-6: 32px; --space-7: 48px; --space-8: 72px; --space-9: 112px;44  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 28px; --radius-pill: 999px;45  --content-max: 1180px;4647  /* Mouvements */48  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);49  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);50  --dur-fast: 140ms; --dur-med: 260ms; --dur-slow: 620ms;5152  /* Accent aurore (identique dans les deux thèmes, ajusté en luminosité) */53  --aurora-1: #5ef2c4;54  --aurora-2: #4cc9f0;55  --aurora-3: #9b8cff;56  --gradient-aurora: linear-gradient(110deg, var(--aurora-1) 0%, var(--aurora-2) 48%, var(--aurora-3) 100%);5758  /* Thème sombre (défaut) */59  --bg: #07090c;60  --bg-raised: #0d1014;61  --surface: #12161b;62  --surface-2: #181d24;63  --surface-3: #1f252e;64  --border: rgba(255, 255, 255, 0.075);65  --border-strong: rgba(255, 255, 255, 0.14);66  --text: #eef1f5;67  --text-2: #a9b1bd;68  --text-3: #6f7986;69  --accent: #5ef2c4;70  --accent-strong: #8ff7d8;71  --accent-contrast: #04140f;72  --accent-soft: rgba(94, 242, 196, 0.11);73  --accent-ring: rgba(94, 242, 196, 0.42);74  --ok: #4ade9c; --ok-soft: rgba(74, 222, 156, 0.12);75  --warn: #f5c451; --warn-soft: rgba(245, 196, 81, 0.13);76  --danger: #ff6b7a; --danger-soft: rgba(255, 107, 122, 0.13);77  --info: #6cb6ff; --info-soft: rgba(108, 182, 255, 0.13);78  --code-bg: #0b0e12;79  --code-text: #d7dde6;80  --code-comment: #6b7684; --code-keyword: #c4a7ff; --code-string: #7ee2b8; --code-number: #f5c451;81  --code-func: #6cb6ff; --code-punct: #8b95a3;82  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.5);83  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 32px -12px rgba(0, 0, 0, 0.7);84  --shadow-3: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 32px 80px -24px rgba(0, 0, 0, 0.85);85  --glass: rgba(13, 16, 20, 0.72);86  --grid-line: rgba(255, 255, 255, 0.035);87}8889:root[data-theme="light"] {90  color-scheme: light;91  --bg: #f6f7f9;92  --bg-raised: #ffffff;93  --surface: #ffffff;94  --surface-2: #f1f3f6;95  --surface-3: #e7eaef;96  --border: rgba(12, 18, 28, 0.09);97  --border-strong: rgba(12, 18, 28, 0.17);98  --text: #0c1118;99  --text-2: #4a5462;100  --text-3: #7b8594;101  --accent: #0a8f6c;102  --accent-strong: #067356;103  --accent-contrast: #ffffff;104  --accent-soft: rgba(10, 143, 108, 0.09);105  --accent-ring: rgba(10, 143, 108, 0.35);106  --ok: #0f9d68; --ok-soft: rgba(15, 157, 104, 0.1);107  --warn: #b7791f; --warn-soft: rgba(183, 121, 31, 0.11);108  --danger: #d6344a; --danger-soft: rgba(214, 52, 74, 0.09);109  --info: #2166d1; --info-soft: rgba(33, 102, 209, 0.09);110  --code-bg: #0f1318;111  --code-text: #d7dde6;112  --shadow-1: 0 1px 2px rgba(12, 18, 28, 0.06);113  --shadow-2: 0 1px 2px rgba(12, 18, 28, 0.05), 0 12px 32px -14px rgba(12, 18, 28, 0.18);114  --shadow-3: 0 2px 4px rgba(12, 18, 28, 0.05), 0 32px 80px -28px rgba(12, 18, 28, 0.28);115  --glass: rgba(255, 255, 255, 0.78);116  --grid-line: rgba(12, 18, 28, 0.045);117}118119@media (prefers-color-scheme: light) {120  :root:not([data-theme]) {121    color-scheme: light;122    --bg: #f6f7f9; --bg-raised: #ffffff; --surface: #ffffff; --surface-2: #f1f3f6; --surface-3: #e7eaef;123    --border: rgba(12, 18, 28, 0.09); --border-strong: rgba(12, 18, 28, 0.17);124    --text: #0c1118; --text-2: #4a5462; --text-3: #7b8594;125    --accent: #0a8f6c; --accent-strong: #067356; --accent-contrast: #ffffff;126    --accent-soft: rgba(10, 143, 108, 0.09); --accent-ring: rgba(10, 143, 108, 0.35);127    --ok: #0f9d68; --ok-soft: rgba(15, 157, 104, 0.1); --warn: #b7791f; --warn-soft: rgba(183, 121, 31, 0.11);128    --danger: #d6344a; --danger-soft: rgba(214, 52, 74, 0.09); --info: #2166d1; --info-soft: rgba(33, 102, 209, 0.09);129    --shadow-1: 0 1px 2px rgba(12, 18, 28, 0.06);130    --shadow-2: 0 1px 2px rgba(12, 18, 28, 0.05), 0 12px 32px -14px rgba(12, 18, 28, 0.18);131    --shadow-3: 0 2px 4px rgba(12, 18, 28, 0.05), 0 32px 80px -28px rgba(12, 18, 28, 0.28);132    --glass: rgba(255, 255, 255, 0.78); --grid-line: rgba(12, 18, 28, 0.045);133  }134}135136*, *::before, *::after { box-sizing: border-box; }137html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }138body {139  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans);140  font-size: var(--text-base); line-height: var(--leading-body);141  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;142  font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility;143}144code, pre, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }145a { color: inherit; }146:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }147::selection { background: var(--accent-soft); color: var(--text); }148.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;149  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }150.tabular { font-variant-numeric: tabular-nums; }151152@media (prefers-reduced-motion: reduce) {153  html { scroll-behavior: auto; }154  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;155    transition-duration: 0.01ms !important; }156}157
Files main
Menu

Theme