返回 CodeWhale
tokens.css
根目录 / vendor / codewhale-design / tokens.css
1 /* Generated from Codewhale design 5.5.0; sha256 b154b28c796626428f20b38db59ee6449aa876831ae04d4ddceb3cb1fce8185c. Do not edit. */
2 :root {
3 --outside: #0f131c;
4 --surface: #05070b;
5 --panel: #080b11;
6 --text: #edf1f7;
7 --muted: #b2bfcd;
8 --subagent: #bccad9;
9 --disabled: #828f9e;
10 --line: #263040;
11 --accent: #94beff;
12 --button: #0b4cc4;
13 --button-text: #ffffff;
14 --attention: #f0be82;
15 --hover: #202938;
16 --selected: #18202e;
17 --live: #7fdfc8;
18 --live-peak: #e3fcf4;
19 --danger: #f4a8a0;
20 --border-strong: #8a97a8;
21 --ocean-depth: #0b111c;
22 --diff-add: #1d352a;
23 --diff-remove: #422b2c;
24 --selection: #94beff47;
25 --elevation-popover: 0 4px 8px rgb(0 0 0 / 0.4);
26 --elevation-dialog: 0 12px 32px rgb(0 0 0 / 0.5);
27 --water: linear-gradient(180deg, #0d1422 0%, #090e19 36%, #060910 74%, #05070b 100%);
28 --surface-light: radial-gradient(ellipse at 52% 0%, rgb(59 130 246 / 0.18) 0%, rgb(11 72 187 / 0.06) 46%, rgb(11 72 187 / 0) 76%);
29 --glass-clear-fill: rgb(20 26 37 / 0.42);
30 --glass-frosted-fill: rgb(20 26 37 / 0.64);
31 --glass-solid-fill: #141a25;
32 --glass-border: rgb(255 255 255 / 0.1);
33 --glass-highlight: rgb(255 255 255 / 0.16);
34 --sheet-fill: rgb(9 12 19 / 0.8);
35 --sheet-border: rgb(255 255 255 / 0.075);
36 --card-fill: rgb(255 255 255 / 0.04);
37 --card-border: rgb(255 255 255 / 0.095);
38 --change-bar-fill: rgb(255 255 255 / 0.045);
39 --change-bar-border: rgb(255 255 255 / 0.1);
40 --subagent-tag-fill: rgb(148 190 255 / 0.09);
41 --subagent-tag-border: rgb(148 190 255 / 0.24);
42 --workbar-fill: rgb(14 19 29 / 0.74);
43 --workbar-border: rgb(255 255 255 / 0.09);
44 --workbar-track: rgb(255 255 255 / 0.13);
45 color-scheme: dark;
46 }
47 [data-theme="light"] {
48 --outside: #fcfdfe;
49 --surface: #f4f7fc;
50 --panel: #fefeff;
51 --text: #162230;
52 --muted: #45515f;
53 --subagent: #374553;
54 --disabled: #68727f;
55 --line: #d5dde8;
56 --accent: #1552c6;
57 --button: #0b4cc4;
58 --button-text: #ffffff;
59 --attention: #7b4b06;
60 --hover: #e2eaf4;
61 --selected: #d6e1f0;
62 --live: #146857;
63 --live-peak: #0b3f33;
64 --danger: #a42531;
65 --border-strong: #687381;
66 --ocean-depth: #f7f9fc;
67 --diff-add: #d2ebdd;
68 --diff-remove: #f8e1dd;
69 --selection: #1552c647;
70 --elevation-popover: 0 4px 8px rgb(0 0 0 / 0.16);
71 --elevation-dialog: 0 12px 32px rgb(0 0 0 / 0.2);
72 --water: linear-gradient(180deg, #e2ebf7 0%, #e9f0f9 32%, #eff4fb 65%, #f4f7fc 100%);
73 --surface-light: radial-gradient(ellipse at 52% 0%, rgb(255 255 255 / 0.9) 0%, rgb(255 255 255 / 0.32) 42%, rgb(255 255 255 / 0) 74%);
74 --glass-clear-fill: rgb(255 255 255 / 0.48);
75 --glass-frosted-fill: rgb(255 255 255 / 0.72);
76 --glass-solid-fill: #ffffff;
77 --glass-border: rgb(24 40 56 / 0.11);
78 --glass-highlight: rgb(255 255 255 / 0.88);
79 --sheet-fill: rgb(255 255 255 / 0.92);
80 --sheet-border: rgb(24 40 56 / 0.09);
81 --card-fill: #ffffff;
82 --card-border: rgb(24 40 56 / 0.1);
83 --change-bar-fill: rgb(27 42 53 / 0.035);
84 --change-bar-border: rgb(31 51 64 / 0.11);
85 --subagent-tag-fill: rgb(27 42 53 / 0.055);
86 --subagent-tag-border: rgb(31 51 64 / 0.14);
87 --workbar-fill: rgb(238 243 248 / 0.78);
88 --workbar-border: rgb(31 51 64 / 0.1);
89 --workbar-track: rgb(27 42 53 / 0.11);
90 color-scheme: light;
91 }
92 :root, [data-theme], [data-glass] {
93 --glass-fill: var(--glass-frosted-fill);
94 --glass-blur: 28px;
95 }
96 [data-glass="clear"], [data-glass="clear"] [data-theme] {
97 --glass-fill: var(--glass-clear-fill);
98 --glass-blur: 14px;
99 }
100 [data-glass="solid"], [data-glass="solid"] [data-theme] {
101 --glass-fill: var(--glass-solid-fill);
102 --glass-blur: 0px;
103 }
104 :root, [data-theme] {
105 --glow-primary: 0 0 6px color-mix(in srgb, var(--accent) 12%, transparent);
106 --glow-live: 0 0 6px color-mix(in srgb, var(--live) 35%, transparent);
107 --glow-attention: 0 0 6px color-mix(in srgb, var(--attention) 40%, transparent);
108 --tint-accent-fill: color-mix(in srgb, var(--accent) 12%, transparent);
109 --tint-accent-border: color-mix(in srgb, var(--accent) 35%, transparent);
110 --tint-live-fill: color-mix(in srgb, var(--live) 10%, transparent);
111 --tint-live-border: color-mix(in srgb, var(--live) 42%, transparent);
112 --tint-attention-fill: color-mix(in srgb, var(--attention) 10%, transparent);
113 --tint-attention-border: color-mix(in srgb, var(--attention) 42%, transparent);
114 --tint-danger-fill: color-mix(in srgb, var(--danger) 10%, transparent);
115 --tint-danger-border: color-mix(in srgb, var(--danger) 45%, transparent);
116 --tint-count-fill: color-mix(in srgb, var(--text) 8%, transparent);
117 --tint-scrim: color-mix(in srgb, var(--surface) 45%, transparent);
118 --tint-on-primary-border: color-mix(in srgb, currentColor 45%, transparent);
119 --verb-sweep: linear-gradient(90deg, var(--muted) 0%, var(--live) 34%, var(--live-peak) 50%, var(--live) 66%, var(--muted) 100%);
120 --focus-ring: var(--focus-width) solid var(--accent);
121 --glass-edge: inset 0 1px 0 var(--glass-highlight);
122 }
123 :root {
124 --spacing-hairline: 2px;
125 --spacing-compact: 4px;
126 --spacing-tight: 6px;
127 --spacing-control: 8px;
128 --spacing-snug: 10px;
129 --spacing-group: 12px;
130 --spacing-prose: 14px;
131 --spacing-section: 16px;
132 --spacing-large: 24px;
133 --spacing-page: 32px;
134 --radius-small: 6px;
135 --radius-field: 8px;
136 --radius-control: 10px;
137 --radius-panel: 18px;
138 --radius-sheet: 18px;
139 --radius-window: 14px;
140 --radius-card: 14px;
141 --radius-composer: 24px;
142 --radius-chip: 999px;
143 --focus-width: 2px;
144 --focus-offset: 3px;
145 --motion-duration-state: 120ms;
146 --motion-duration-arrive: 180ms;
147 --motion-duration-exit: 120ms;
148 --motion-duration-panel: 340ms;
149 --motion-duration-linger: 1200ms;
150 --motion-duration-flash-in: 90ms;
151 --motion-loop-beat: 1200ms;
152 --motion-loop-breathe: 2400ms;
153 --motion-loop-spin: 1000ms;
154 --motion-sweep-active: 1800ms;
155 --motion-sweep-rest: 600ms;
156 --motion-sweep-delay: 400ms;
157 --motion-breathe-min: 0.18;
158 --motion-breathe-max: 0.55;
159 --motion-arrive-rise: 4px;
160 --motion-ease-out: cubic-bezier(0, 0, 0.2, 1);
161 --motion-ease-in: cubic-bezier(0.4, 0, 1, 1);
162 --motion-ease-panel: cubic-bezier(0.2, 0.1, 0.16, 1);
163 --motion-ease-sine: cubic-bezier(0.37, 0, 0.63, 1);
164 --ombre-rise: #176fd0;
165 --ombre-deep: #0b4cc4;
166 --ombre: linear-gradient(135deg, #176fd0, #0b4cc4);
167 --icon-stroke: 1.7;
168 --font-family: "Geist Sans";
169 --font-mono-family: "Geist Mono";
170 --font-fallbacks: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC";
171 --font-body-size: 14px;
172 --font-code-size: 13px;
173 --font-caption-size: 11.5px;
174 --font-prose-size: 16px;
175 --font-heading-size: 15px;
176 --font-title-size: 22px;
177 --type-caption-size: 11.5px;
178 --type-caption-line: 16px;
179 --type-caption-weight: 400;
180 --type-label-size: 12.5px;
181 --type-label-line: 18px;
182 --type-label-weight: 400;
183 --type-control-size: 13px;
184 --type-control-line: 20px;
185 --type-control-weight: 400;
186 --type-body-size: 14px;
187 --type-body-line: 22px;
188 --type-body-weight: 400;
189 --type-reading-size: 15px;
190 --type-reading-line: 25px;
191 --type-reading-weight: 400;
192 --type-prose-size: 16px;
193 --type-prose-line: 27px;
194 --type-prose-weight: 400;
195 --type-heading-size: 15px;
196 --type-heading-line: 22px;
197 --type-heading-weight: 550;
198 --type-subheading-size: 17px;
199 --type-subheading-line: 26px;
200 --type-subheading-weight: 550;
201 --type-title-size: 22px;
202 --type-title-line: 28px;
203 --type-title-weight: 550;
204 --type-display-size: 28px;
205 --type-display-line: 34px;
206 --type-display-weight: 550;
207 --type-code-size: 13px;
208 --type-code-line: 20px;
209 --type-code-weight: 400;
210 --size-control: 28px;
211 --size-row: 30px;
212 --size-session-row: 44px;
213 --size-turn-line: 28px;
214 --size-change-bar: 36px;
215 --size-touch-target: 44px;
216 --size-icon: 16px;
217 --size-icon-large: 20px;
218 --size-sidebar: 268px;
219 --size-reading: 680px;
220 --size-composer: 720px;
221 --size-panel: 320px;
222 --size-panel-wide: 560px;
223 --breakpoint-compact: 720px;
224 --breakpoint-medium: 900px;
225 --breakpoint-wide: 1200px;
226 }
227 @media (prefers-reduced-motion: reduce) {
228 :root {
229 --motion-duration-state: 0ms;
230 --motion-duration-arrive: 0ms;
231 --motion-duration-exit: 0ms;
232 --motion-duration-panel: 0ms;
233 --motion-duration-linger: 0ms;
234 --motion-duration-flash-in: 0ms;
235 --motion-loop-beat: 0ms;
236 --motion-loop-breathe: 0ms;
237 --motion-loop-spin: 0ms;
238 --motion-sweep-active: 0ms;
239 --motion-sweep-rest: 0ms;
240 --motion-sweep-delay: 0ms;
241 --motion-arrive-rise: 0px;
242 }
243 }
244 :root[data-motion="reduced"],
245 :root[data-motion="still"] {
246 --motion-duration-state: 0ms;
247 --motion-duration-arrive: 0ms;
248 --motion-duration-exit: 0ms;
249 --motion-duration-panel: 0ms;
250 --motion-duration-linger: 0ms;
251 --motion-duration-flash-in: 0ms;
252 --motion-loop-beat: 0ms;
253 --motion-loop-breathe: 0ms;
254 --motion-loop-spin: 0ms;
255 --motion-sweep-active: 0ms;
256 --motion-sweep-rest: 0ms;
257 --motion-sweep-delay: 0ms;
258 --motion-arrive-rise: 0px;
259 }
260
260 lines CSS