@polyfen/polykit-tokens 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,490 @@
1
+ // Polykit tokens for Sass.
2
+ // Generated by @polyfen/polykit-tokens. Do not edit; change the sources in src/.
3
+ @use 'sass:map';
4
+
5
+ $pk-breakpoint-xs: 420px;
6
+ $pk-breakpoint-sm: 640px;
7
+ $pk-breakpoint-md: 760px;
8
+ $pk-breakpoint-lg: 1100px;
9
+ $pk-breakpoint-xl: 1180px;
10
+ $pk-slate-50: #f6f8fb;
11
+ $pk-slate-100: #f1f4f9;
12
+ $pk-slate-150: #edeff2;
13
+ $pk-slate-200: #ccd0d7;
14
+ $pk-slate-300: #a7abb4;
15
+ $pk-slate-400: #818791;
16
+ $pk-slate-500: #5c626e;
17
+ $pk-slate-600: #373e4b;
18
+ $pk-slate-700: #111928;
19
+ $pk-slate-800: #0d121d;
20
+ $pk-slate-900: #080b12;
21
+ $pk-slate-700-a70: #111928b3;
22
+ $pk-orange-50: #fef5f1;
23
+ $pk-orange-100: #fdece2;
24
+ $pk-orange-200: #fbceb6;
25
+ $pk-orange-300: #f8b089;
26
+ $pk-orange-400: #f5925d;
27
+ $pk-orange-500: #f27430;
28
+ $pk-orange-800: #4d1d02;
29
+ $pk-orange-850: #331200;
30
+ $pk-red-50: #fcf3f3;
31
+ $pk-red-200: #ffb8b8;
32
+ $pk-red-500: #ff4646;
33
+ $pk-red-700: #9b1c1c;
34
+ $pk-red-850: #290a0a;
35
+ $pk-red-900: #180606;
36
+ $pk-green-50: #edf7ef;
37
+ $pk-green-100: #e2f9e7;
38
+ $pk-green-150: #ccf4d5;
39
+ $pk-green-200: #b5eec2;
40
+ $pk-green-300: #87e29c;
41
+ $pk-green-400: #59d676;
42
+ $pk-green-500: #2bca50;
43
+ $pk-green-600: #229d3f;
44
+ $pk-green-700: #18702d;
45
+ $pk-green-800: #0e431a;
46
+ $pk-green-850: #122912;
47
+ $pk-green-900: #0f1504;
48
+ $pk-blue-50: #f0f3ff;
49
+ $pk-blue-100: #e1e8ff;
50
+ $pk-blue-150: #d0dffe;
51
+ $pk-blue-200: #bfd6fd;
52
+ $pk-blue-300: #9bbefb;
53
+ $pk-blue-400: #669cf9;
54
+ $pk-blue-500: #1d6df7;
55
+ $pk-blue-600: #215bbf;
56
+ $pk-blue-700: #163f86;
57
+ $pk-blue-800: #0c244d;
58
+ $pk-blue-850: #071631;
59
+ $pk-blue-900: #010814;
60
+ $pk-blue-500-a30: #1d6df74d;
61
+ $pk-purple-50: #f6efff;
62
+ $pk-purple-100: #eee0ff;
63
+ $pk-purple-200: #d9baff;
64
+ $pk-purple-300: #c394ff;
65
+ $pk-purple-400: #ad6eff;
66
+ $pk-purple-500: #9747ff;
67
+ $pk-purple-900: #120029;
68
+ $pk-magenta-50: #ffeff9;
69
+ $pk-magenta-100: #ffe0f4;
70
+ $pk-magenta-200: #ffabe1;
71
+ $pk-magenta-300: #ff75cd;
72
+ $pk-magenta-400: #ff40b9;
73
+ $pk-magenta-500: #ff0aa5;
74
+ $pk-magenta-900: #29001a;
75
+ $pk-brown-50: #fcf6f1;
76
+ $pk-brown-100: #f9ede2;
77
+ $pk-brown-150: #f4dfcc;
78
+ $pk-brown-200: #eed0b5;
79
+ $pk-brown-300: #e2b187;
80
+ $pk-brown-400: #d69359;
81
+ $pk-brown-500: #ca752b;
82
+ $pk-brown-600: #9d5b22;
83
+ $pk-brown-700: #704118;
84
+ $pk-brown-800: #43270e;
85
+ $pk-brown-850: #2c150d;
86
+ $pk-brown-900: #1e0610;
87
+ $pk-teal-50: #f1f9f8;
88
+ $pk-teal-500: #00e5d2;
89
+ $pk-teal-600: #00bdad;
90
+ $pk-teal-850: #0b2d2a;
91
+ $pk-cyan-500: #3fcdf8;
92
+ $pk-yellow-50: #fefcf0;
93
+ $pk-yellow-400: #f8e15e;
94
+ $pk-yellow-500: #f4d10b;
95
+ $pk-yellow-600: #c3a709;
96
+ $pk-yellow-900: #211c03;
97
+ $pk-gray-50: #f1f2f4;
98
+ $pk-gray-100: #e3e6e9;
99
+ $pk-sand-50: #fdf9f5;
100
+ $pk-sand-100: #fbf8f4;
101
+ $pk-sand-200: #f2ece5;
102
+ $pk-sand-300: #d6cfc6;
103
+ $pk-sand-400: #b1aaa0;
104
+ $pk-sand-500: #8f877d;
105
+ $pk-sand-700: #463b2f;
106
+ $pk-sand-800: #2a231b;
107
+ $pk-sand-850: #1e1913;
108
+ $pk-sand-900: #15110d;
109
+ $pk-night-600: #292c3d;
110
+ $pk-night-800: #1a1c28;
111
+ $pk-night-850: #11121a;
112
+ $pk-night-900: #090a11;
113
+ $pk-black: #000000;
114
+ $pk-black-a85: #000000d9;
115
+ $pk-white: #ffffff;
116
+ $pk-white-a85: #ffffffd9;
117
+ $pk-tint-light: 14%;
118
+ $pk-tint-dark: 22%;
119
+ $pk-font-sans: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
120
+ $pk-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
121
+ $pk-font-mono-brand: 'Anonymous Pro', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
122
+ $pk-font-serif: Lora, Georgia, serif;
123
+ $pk-weight-regular: 400;
124
+ $pk-weight-semibold: 600;
125
+ $pk-weight-bold: 700;
126
+ $pk-weight-extrabold: 800;
127
+ $pk-weight-black: 900;
128
+ $pk-text-2xs: 11px;
129
+ $pk-text-xs: 12px;
130
+ $pk-text-sm: 13px;
131
+ $pk-text-md: 14px;
132
+ $pk-text-base: 15px;
133
+ $pk-text-lg: 16px;
134
+ $pk-text-xl: 18px;
135
+ $pk-text-2xl: 20px;
136
+ $pk-text-3xl: 22px;
137
+ $pk-text-4xl: 30px;
138
+ $pk-text-code: 0.85em;
139
+ $pk-text-lead: clamp(18px, 17px + 0.3vw, 20px);
140
+ $pk-text-fluid-md: clamp(24px, 18px + 1.6vw, 40px);
141
+ $pk-text-fluid-lg: clamp(30px, 20px + 3vw, 64px);
142
+ $pk-text-fluid-xl: clamp(36px, 18px + 6vw, 120px);
143
+ $pk-leading-none: 1;
144
+ $pk-leading-tight: 1.1;
145
+ $pk-leading-snug: 1.2;
146
+ $pk-leading-compact: 1.3;
147
+ $pk-leading-normal: 1.4;
148
+ $pk-leading-chat: 1.45;
149
+ $pk-leading-body: 1.5;
150
+ $pk-tracking-normal: 0px;
151
+ $pk-tracking-display: -0.4px;
152
+ $pk-tracking-heading: -0.3px;
153
+ $pk-tracking-subheading: -0.2px;
154
+ $pk-tracking-overline: 0.08em;
155
+ $pk-tracking-caps: 0.4px;
156
+ $pk-tracking-mono: 0.02em;
157
+ $pk-duration-fast: 120ms;
158
+ $pk-duration-base: 150ms;
159
+ $pk-duration-moderate: 180ms;
160
+ $pk-duration-slow: 200ms;
161
+ $pk-duration-slower: 300ms;
162
+ $pk-duration-typing: 1200ms;
163
+ $pk-duration-pulse: 1200ms;
164
+ $pk-delay-stagger: 90ms;
165
+ $pk-ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);
166
+ $pk-motion-toast-ms: 4000;
167
+ $pk-motion-toast-long-ms: 8000;
168
+ $pk-motion-copy-feedback-ms: 1200;
169
+ $pk-motion-typing-cycle-ms: 1200;
170
+ $pk-opacity-disabled: 0.6;
171
+ $pk-opacity-dragging: 0.45;
172
+ $pk-opacity-faded: 0.8;
173
+ $pk-radius-xs: 4px;
174
+ $pk-radius-sm: 6px;
175
+ $pk-radius-md: 8px;
176
+ $pk-radius-lg: 10px;
177
+ $pk-radius-xl: 12px;
178
+ $pk-radius-2xl: 14px;
179
+ $pk-radius-pill: 999px;
180
+ $pk-shadow-text-monogram: 0 1px 1px rgb(0 0 0 / 0.3);
181
+ $pk-shadow-raised: 0 1px 2px 0 rgb(17 25 40 / 0.14);
182
+ $pk-shadow-raised-sm: 0 1px 3px 0 rgb(0 0 0 / 0.18);
183
+ $pk-shadow-menu: 0 10px 28px 0 rgb(0 0 0 / 0.22);
184
+ $pk-shadow-float: 0 8px 24px 0 rgb(0 0 0 / 0.25);
185
+ $pk-shadow-dialog: 0 24px 64px 0 rgb(0 0 0 / 0.35);
186
+ $pk-shadow-drawer: 8px 0 32px 0 rgb(0 0 0 / 0.35);
187
+ $pk-shadow-panel: -12px 0 32px 0 rgb(0 0 0 / 0.14);
188
+ $pk-size-icon-xs: 14px;
189
+ $pk-size-icon-sm: 16px;
190
+ $pk-size-icon-md: 18px;
191
+ $pk-size-icon-lg: 20px;
192
+ $pk-size-icon-xl: 24px;
193
+ $pk-size-control-md: 36px;
194
+ $pk-size-control-lg: 40px;
195
+ $pk-size-icon-button: 38px;
196
+ $pk-size-icon-button-sm: 32px;
197
+ $pk-size-nav-item: 44px;
198
+ $pk-size-nav-item-sub: 36px;
199
+ $pk-size-check: 26px;
200
+ $pk-size-control-text-offset: 1px;
201
+ $pk-size-avatar-sm: 24px;
202
+ $pk-size-avatar-md: 32px;
203
+ $pk-size-avatar-lg: 40px;
204
+ $pk-size-avatar-xl: 56px;
205
+ $pk-size-control-xl: 48px;
206
+ $pk-size-control-2xl: 56px;
207
+ $pk-space-0: 0px;
208
+ $pk-space-1: 4px;
209
+ $pk-space-2: 8px;
210
+ $pk-space-3: 12px;
211
+ $pk-space-4: 16px;
212
+ $pk-space-5: 20px;
213
+ $pk-space-6: 24px;
214
+ $pk-space-7: 28px;
215
+ $pk-space-8: 32px;
216
+ $pk-space-10: 40px;
217
+ $pk-space-12: 48px;
218
+ $pk-space-16: 64px;
219
+ $pk-space-0-5: 2px;
220
+ $pk-space-1-5: 6px;
221
+ $pk-space-2-5: 10px;
222
+ $pk-space-3-5: 14px;
223
+ $pk-space-4-5: 18px;
224
+ $pk-space-5-5: 22px;
225
+ $pk-z-raised: 1;
226
+ $pk-z-header: 10;
227
+ $pk-z-scrim: 20;
228
+ $pk-z-drawer: 30;
229
+ $pk-z-panel: 35;
230
+ $pk-z-toast: 40;
231
+ $pk-z-panel-mobile: 45;
232
+ $pk-z-menu: 50;
233
+ $pk-sidebar-width: 224px;
234
+ $pk-sidebar-width-collapsed: 64px;
235
+ $pk-sidebar-width-drawer: min(280px, 84vw);
236
+ $pk-topbar-height: 68px;
237
+ $pk-glass-blur: 12px;
238
+ $pk-panel-width: 420px;
239
+ $pk-dialog-width-md: 640px;
240
+ $pk-dialog-width-lg: 680px;
241
+ $pk-content-radius: 14px;
242
+ $pk-content-radius-scrolled: 4px;
243
+ $pk-measure: 68ch;
244
+ $pk-measure-wide: 72ch;
245
+ $pk-cq-sm: 600px;
246
+ $pk-cq-md: 820px;
247
+ $pk-cq-lg: 900px;
248
+ $pk-container-wide: 1200px;
249
+ $pk-container-narrow: 760px;
250
+ $pk-container-gutter: clamp(16px, 4vw, 32px);
251
+ $pk-section-sm: 80px;
252
+ $pk-section-md: 96px;
253
+ $pk-section-lg: 128px;
254
+ $pk-section-xl: 160px;
255
+ $pk-type-display-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
256
+ $pk-type-display-font-size: 30px;
257
+ $pk-type-display-font-weight: 900;
258
+ $pk-type-display-line-height: 1.1;
259
+ $pk-type-display-letter-spacing: -0.4px;
260
+ $pk-type-wordmark-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
261
+ $pk-type-wordmark-font-size: 22px;
262
+ $pk-type-wordmark-font-weight: 900;
263
+ $pk-type-wordmark-line-height: 1;
264
+ $pk-type-wordmark-letter-spacing: -0.4px;
265
+ $pk-type-heading-lg-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
266
+ $pk-type-heading-lg-font-size: 20px;
267
+ $pk-type-heading-lg-font-weight: 900;
268
+ $pk-type-heading-lg-line-height: 1.2;
269
+ $pk-type-heading-lg-letter-spacing: -0.4px;
270
+ $pk-type-heading-md-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
271
+ $pk-type-heading-md-font-size: 18px;
272
+ $pk-type-heading-md-font-weight: 900;
273
+ $pk-type-heading-md-line-height: 1.2;
274
+ $pk-type-heading-md-letter-spacing: -0.4px;
275
+ $pk-type-heading-sm-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
276
+ $pk-type-heading-sm-font-size: 15px;
277
+ $pk-type-heading-sm-font-weight: 900;
278
+ $pk-type-heading-sm-line-height: 1.2;
279
+ $pk-type-heading-sm-letter-spacing: -0.2px;
280
+ $pk-type-title-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
281
+ $pk-type-title-font-size: 15px;
282
+ $pk-type-title-font-weight: 700;
283
+ $pk-type-title-line-height: 1.4;
284
+ $pk-type-title-letter-spacing: 0px;
285
+ $pk-type-body-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
286
+ $pk-type-body-font-size: 15px;
287
+ $pk-type-body-font-weight: 400;
288
+ $pk-type-body-line-height: 1.5;
289
+ $pk-type-body-letter-spacing: 0px;
290
+ $pk-type-body-sm-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
291
+ $pk-type-body-sm-font-size: 14px;
292
+ $pk-type-body-sm-font-weight: 400;
293
+ $pk-type-body-sm-line-height: 1.5;
294
+ $pk-type-body-sm-letter-spacing: 0px;
295
+ $pk-type-meta-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
296
+ $pk-type-meta-font-size: 13px;
297
+ $pk-type-meta-font-weight: 400;
298
+ $pk-type-meta-line-height: 1.5;
299
+ $pk-type-meta-letter-spacing: 0px;
300
+ $pk-type-label-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
301
+ $pk-type-label-font-size: 12px;
302
+ $pk-type-label-font-weight: 700;
303
+ $pk-type-label-line-height: 1.5;
304
+ $pk-type-label-letter-spacing: 0px;
305
+ $pk-type-caption-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
306
+ $pk-type-caption-font-size: 12px;
307
+ $pk-type-caption-font-weight: 400;
308
+ $pk-type-caption-line-height: 1.5;
309
+ $pk-type-caption-letter-spacing: 0px;
310
+ $pk-type-overline-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
311
+ $pk-type-overline-font-size: 11px;
312
+ $pk-type-overline-font-weight: 800;
313
+ $pk-type-overline-line-height: 1.5;
314
+ $pk-type-overline-letter-spacing: 0.08em;
315
+ $pk-type-caps-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
316
+ $pk-type-caps-font-size: 12px;
317
+ $pk-type-caps-font-weight: 700;
318
+ $pk-type-caps-line-height: 1.5;
319
+ $pk-type-caps-letter-spacing: 0.4px;
320
+ $pk-type-code-font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
321
+ $pk-type-code-font-size: 0.85em;
322
+ $pk-type-code-font-weight: 400;
323
+ $pk-type-code-line-height: 1.5;
324
+ $pk-type-code-letter-spacing: 0px;
325
+ $pk-type-key-font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
326
+ $pk-type-key-font-size: 12px;
327
+ $pk-type-key-font-weight: 400;
328
+ $pk-type-key-line-height: 1.4;
329
+ $pk-type-key-letter-spacing: 0.02em;
330
+ $pk-type-control-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
331
+ $pk-type-control-font-size: 13px;
332
+ $pk-type-control-font-weight: 700;
333
+ $pk-type-control-line-height: 1.5;
334
+ $pk-type-control-letter-spacing: 0px;
335
+ $pk-type-nav-font-family: 'Nunito Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
336
+ $pk-type-nav-font-size: 14px;
337
+ $pk-type-nav-font-weight: 700;
338
+ $pk-type-nav-line-height: 1.5;
339
+ $pk-type-nav-letter-spacing: 0px;
340
+
341
+ $pk-color-canvas: var(--pk-color-canvas);
342
+ $pk-color-surface: var(--pk-color-surface);
343
+ $pk-color-sunken: var(--pk-color-sunken);
344
+ $pk-color-hover: var(--pk-color-hover);
345
+ $pk-color-border: var(--pk-color-border);
346
+ $pk-color-border-strong: var(--pk-color-border-strong);
347
+ $pk-color-border-control: var(--pk-color-border-control);
348
+ $pk-color-ink: var(--pk-color-ink);
349
+ $pk-color-ink-secondary: var(--pk-color-ink-secondary);
350
+ $pk-color-ink-muted: var(--pk-color-ink-muted);
351
+ $pk-color-ink-inverse: var(--pk-color-ink-inverse);
352
+ $pk-color-content-edge: var(--pk-color-content-edge);
353
+ $pk-color-accent: var(--pk-color-accent);
354
+ $pk-color-accent-hover: var(--pk-color-accent-hover);
355
+ $pk-color-accent-tint: var(--pk-color-accent-tint);
356
+ $pk-color-accent-tint-strong: var(--pk-color-accent-tint-strong);
357
+ $pk-color-on-accent-tint: var(--pk-color-on-accent-tint);
358
+ $pk-color-accent-secondary: var(--pk-color-accent-secondary);
359
+ $pk-color-accent-secondary-hover: var(--pk-color-accent-secondary-hover);
360
+ $pk-color-accent-secondary-tint: var(--pk-color-accent-secondary-tint);
361
+ $pk-color-accent-secondary-tint-strong: var(--pk-color-accent-secondary-tint-strong);
362
+ $pk-color-on-accent-secondary-tint: var(--pk-color-on-accent-secondary-tint);
363
+ $pk-color-danger: var(--pk-color-danger);
364
+ $pk-color-danger-ink: var(--pk-color-danger-ink);
365
+ $pk-color-danger-strong: var(--pk-color-danger-strong);
366
+ $pk-color-danger-tint: var(--pk-color-danger-tint);
367
+ $pk-color-danger-border: var(--pk-color-danger-border);
368
+ $pk-color-success: var(--pk-color-success);
369
+ $pk-color-success-ink: var(--pk-color-success-ink);
370
+ $pk-color-success-tint: var(--pk-color-success-tint);
371
+ $pk-color-success-border: var(--pk-color-success-border);
372
+ $pk-color-warning: var(--pk-color-warning);
373
+ $pk-color-warning-ink: var(--pk-color-warning-ink);
374
+ $pk-color-warning-tint: var(--pk-color-warning-tint);
375
+ $pk-color-warning-border: var(--pk-color-warning-border);
376
+ $pk-color-info: var(--pk-color-info);
377
+ $pk-color-info-ink: var(--pk-color-info-ink);
378
+ $pk-color-info-tint: var(--pk-color-info-tint);
379
+ $pk-color-info-border: var(--pk-color-info-border);
380
+ $pk-color-pressed: var(--pk-color-pressed);
381
+ $pk-color-placeholder: var(--pk-color-placeholder);
382
+ $pk-color-caption: var(--pk-color-caption);
383
+ $pk-color-disabled-bg: var(--pk-color-disabled-bg);
384
+ $pk-color-disabled-border: var(--pk-color-disabled-border);
385
+ $pk-color-disabled-ink: var(--pk-color-disabled-ink);
386
+ $pk-color-frame: var(--pk-color-frame);
387
+ $pk-color-frame-ink: var(--pk-color-frame-ink);
388
+ $pk-color-frame-muted: var(--pk-color-frame-muted);
389
+ $pk-color-frame-faint: var(--pk-color-frame-faint);
390
+ $pk-color-frame-hover: var(--pk-color-frame-hover);
391
+ $pk-color-frame-active: var(--pk-color-frame-active);
392
+ $pk-color-frame-line: var(--pk-color-frame-line);
393
+ $pk-color-frame-line-strong: var(--pk-color-frame-line-strong);
394
+ $pk-color-frame-field-focus: var(--pk-color-frame-field-focus);
395
+ $pk-color-focus: var(--pk-color-focus);
396
+ $pk-color-focus-field: var(--pk-color-focus-field);
397
+ $pk-color-focus-halo: var(--pk-color-focus-halo);
398
+ $pk-color-scrim: var(--pk-color-scrim);
399
+ $pk-color-glyph-neutral: var(--pk-color-glyph-neutral);
400
+ $pk-color-glyph-strong: var(--pk-color-glyph-strong);
401
+ $pk-color-priority-high: var(--pk-color-priority-high);
402
+ $pk-color-priority-medium: var(--pk-color-priority-medium);
403
+ $pk-color-priority-low: var(--pk-color-priority-low);
404
+ $pk-color-cat-rose: var(--pk-color-cat-rose);
405
+ $pk-color-cat-green: var(--pk-color-cat-green);
406
+ $pk-color-cat-indigo: var(--pk-color-cat-indigo);
407
+ $pk-color-cat-sky: var(--pk-color-cat-sky);
408
+ $pk-color-cat-purple: var(--pk-color-cat-purple);
409
+ $pk-color-cat-amber: var(--pk-color-cat-amber);
410
+ $pk-color-cat-teal: var(--pk-color-cat-teal);
411
+ $pk-color-cat-gray: var(--pk-color-cat-gray);
412
+ $pk-color-chart-1: var(--pk-color-chart-1);
413
+ $pk-color-chart-2: var(--pk-color-chart-2);
414
+ $pk-color-chart-3: var(--pk-color-chart-3);
415
+ $pk-color-chart-4: var(--pk-color-chart-4);
416
+ $pk-color-chart-5: var(--pk-color-chart-5);
417
+ $pk-color-on-category: var(--pk-color-on-category);
418
+ $pk-color-badge-neutral-bg: var(--pk-color-badge-neutral-bg);
419
+ $pk-color-badge-neutral-border: var(--pk-color-badge-neutral-border);
420
+ $pk-color-badge-neutral-ink: var(--pk-color-badge-neutral-ink);
421
+ $pk-color-badge-accent-bg: var(--pk-color-badge-accent-bg);
422
+ $pk-color-badge-accent-border: var(--pk-color-badge-accent-border);
423
+ $pk-color-badge-accent-ink: var(--pk-color-badge-accent-ink);
424
+ $pk-color-badge-success-bg: var(--pk-color-badge-success-bg);
425
+ $pk-color-badge-success-border: var(--pk-color-badge-success-border);
426
+ $pk-color-badge-success-ink: var(--pk-color-badge-success-ink);
427
+ $pk-color-badge-danger-bg: var(--pk-color-badge-danger-bg);
428
+ $pk-color-badge-danger-border: var(--pk-color-badge-danger-border);
429
+ $pk-color-badge-danger-ink: var(--pk-color-badge-danger-ink);
430
+ $pk-color-badge-info-bg: var(--pk-color-badge-info-bg);
431
+ $pk-color-badge-info-border: var(--pk-color-badge-info-border);
432
+ $pk-color-badge-info-ink: var(--pk-color-badge-info-ink);
433
+ $pk-color-badge-purple-bg: var(--pk-color-badge-purple-bg);
434
+ $pk-color-badge-purple-border: var(--pk-color-badge-purple-border);
435
+ $pk-color-badge-purple-ink: var(--pk-color-badge-purple-ink);
436
+ $pk-color-badge-magenta-bg: var(--pk-color-badge-magenta-bg);
437
+ $pk-color-badge-magenta-border: var(--pk-color-badge-magenta-border);
438
+ $pk-color-badge-magenta-ink: var(--pk-color-badge-magenta-ink);
439
+ $pk-color-badge-secondary-bg: var(--pk-color-badge-secondary-bg);
440
+ $pk-color-badge-secondary-border: var(--pk-color-badge-secondary-border);
441
+ $pk-color-badge-secondary-ink: var(--pk-color-badge-secondary-ink);
442
+ $pk-color-code-keyword: var(--pk-color-code-keyword);
443
+ $pk-color-code-name: var(--pk-color-code-name);
444
+ $pk-color-code-value: var(--pk-color-code-value);
445
+ $pk-tint: var(--pk-tint);
446
+
447
+ $pk-breakpoints: (
448
+ xs: 420px,
449
+ sm: 640px,
450
+ md: 760px,
451
+ lg: 1100px,
452
+ xl: 1180px,
453
+ );
454
+
455
+ $pk-media: (
456
+ xs: "(max-width: 420px)",
457
+ sm: "(max-width: 640px)",
458
+ md: "(max-width: 760px)",
459
+ md-up: "(min-width: 761px)",
460
+ lg: "(max-width: 1100px)",
461
+ xl: "(min-width: 1180px)",
462
+ );
463
+
464
+ // Max-width, inclusive: pk-down(md) is (max-width: 760px).
465
+ @mixin pk-down($name) {
466
+ @media (max-width: map.get($pk-breakpoints, $name)) {
467
+ @content;
468
+ }
469
+ }
470
+
471
+ // Min-width, exclusive: pk-up(md) is (min-width: 761px), the complement of pk-down(md).
472
+ @mixin pk-up($name) {
473
+ @media (min-width: map.get($pk-breakpoints, $name) + 1px) {
474
+ @content;
475
+ }
476
+ }
477
+
478
+ // Min-width, inclusive: pk-min(xl) is (min-width: 1180px).
479
+ @mixin pk-min($name) {
480
+ @media (min-width: map.get($pk-breakpoints, $name)) {
481
+ @content;
482
+ }
483
+ }
484
+
485
+ // Any named query from $pk-media.
486
+ @mixin pk-media($name) {
487
+ @media #{map.get($pk-media, $name)} {
488
+ @content;
489
+ }
490
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "primary": [
3
+ "accent",
4
+ "accent-hover",
5
+ "accent-tint",
6
+ "accent-tint-strong",
7
+ "on-accent-tint",
8
+ "focus-field",
9
+ "focus-halo"
10
+ ],
11
+ "secondary": [
12
+ "accent-secondary",
13
+ "accent-secondary-hover",
14
+ "accent-secondary-tint",
15
+ "accent-secondary-tint-strong",
16
+ "on-accent-secondary-tint"
17
+ ],
18
+ "dependents": {
19
+ "light": {
20
+ "color.accent-secondary": "color.accent",
21
+ "color.accent-secondary-hover": "color.accent-hover",
22
+ "color.accent-secondary-tint": "color.accent-tint",
23
+ "color.accent-secondary-tint-strong": "color.accent-tint-strong",
24
+ "color.on-accent-secondary-tint": "color.on-accent-tint",
25
+ "color.chart-1": "color.accent",
26
+ "color.badge-accent-bg": "color.accent-tint",
27
+ "color.badge-accent-border": "color.accent-tint-strong",
28
+ "color.badge-accent-ink": "color.on-accent-tint",
29
+ "color.badge-secondary-bg": "color.accent-secondary-tint",
30
+ "color.badge-secondary-border": "color.accent-secondary-tint-strong",
31
+ "color.badge-secondary-ink": "color.on-accent-secondary-tint"
32
+ },
33
+ "dark": {
34
+ "color.accent-secondary": "color.accent",
35
+ "color.accent-secondary-hover": "color.accent-hover",
36
+ "color.accent-secondary-tint": "color.accent-tint",
37
+ "color.accent-secondary-tint-strong": "color.accent-tint-strong",
38
+ "color.on-accent-secondary-tint": "color.on-accent-tint",
39
+ "color.chart-1": "color.accent",
40
+ "color.badge-accent-bg": "color.accent-tint",
41
+ "color.badge-accent-border": "color.accent-tint-strong",
42
+ "color.badge-accent-ink": "color.on-accent-tint",
43
+ "color.badge-secondary-bg": "color.accent-secondary-tint",
44
+ "color.badge-secondary-border": "color.accent-secondary-tint-strong",
45
+ "color.badge-secondary-ink": "color.on-accent-secondary-tint"
46
+ }
47
+ },
48
+ "typeRoles": {
49
+ "display": "sans",
50
+ "wordmark": "sans",
51
+ "heading-lg": "sans",
52
+ "heading-md": "sans",
53
+ "heading-sm": "sans",
54
+ "title": "sans",
55
+ "body": "sans",
56
+ "body-sm": "sans",
57
+ "meta": "sans",
58
+ "label": "sans",
59
+ "caption": "sans",
60
+ "overline": "sans",
61
+ "caps": "sans",
62
+ "code": "mono",
63
+ "key": "mono",
64
+ "control": "sans",
65
+ "nav": "sans"
66
+ }
67
+ }
@@ -0,0 +1,13 @@
1
+ /* Polykit brand "coral".
2
+ * Fictional example brand: Coral primary accent, no secondary.
3
+ * Opt in with data-brand="coral" on <html> or any element, after tokens.css.
4
+ * Needs light-dark() (Baseline 2024). */
5
+ [data-brand="coral"] {
6
+ --pk-brand-accent: light-dark(#d93f5c, #f27d93);
7
+ --pk-brand-accent-hover: light-dark(#e1657d, #f6a4b3);
8
+ --pk-brand-accent-tint: light-dark(#fae8eb, #2f211d);
9
+ --pk-brand-accent-tint-strong: light-dark(#f4c5ce, #482d2d);
10
+ --pk-brand-on-accent-tint: light-dark(#61283d, #f8b8c4);
11
+ --pk-brand-focus-field: light-dark(#d93f5c, #f27d93);
12
+ --pk-brand-focus-halo: light-dark(rgb(217 63 92 / 0.3), rgb(242 125 147 / 0.3));
13
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "coral",
3
+ "description": "Fictional example brand: Coral primary accent, no secondary.",
4
+ "secondary": false,
5
+ "colors": {
6
+ "light": {
7
+ "accent": {
8
+ "css": "#d93f5c",
9
+ "value": "#d93f5c"
10
+ },
11
+ "accent-hover": {
12
+ "css": "#e1657d",
13
+ "value": "#e1657d"
14
+ },
15
+ "accent-tint": {
16
+ "css": "#fae8eb",
17
+ "value": "#fae8eb"
18
+ },
19
+ "accent-tint-strong": {
20
+ "css": "#f4c5ce",
21
+ "value": "#f4c5ce"
22
+ },
23
+ "on-accent-tint": {
24
+ "css": "#61283d",
25
+ "value": "#61283d"
26
+ },
27
+ "focus-field": {
28
+ "css": "#d93f5c",
29
+ "value": "#d93f5c"
30
+ },
31
+ "focus-halo": {
32
+ "css": "rgb(217 63 92 / 0.3)",
33
+ "value": "rgb(217 63 92 / 0.3)"
34
+ }
35
+ },
36
+ "dark": {
37
+ "accent": {
38
+ "css": "#f27d93",
39
+ "value": "#f27d93"
40
+ },
41
+ "accent-hover": {
42
+ "css": "#f6a4b3",
43
+ "value": "#f6a4b3"
44
+ },
45
+ "accent-tint": {
46
+ "css": "#2f211d",
47
+ "value": "#2f211d"
48
+ },
49
+ "accent-tint-strong": {
50
+ "css": "#482d2d",
51
+ "value": "#482d2d"
52
+ },
53
+ "on-accent-tint": {
54
+ "css": "#f8b8c4",
55
+ "value": "#f8b8c4"
56
+ },
57
+ "focus-field": {
58
+ "css": "#f27d93",
59
+ "value": "#f27d93"
60
+ },
61
+ "focus-halo": {
62
+ "css": "rgb(242 125 147 / 0.3)",
63
+ "value": "rgb(242 125 147 / 0.3)"
64
+ }
65
+ }
66
+ },
67
+ "font": {},
68
+ "headingWeight": null,
69
+ "exceptions": {
70
+ "color.danger on color.accent-tint": {
71
+ "themes": [
72
+ "light"
73
+ ],
74
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
75
+ },
76
+ "color.warning on color.accent-tint": {
77
+ "themes": [
78
+ "light"
79
+ ],
80
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
81
+ },
82
+ "color.priority-medium on color.accent-tint": {
83
+ "themes": [
84
+ "light"
85
+ ],
86
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
87
+ },
88
+ "color.cat-green on color.accent-tint": {
89
+ "themes": [
90
+ "light"
91
+ ],
92
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
93
+ },
94
+ "color.cat-teal on color.accent-tint": {
95
+ "themes": [
96
+ "light"
97
+ ],
98
+ "reason": "On the accent tint of a selected row or a pressed stat tile, a few shapes are just under 3:1 in the light theme. Each is paired with text that says the same thing (principle 3)."
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,13 @@
1
+ /* Polykit brand "indigo".
2
+ * Fictional example brand: Indigo primary accent, no secondary.
3
+ * Opt in with data-brand="indigo" on <html> or any element, after tokens.css.
4
+ * Needs light-dark() (Baseline 2024). */
5
+ [data-brand="indigo"] {
6
+ --pk-brand-accent: light-dark(#5b6bd6, #8592f0);
7
+ --pk-brand-accent-hover: light-dark(#7c89de, #aab3f5);
8
+ --pk-brand-accent-tint: light-dark(#ebedfa, #262325);
9
+ --pk-brand-accent-tint-strong: light-dark(#ced3f3, #33313f);
10
+ --pk-brand-on-accent-tint: light-dark(#2f3a6e, #bcc3f7);
11
+ --pk-brand-focus-field: light-dark(#5b6bd6, #8592f0);
12
+ --pk-brand-focus-halo: light-dark(rgb(91 107 214 / 0.3), rgb(133 146 240 / 0.3));
13
+ }