124 lines
3.5 KiB
CSS
124 lines
3.5 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC",
|
|
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
color: var(--ui-text);
|
|
background: transparent;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
--ui-font-sans:
|
|
-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC",
|
|
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
--ui-font-mono: "SFMono-Regular", "SF Mono", "Cascadia Code", ui-monospace, monospace;
|
|
|
|
--ui-text: #342019;
|
|
--ui-text-strong: #2d1a11;
|
|
--ui-text-soft: #6f5447;
|
|
--ui-text-muted: #92786a;
|
|
--ui-text-faint: #aa9081;
|
|
--ui-text-on-dark: #fff7f1;
|
|
--ui-text-on-accent: #fff8f2;
|
|
|
|
--ui-bg: #f5eee7;
|
|
--ui-bg-elevated: #fbf7f2;
|
|
--ui-surface: rgba(255, 252, 249, 0.78);
|
|
--ui-surface-strong: #fffbf7;
|
|
--ui-surface-solid: #fff;
|
|
--ui-surface-hover: #fff;
|
|
--ui-surface-muted: rgba(91, 55, 35, 0.055);
|
|
--ui-surface-inset: rgba(255, 255, 255, 0.62);
|
|
--ui-surface-dark: rgba(31, 26, 25, 0.9);
|
|
|
|
--ui-border: rgba(89, 51, 34, 0.1);
|
|
--ui-border-soft: rgba(89, 51, 34, 0.07);
|
|
--ui-border-strong: rgba(89, 51, 34, 0.18);
|
|
--ui-border-on-dark: rgba(255, 255, 255, 0.14);
|
|
|
|
--ui-accent: #f26a33;
|
|
--ui-accent-strong: #d94f1f;
|
|
--ui-accent-soft: #fff0e5;
|
|
--ui-accent-wash: rgba(242, 106, 51, 0.1);
|
|
--ui-accent-line: rgba(242, 106, 51, 0.24);
|
|
--ui-focus: rgba(242, 106, 51, 0.55);
|
|
--ui-focus-ring: 0 0 0 3px rgba(242, 106, 51, 0.14);
|
|
|
|
--ui-success: #14794a;
|
|
--ui-success-strong: #0f6439;
|
|
--ui-success-soft: #edf8f1;
|
|
--ui-danger: #b8442a;
|
|
--ui-danger-strong: #9c3d2f;
|
|
--ui-danger-soft: #fff0ed;
|
|
--ui-warning: #a84c29;
|
|
--ui-warning-soft: #fff1e7;
|
|
--ui-info: #4b6fa8;
|
|
--ui-info-soft: #eaf0fb;
|
|
|
|
--ui-shadow-xs: 0 2px 7px rgba(74, 43, 27, 0.08);
|
|
--ui-shadow-sm: 0 8px 24px rgba(74, 43, 27, 0.09);
|
|
--ui-shadow-md: 0 14px 38px rgba(74, 43, 27, 0.14);
|
|
--ui-shadow-lg: 0 28px 76px rgba(62, 33, 18, 0.22);
|
|
--ui-shadow-dark: 0 16px 44px rgba(0, 0, 0, 0.28);
|
|
|
|
--ui-radius-xs: 7px;
|
|
--ui-radius-sm: 10px;
|
|
--ui-radius-md: 13px;
|
|
--ui-radius-lg: 16px;
|
|
--ui-radius-xl: 22px;
|
|
--ui-radius-hero: 26px;
|
|
--ui-radius-pill: 999px;
|
|
|
|
--ui-space-1: 2px;
|
|
--ui-space-2: 4px;
|
|
--ui-space-3: 6px;
|
|
--ui-space-4: 8px;
|
|
--ui-space-5: 10px;
|
|
--ui-space-6: 12px;
|
|
--ui-space-7: 16px;
|
|
--ui-space-8: 20px;
|
|
--ui-space-9: 24px;
|
|
--ui-space-10: 32px;
|
|
|
|
--ui-control-xs: 26px;
|
|
--ui-control-sm: 32px;
|
|
--ui-control-md: 36px;
|
|
--ui-control-lg: 44px;
|
|
--ui-control-xl: 46px;
|
|
|
|
--ui-text-3xs: 11px;
|
|
--ui-text-2xs: 12.5px;
|
|
--ui-text-xs: 13.5px;
|
|
--ui-text-sm: 14.5px;
|
|
--ui-text-md: 16px;
|
|
--ui-text-lg: 18px;
|
|
--ui-text-xl: 21px;
|
|
--ui-text-hero: clamp(28px, 3vw, 38px);
|
|
|
|
--ui-dimmed: 0.55;
|
|
--ui-duration-fast: 140ms;
|
|
--ui-duration: 180ms;
|
|
--ui-ease: cubic-bezier(0.22, 0.68, 0.32, 1);
|
|
|
|
/* Compatibility aliases for view-level layout code while it is migrated. */
|
|
--ink: var(--ui-text);
|
|
--muted: var(--ui-text-muted);
|
|
--orange: var(--ui-accent);
|
|
--orange-deep: var(--ui-accent-strong);
|
|
--cream: #fff6ee;
|
|
--paper: var(--ui-bg-elevated);
|
|
--line: var(--ui-border);
|
|
--text-3xs: var(--ui-text-3xs);
|
|
--text-2xs: var(--ui-text-2xs);
|
|
--text-xs: var(--ui-text-xs);
|
|
--text-sm: var(--ui-text-sm);
|
|
--text-md: var(--ui-text-md);
|
|
--text-lg: var(--ui-text-lg);
|
|
--text-xl: var(--ui-text-xl);
|
|
--text-hero: var(--ui-text-hero);
|
|
--dimmed: var(--ui-dimmed);
|
|
--radius-sm: var(--ui-radius-md);
|
|
--radius-md: var(--ui-radius-lg);
|
|
}
|