chore: consolidate platform split checks
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
--text-strong: #303135;
|
||||
--muted: #8a8781;
|
||||
--muted-text: var(--muted);
|
||||
--control-disabled-bg: #ebe8e2;
|
||||
--control-disabled-border: #c2bcb3;
|
||||
--control-disabled-text: #706b63;
|
||||
--control-disabled-placeholder: #969087;
|
||||
--control-disabled-label: #7d776f;
|
||||
|
||||
--green: #7bbcaf;
|
||||
--amber: #f5c56c;
|
||||
@@ -45,6 +50,42 @@
|
||||
--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
:root[data-theme="dark"] {
|
||||
--rail-bg: #171819;
|
||||
--rail-bg-active: #0f1011;
|
||||
--bg: #202120;
|
||||
--bar: #34342f;
|
||||
--panel: #2b2c2a;
|
||||
--panel-soft: #242523;
|
||||
--panel-header: #30312e;
|
||||
--surface: #262724;
|
||||
--surface-subtle: #2e302c;
|
||||
--line: #454740;
|
||||
--line-dark: #5b5d54;
|
||||
--border: var(--line);
|
||||
--text: #dfddd7;
|
||||
--text-strong: #f6f4ed;
|
||||
--muted: #aaa79d;
|
||||
--muted-text: var(--muted);
|
||||
--control-disabled-bg: #33352f;
|
||||
--control-disabled-border: #5f6058;
|
||||
--control-disabled-text: #b8b4aa;
|
||||
--control-disabled-placeholder: #918d83;
|
||||
--control-disabled-label: #aaa69b;
|
||||
--shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.18);
|
||||
--shadow-menu: 0 18px 44px rgba(0,0,0,.42);
|
||||
--shadow-popover: 0 8px 22px rgba(0,0,0,.36);
|
||||
}
|
||||
|
||||
.ui-reduce-motion *,
|
||||
.ui-reduce-motion *::before,
|
||||
.ui-reduce-motion *::after {
|
||||
animation-duration: .001ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: .001ms !important;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
html, body, #root { height: 100%; }
|
||||
body { margin: 0; overflow: hidden; font-family: var(--font); color: var(--text); background: var(--bg); }
|
||||
|
||||
Reference in New Issue
Block a user