vars.css

4.9 KB · raw

1@font-face {2  font-family: "Cormorant Garamond";3  font-weight: 300;4  font-style: italic;5  src: url("/fonts/CormorantGaramond-LightItalic.woff2") format("woff2");6  font-display: optional;7}89@font-face {10  font-family: "Cormorant Garamond";11  font-weight: 300;12  font-style: normal;13  src: url("/fonts/CormorantGaramond-Light.woff2") format("woff2");14  font-display: optional;15}1617@font-face {18  font-family: "Cormorant Garamond";19  font-weight: 400;20  font-style: normal;21  src: url("/fonts/CormorantGaramond-Regular.woff2") format("woff2");22  font-display: optional;23}2425@font-face {26  font-family: "Cormorant Garamond";27  font-weight: 400;28  font-style: italic;29  src: url("/fonts/CormorantGaramond-RegularItalic.woff2") format("woff2");30  font-display: optional;31}3233@font-face {34  font-family: "IBM Plex Mono";35  font-weight: 300;36  font-style: normal;37  src: url("/fonts/IBMPlexMono-Light.woff2") format("woff2");38  font-display: optional;39}4041@font-face {42  font-family: "IBM Plex Mono";43  font-weight: 300;44  font-style: italic;45  src: url("/fonts/IBMPlexMono-LightItalic.woff2") format("woff2");46  font-display: optional;47}4849@font-face {50  font-family: "IBM Plex Mono";51  font-weight: 400;52  font-style: normal;53  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");54  font-display: optional;55}5657@font-face {58  font-family: "Inter Variable";59  font-weight: 100 900;60  font-style: normal;61  src: url("/fonts/InterVariable.woff2") format("woff2-variations");62  font-display: optional;63}6465@font-face {66  font-family: "Inter";67  font-weight: 400;68  font-style: normal;69  src: url("/fonts/Inter-Regular.woff2") format("woff2");70  font-display: optional;71}7273@font-face {74  font-family: "PeachScript";75  font-weight: 400;76  font-style: normal;77  src: url("/fonts/PeachScript-Regular.otf") format("opentype");78  font-display: block;79}8081:root {82  --bg: #0C0A06;83  --s1: #131109;84  --s2: #1A1710;85  --s3: #221F14;86  --bg-1: var(--s1);87  --bg-2: var(--s2);88  --bg-3: var(--s3);89  --t0: #F0E8D8;90  --t1: rgba(240, 232, 216, 0.50);91  --t2: rgba(240, 232, 216, 0.20);92  --t3: rgba(240, 232, 216, 0.07);93  --t4: rgba(240, 232, 216, 0.04);94  --ac: #E8956D;95  --surface-card: rgba(240, 232, 216, 0.02);96  --surface-elevated: rgba(19, 17, 9, 0.88);97  --shell-top-solid: #000000;98  --shell-top-fade: rgba(12, 10, 6, 0.95);99  --shell-accent-a: color-mix(in srgb, var(--peach-accent) 8%, transparent);100  --shell-accent-b: color-mix(in srgb, var(--peach-accent) 6%, transparent);101  --breach: rgba(220, 80, 60, 0.7);102  --health: rgba(100, 210, 100, 0.75);103  --totp-tag: rgba(120, 175, 255, 0.75);104  --copy-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 14px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(240,232,216,0.04);105  --font-display: "Cormorant Garamond", "Times New Roman", serif;106  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;107  --font-ui: "Inter Variable", "Inter", system-ui, sans-serif;108  --spring: cubic-bezier(0.16, 1, 0.3, 1);109  --retreat: cubic-bezier(0.4, 0, 1, 1);110  --settle: cubic-bezier(0.34, 1.56, 0.64, 1);111  --dur-enter: 500ms;112  --dur-exit: 280ms;113  --dur-micro: 150ms;114  --peach-bg: var(--bg);115  --peach-s1: var(--s1);116  --peach-s2: var(--s2);117  --peach-s3: var(--s3);118  --peach-t0: var(--t0);119  --peach-t1: var(--t1);120  --peach-t2: var(--t2);121  --peach-t3: var(--t3);122  --peach-accent: var(--ac);123  --peach-accent-dim: color-mix(in srgb, var(--peach-accent) 25%, transparent);124  --peach-glow: #F49C702A;        /* accent bloom behind buttons/illustrations — set by applyAccent() */125  --peach-surface-tint: #F49C7009; /* accent tint on card surfaces — set by applyAccent() */126  --peach-border-accent: #F49C7024; /* accent-tinted border for active states — set by applyAccent() */127  --peach-breach: var(--breach);128  --peach-health-ok: var(--health);129  --peach-totp-tag: var(--totp-tag);130  --peach-sync-ok: #5ebd5e;131  --peach-sync-busy: #c8a840;132  --peach-sync-off: var(--peach-t2);133  --peach-sync-err: var(--peach-breach);134  --peach-curve-arrival: var(--spring);135  --peach-curve-departure: var(--retreat);136  --peach-curve-settle: var(--settle);137  --peach-dur-80: 80ms;138  --peach-dur-150: 150ms;139  --peach-dur-280: 280ms;140  --peach-dur-380: 380ms;141  --peach-dur-500: 500ms;142  --peach-dur-600: 600ms;143  --peach-copy-clear: 1.4s;144}145146.light {147  --bg: #EEE3CC;148  --s1: #E7DBC0;149  --s2: #E0D3B4;150  --s3: #D8CAA7;151  --bg-1: var(--s1);152  --bg-2: var(--s2);153  --bg-3: var(--s3);154  --t0: #221809;155  --t1: rgba(34, 24, 9, 0.82);156  --t2: rgba(34, 24, 9, 0.58);157  --t3: rgba(34, 24, 9, 0.12);158  --t4: rgba(34, 24, 9, 0.06);159  --surface-card: rgba(34, 24, 9, 0.03);160  --surface-elevated: rgba(238, 227, 204, 0.97);161  --shell-top-solid: rgba(238, 227, 204, 0.98);162  --shell-top-fade: rgba(231, 219, 192, 0.96);163  --shell-accent-a: color-mix(in srgb, var(--peach-accent) 6%, transparent);164  --shell-accent-b: color-mix(in srgb, var(--peach-accent) 3%, transparent);165  --copy-shadow: 0 2px 8px rgba(80, 56, 32, 0.10), 0 14px 48px rgba(80, 56, 32, 0.10), 0 0 0 1px rgba(28,25,21,0.05);166}