-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtokens.css
More file actions
206 lines (193 loc) · 7.46 KB
/
Copy pathtokens.css
File metadata and controls
206 lines (193 loc) · 7.46 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/**
* Living Stage tokens — canonical source for Mathemagics Interactive.
* Component styles consume semantic tokens or compatibility aliases below.
*/
:root {
color-scheme: light;
/* Core palette */
--color-paper: oklch(96.5% 0.018 78);
--color-paper-2: oklch(99% 0.008 78);
--color-paper-3: oklch(92.5% 0.024 78);
--color-ink: oklch(20% 0.032 302);
--color-ink-2: oklch(38% 0.036 302);
--color-muted: oklch(46% 0.03 302);
--color-neutral: oklch(32% 0.032 302);
--color-rule: oklch(84% 0.026 78);
--color-rule-2: oklch(72% 0.035 78);
--color-accent: oklch(76% 0.155 78);
--color-accent-strong: oklch(47% 0.132 67);
--color-accent-ink: oklch(18% 0.03 67);
--color-focus: oklch(54% 0.2 245);
--color-insight: oklch(48% 0.14 225);
--color-insight-surface: oklch(93% 0.035 225);
--color-success: oklch(43% 0.132 145);
--color-success-surface: oklch(92% 0.04 145);
--color-error: oklch(50% 0.175 25);
--color-error-surface: oklch(93% 0.035 25);
--color-stage: oklch(20% 0.04 302);
--color-stage-ink: oklch(96% 0.012 84);
--color-stage-muted: oklch(78% 0.03 300);
--color-scrim: oklch(13% 0.025 302 / 0.56);
--color-shadow: oklch(22% 0.035 302 / 0.12);
--color-shadow-soft: oklch(22% 0.035 302 / 0.07);
/* Type — Korean-first and offline-safe */
--font-display: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Noto Sans KR',
system-ui, sans-serif;
--font-body: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Noto Sans KR',
system-ui, sans-serif;
--font-outlier: 'SFMono-Regular', Consolas, 'Liberation Mono', ui-monospace, monospace;
--font-numeric: var(--font-outlier);
--display-weight: 850;
--display-style: normal;
--tracking-display: -0.035em;
--tracking-label: 0.045em;
--tracking-numeric: -0.02em;
--text-xs: 0.75rem;
--text-sm: 0.875rem;
--text-md: 1rem;
--text-lg: 1.25rem;
--text-xl: 1.625rem;
--text-2xl: 2.125rem;
--text-display: clamp(2rem, 6vw, 3.75rem);
/* 4-point spacing */
--space-3xs: 0.25rem;
--space-2xs: 0.5rem;
--space-xs: 0.75rem;
--space-sm: 1rem;
--space-md: 1.5rem;
--space-lg: 2rem;
--space-xl: 3rem;
--space-2xl: 4rem;
--space-3xl: 6rem;
--space-4xl: 8rem;
/* Geometry */
--rule-hair: 1px;
--rule-fine: 2px;
--radius-card: 1.125rem;
--radius-pill: 999px;
--radius-input: 0.75rem;
--radius-small: 0.75rem;
--radius-large: 1.75rem;
--tap: 3rem;
--app-max: 48rem;
--app-wide: 76rem;
--page-gutter: clamp(1rem, 4vw, 3rem);
/* Elevation */
--shadow-card: 0 1px 0 oklch(100% 0.005 78 / 0.7) inset, 0 8px 24px var(--color-shadow-soft);
--shadow-cell: 0 4px 12px var(--color-shadow-soft);
--shadow-inset: inset 0 0 0 1px var(--color-rule);
--shadow-stage: 0 22px 60px var(--color-shadow);
--shadow-spotlight: 0 20px 52px var(--color-shadow), 0 0 0 1px var(--color-rule);
/* Motion canon */
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in: cubic-bezier(0.7, 0, 0.84, 0);
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
--ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
--dur-micro: 100ms;
--dur-short: 180ms;
--dur-long: 420ms;
/* Stage treatment */
--stage-spotlight-bg: radial-gradient(
80% 34rem at 18% -8rem,
oklch(76% 0.155 78 / 0.15),
transparent 72%
);
--gradient-card: linear-gradient(145deg, var(--color-paper-2), var(--color-paper));
--gradient-spotlight: linear-gradient(135deg, oklch(76% 0.155 78 / 0.15), transparent 64%);
--gradient-hero: linear-gradient(145deg, var(--color-paper-2), var(--color-paper-3));
--gradient-success: linear-gradient(135deg, var(--color-success-surface), transparent 70%);
--gradient-shimmer: linear-gradient(90deg, transparent, oklch(76% 0.155 78 / 0.18), transparent);
/* Compatibility aliases while route styles migrate to semantic names */
--stage-floor: var(--color-paper);
--stage-mid: var(--color-paper-2);
--stage-lit: var(--color-paper-3);
--stage-rise: oklch(89% 0.03 78);
--stage-line: var(--color-rule);
--stage-edge: var(--color-rule-2);
--spotlight: var(--color-accent-strong);
--spotlight-bright: var(--color-accent);
--spotlight-ink: var(--color-accent-ink);
--spotlight-wash: oklch(76% 0.155 78 / 0.1);
--spotlight-wash-strong: oklch(76% 0.155 78 / 0.18);
--spotlight-glow: oklch(54% 0.2 245 / 0.22);
--applause: var(--color-success);
--applause-deep: oklch(37% 0.12 145);
--applause-wash: var(--color-success-surface);
--miss: var(--color-error);
--miss-wash: var(--color-error-surface);
--house-bright: var(--color-ink);
--house-light: var(--color-muted);
--motion-fast: var(--dur-micro);
--motion-base: var(--dur-short);
--motion-slow: var(--dur-long);
--ease-stage: var(--ease-out);
--ease-spring: var(--ease-out);
--radius-sm: var(--radius-small);
--radius: var(--radius-card);
--radius-lg: var(--radius-large);
--text-title: clamp(1.625rem, 4vw, 2.5rem);
--text-lead: var(--text-lg);
--text-body: var(--text-md);
--text-small: var(--text-sm);
--text-caption: var(--text-xs);
--space-1: var(--space-3xs);
--space-2: var(--space-2xs);
--space-3: var(--space-xs);
--space-4: var(--space-sm);
--space-5: var(--space-md);
--space-6: var(--space-lg);
--space-7: var(--space-xl);
--space-8: var(--space-2xl);
font-family: var(--font-body);
font-size: var(--text-body);
line-height: 1.55;
color: var(--color-ink);
background: var(--color-paper);
}
[data-theme='dark'] {
color-scheme: dark;
--color-paper: oklch(14% 0.032 302);
--color-paper-2: oklch(19% 0.042 302);
--color-paper-3: oklch(24% 0.052 302);
--color-ink: oklch(95% 0.012 84);
--color-ink-2: oklch(82% 0.018 84);
--color-muted: oklch(74% 0.035 300);
--color-neutral: oklch(86% 0.02 84);
--color-rule: oklch(32% 0.052 302);
--color-rule-2: oklch(45% 0.06 302);
--color-accent: oklch(80% 0.15 78);
--color-accent-strong: oklch(82% 0.14 78);
--color-accent-ink: oklch(16% 0.032 67);
--color-focus: oklch(78% 0.13 225);
--color-insight: oklch(78% 0.12 225);
--color-insight-surface: oklch(25% 0.06 225);
--color-success: oklch(76% 0.13 145);
--color-success-surface: oklch(24% 0.06 145);
--color-error: oklch(75% 0.145 25);
--color-error-surface: oklch(25% 0.065 25);
--color-stage: oklch(21% 0.045 302);
--color-stage-ink: oklch(96% 0.012 84);
--color-stage-muted: oklch(79% 0.03 300);
--color-scrim: oklch(5% 0.015 302 / 0.72);
--color-shadow: oklch(4% 0.02 302 / 0.52);
--color-shadow-soft: oklch(4% 0.02 302 / 0.28);
--stage-rise: oklch(29% 0.06 302);
--spotlight-wash: oklch(80% 0.15 78 / 0.1);
--spotlight-wash-strong: oklch(80% 0.15 78 / 0.18);
--spotlight-glow: oklch(78% 0.13 225 / 0.24);
--applause-deep: oklch(68% 0.13 145);
--shadow-card: 0 1px 0 oklch(100% 0.005 78 / 0.05) inset, 0 8px 24px var(--color-shadow-soft);
--shadow-cell: 0 4px 12px var(--color-shadow-soft);
--shadow-stage: 0 24px 64px var(--color-shadow);
--shadow-spotlight: 0 20px 56px var(--color-shadow), 0 0 0 1px var(--color-rule);
--stage-spotlight-bg: radial-gradient(
80% 34rem at 18% -8rem,
oklch(80% 0.15 78 / 0.12),
transparent 72%
);
--gradient-card: linear-gradient(145deg, var(--color-paper-2), var(--color-paper-3));
--gradient-spotlight: linear-gradient(135deg, oklch(80% 0.15 78 / 0.12), transparent 64%);
--gradient-hero: linear-gradient(145deg, var(--color-paper-2), var(--color-paper-3));
--gradient-success: linear-gradient(135deg, var(--color-success-surface), transparent 70%);
--gradient-shimmer: linear-gradient(90deg, transparent, oklch(80% 0.15 78 / 0.14), transparent);
}