Repository navigation
Expand file tree
/
Copy pathtokens.css
More file actions
60 lines (53 loc) · 1.48 KB
/
Copy pathtokens.css
File metadata and controls
60 lines (53 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* nullobj design system: monochrome, one variable typeface, pill controls.
Theme lives on <html data-theme="light|dark">. Use tokens, never hard-code #fff or #000. */
@import url('./fonts/fonts.css');
:root {
--bg: #ffffff;
--fg: #0a0a0a;
--muted: #6a6a6a;
--faint: #9a9a9a;
--line: #e6e6e6;
--line-strong: #cfcfcf;
--wash: #f5f5f5;
--danger: #c4262b;
--ok: #138a4a;
--warn: #b7791f;
--press: #333333;
--font-sans: "Inter Tight Variable", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
--tracking-tight: -0.03em;
--tracking-caps: 0.06em;
--radius-pill: 999px;
--radius-lg: 18px;
--radius-md: 12px;
--radius-sm: 8px;
--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
--dur-fast: 140ms;
--dur-base: 240ms;
--space-xs: 4px;
--space-sm: 8px;
--space-md: 12px;
--space-lg: 16px;
--space-xl: 20px;
--space-2xl: 24px;
--space-3xl: 32px;
--ring: 0 0 0 3px rgba(10, 10, 10, 0.18);
--shadow-pop: 0 18px 40px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
color-scheme: light;
}
[data-theme="dark"] {
--bg: #0a0a0a;
--fg: #f4f4f4;
--muted: #9b9b9b;
--faint: #6f6f6f;
--line: #242424;
--line-strong: #3a3a3a;
--wash: #141414;
--danger: #ff7b7f;
--ok: #4cd08b;
--warn: #e0a84a;
--press: #cfcfcf;
--ring: 0 0 0 3px rgba(244, 244, 244, 0.25);
--shadow-pop: 0 18px 40px rgba(0, 0, 0, 0.7);
color-scheme: dark;
}