@afluem/tokens 0.2.0 → 0.3.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.
package/dist/index.d.ts CHANGED
@@ -224,8 +224,6 @@ export declare const tokens: {
224
224
  "on-danger": string;
225
225
  "ink-inverse": string;
226
226
  "unknown": string;
227
- "unknown-soft": string;
228
- "unknown-line": string;
229
227
  "unknown-solid": string;
230
228
  "focus": string;
231
229
  "stamp-airmail": string;
@@ -286,8 +284,6 @@ export declare const tokens: {
286
284
  "on-danger": string;
287
285
  "ink-inverse": string;
288
286
  "unknown": string;
289
- "unknown-soft": string;
290
- "unknown-line": string;
291
287
  "unknown-solid": string;
292
288
  "focus": string;
293
289
  "stamp-airmail": string;
@@ -312,132 +308,4 @@ export declare const tokens: {
312
308
  "press": string;
313
309
  };
314
310
  };
315
- "layers": {
316
- "console": {
317
- "dark": {
318
- "color": {
319
- "surface": string;
320
- "surface-raised": string;
321
- "surface-sunken": string;
322
- "surface-overlay": string;
323
- "surface-hover": string;
324
- "surface-active": string;
325
- "line": string;
326
- "line-strong": string;
327
- "control-border": string;
328
- "ink": string;
329
- "ink-muted": string;
330
- "airmail": string;
331
- "airmail-hover": string;
332
- "airmail-press": string;
333
- "on-airmail": string;
334
- "airmail-text": string;
335
- "airmail-soft": string;
336
- "airmail-line": string;
337
- "ok": string;
338
- "ok-soft": string;
339
- "ok-line": string;
340
- "ok-solid": string;
341
- "warn": string;
342
- "warn-soft": string;
343
- "warn-line": string;
344
- "warn-solid": string;
345
- "fail": string;
346
- "fail-soft": string;
347
- "fail-line": string;
348
- "fail-solid": string;
349
- "danger": string;
350
- "on-danger": string;
351
- "ink-inverse": string;
352
- "unknown": string;
353
- "unknown-soft": string;
354
- "unknown-line": string;
355
- "unknown-solid": string;
356
- "focus": string;
357
- "stamp-airmail": string;
358
- "stamp-vermilion": string;
359
- "stamp-kraft": string;
360
- "stamp-ink": string;
361
- "stamp-paper": string;
362
- "on-stamp-kraft": string;
363
- "stamp-reply": string;
364
- "stamp-edge": string;
365
- };
366
- "shadow": {
367
- "xs": string;
368
- "sm": string;
369
- "lg": string;
370
- "stamp": string;
371
- "edge": string;
372
- "edge-primary": string;
373
- "focus-ring": string;
374
- };
375
- "offset": {
376
- "press": string;
377
- };
378
- };
379
- "light": {
380
- "color": {
381
- "surface": string;
382
- "surface-raised": string;
383
- "surface-sunken": string;
384
- "surface-overlay": string;
385
- "surface-hover": string;
386
- "surface-active": string;
387
- "line": string;
388
- "line-strong": string;
389
- "control-border": string;
390
- "ink": string;
391
- "ink-muted": string;
392
- "airmail": string;
393
- "airmail-hover": string;
394
- "airmail-press": string;
395
- "on-airmail": string;
396
- "airmail-text": string;
397
- "airmail-soft": string;
398
- "airmail-line": string;
399
- "ok": string;
400
- "ok-soft": string;
401
- "ok-line": string;
402
- "ok-solid": string;
403
- "warn": string;
404
- "warn-soft": string;
405
- "warn-line": string;
406
- "warn-solid": string;
407
- "fail": string;
408
- "fail-soft": string;
409
- "fail-line": string;
410
- "fail-solid": string;
411
- "danger": string;
412
- "on-danger": string;
413
- "ink-inverse": string;
414
- "unknown": string;
415
- "unknown-soft": string;
416
- "unknown-line": string;
417
- "unknown-solid": string;
418
- "focus": string;
419
- "stamp-airmail": string;
420
- "stamp-vermilion": string;
421
- "stamp-kraft": string;
422
- "stamp-ink": string;
423
- "stamp-paper": string;
424
- "on-stamp-kraft": string;
425
- "stamp-reply": string;
426
- "stamp-edge": string;
427
- };
428
- "shadow": {
429
- "xs": string;
430
- "sm": string;
431
- "lg": string;
432
- "stamp": string;
433
- "edge": string;
434
- "edge-primary": string;
435
- "focus-ring": string;
436
- };
437
- "offset": {
438
- "press": string;
439
- };
440
- };
441
- };
442
- };
443
311
  };
package/dist/index.js CHANGED
@@ -224,8 +224,6 @@ export const tokens = {
224
224
  "on-danger": "#fffbfa",
225
225
  "ink-inverse": "#141310",
226
226
  "unknown": "#bdb8af",
227
- "unknown-soft": "#0d0c09",
228
- "unknown-line": "#3f3d37",
229
227
  "unknown-solid": "#7e7a72",
230
228
  "focus": "#97bbfb",
231
229
  "stamp-airmail": "#2451b3",
@@ -286,8 +284,6 @@ export const tokens = {
286
284
  "on-danger": "#fffbfa",
287
285
  "ink-inverse": "#f6efe1",
288
286
  "unknown": "#5f5a51",
289
- "unknown-soft": "#efe7d8",
290
- "unknown-line": "#c7c0b1",
291
287
  "unknown-solid": "#868073",
292
288
  "focus": "#1e4eac",
293
289
  "stamp-airmail": "#2451b3",
@@ -311,133 +307,5 @@ export const tokens = {
311
307
  "offset": {
312
308
  "press": "3px"
313
309
  }
314
- },
315
- "layers": {
316
- "console": {
317
- "dark": {
318
- "color": {
319
- "surface": "#11100f",
320
- "surface-raised": "#181715",
321
- "surface-sunken": "#0b0a08",
322
- "surface-overlay": "#1f1e1b",
323
- "surface-hover": "#1d1c19",
324
- "surface-active": "#252421",
325
- "line": "#252421",
326
- "line-strong": "#373532",
327
- "control-border": "#797772",
328
- "ink": "#edebe7",
329
- "ink-muted": "#bab7b2",
330
- "airmail": "#3065cc",
331
- "airmail-hover": "#2559bf",
332
- "airmail-press": "#1e4eac",
333
- "on-airmail": "#fafcff",
334
- "airmail-text": "#97bbfb",
335
- "airmail-soft": "#162644",
336
- "airmail-line": "#28467d",
337
- "ok": "#76cf8a",
338
- "ok-soft": "#15291a",
339
- "ok-line": "#244d2e",
340
- "ok-solid": "#4cb86a",
341
- "warn": "#f0be67",
342
- "warn-soft": "#31240e",
343
- "warn-line": "#5b4315",
344
- "warn-solid": "#efb146",
345
- "fail": "#f58c7f",
346
- "fail-soft": "#3a1d1a",
347
- "fail-line": "#6c352f",
348
- "fail-solid": "#ec5c50",
349
- "danger": "#c5372f",
350
- "on-danger": "#fffbfa",
351
- "ink-inverse": "#11100f",
352
- "unknown": "#bab7b2",
353
- "unknown-soft": "#0b0a08",
354
- "unknown-line": "#373532",
355
- "unknown-solid": "#797772",
356
- "focus": "#97bbfb",
357
- "stamp-airmail": "#2451b3",
358
- "stamp-vermilion": "#b9361f",
359
- "stamp-kraft": "#c08f55",
360
- "stamp-ink": "#1c1914",
361
- "stamp-paper": "#fbf8f1",
362
- "on-stamp-kraft": "#1c1914",
363
- "stamp-reply": "#ff9478",
364
- "stamp-edge": "#d8ccb3"
365
- },
366
- "shadow": {
367
- "xs": "0 0 0 0 #0000",
368
- "sm": "0 0 0 1px #252421",
369
- "lg": "0 0 0 1px #373532, 0 20px 48px -12px #000000b3",
370
- "stamp": "0 0 0 0 #0000",
371
- "edge": "inset 0 0 0 1px #373532",
372
- "edge-primary": "inset 0 0 0 1px #3065cc",
373
- "focus-ring": "0 0 0 2px #11100f, 0 0 0 4px #97bbfb"
374
- },
375
- "offset": {
376
- "press": "0px"
377
- }
378
- },
379
- "light": {
380
- "color": {
381
- "surface": "#ffffff",
382
- "surface-raised": "#ffffff",
383
- "surface-sunken": "#f7f6f3",
384
- "surface-overlay": "#ffffff",
385
- "surface-hover": "#f4f3f1",
386
- "surface-active": "#eeedea",
387
- "line": "#e7e6e3",
388
- "line-strong": "#d6d4d0",
389
- "control-border": "#888682",
390
- "ink": "#1a1814",
391
- "ink-muted": "#605d59",
392
- "airmail": "#2253b5",
393
- "airmail-hover": "#1545a2",
394
- "airmail-press": "#0f3a90",
395
- "on-airmail": "#fafcff",
396
- "airmail-text": "#1e4eac",
397
- "airmail-soft": "#e0ecff",
398
- "airmail-line": "#acc5f2",
399
- "ok": "#146d34",
400
- "ok-soft": "#dcf7e1",
401
- "ok-line": "#a6daaf",
402
- "ok-solid": "#1b9247",
403
- "warn": "#945a00",
404
- "warn-soft": "#ffeecb",
405
- "warn-line": "#f0cb8d",
406
- "warn-solid": "#c37902",
407
- "fail": "#af2b25",
408
- "fail-soft": "#ffe7e3",
409
- "fail-line": "#f8bdb4",
410
- "fail-solid": "#d7352d",
411
- "danger": "#b3241f",
412
- "on-danger": "#fffbfa",
413
- "ink-inverse": "#ffffff",
414
- "unknown": "#605d59",
415
- "unknown-soft": "#f7f6f3",
416
- "unknown-line": "#d6d4d0",
417
- "unknown-solid": "#888682",
418
- "focus": "#1e4eac",
419
- "stamp-airmail": "#2451b3",
420
- "stamp-vermilion": "#b9361f",
421
- "stamp-kraft": "#c08f55",
422
- "stamp-ink": "#1c1914",
423
- "stamp-paper": "#fbf8f1",
424
- "on-stamp-kraft": "#1c1914",
425
- "stamp-reply": "#ff9478",
426
- "stamp-edge": "#d8ccb3"
427
- },
428
- "shadow": {
429
- "xs": "0 1px 2px 0 #1d1a140f",
430
- "sm": "0 0 0 1px #e7e6e3, 0 1px 2px 0 #1d1a140f",
431
- "lg": "0 0 0 1px #e7e6e3, 0 16px 40px -12px #1d1a1438",
432
- "stamp": "0 0 0 0 #0000",
433
- "edge": "inset 0 0 0 1px #d6d4d0, 0 1px 2px 0 #1d1a140f",
434
- "edge-primary": "inset 0 1px 0 0 #ffffff1f, 0 1px 2px 0 #0f3a9040",
435
- "focus-ring": "0 0 0 2px #ffffff, 0 0 0 4px #1e4eac"
436
- },
437
- "offset": {
438
- "press": "0px"
439
- }
440
- }
441
- }
442
310
  }
443
311
  };
package/dist/tailwind.css CHANGED
@@ -34,8 +34,6 @@
34
34
  --color-on-danger: var(--af-color-on-danger);
35
35
  --color-ink-inverse: var(--af-color-ink-inverse);
36
36
  --color-unknown: var(--af-color-unknown);
37
- --color-unknown-soft: var(--af-color-unknown-soft);
38
- --color-unknown-line: var(--af-color-unknown-line);
39
37
  --color-unknown-solid: var(--af-color-unknown-solid);
40
38
  --color-focus: var(--af-color-focus);
41
39
  --color-stamp-airmail: var(--af-color-stamp-airmail);
package/dist/tokens.css CHANGED
@@ -160,8 +160,6 @@
160
160
  --af-color-on-danger: #fffbfa;
161
161
  --af-color-ink-inverse: #f6efe1;
162
162
  --af-color-unknown: #5f5a51;
163
- --af-color-unknown-soft: #efe7d8;
164
- --af-color-unknown-line: #c7c0b1;
165
163
  --af-color-unknown-solid: #868073;
166
164
  --af-color-focus: #1e4eac;
167
165
  --af-color-stamp-airmail: #2451b3;
@@ -219,8 +217,6 @@
219
217
  --af-color-on-danger: #fffbfa;
220
218
  --af-color-ink-inverse: #141310;
221
219
  --af-color-unknown: #bdb8af;
222
- --af-color-unknown-soft: #0d0c09;
223
- --af-color-unknown-line: #3f3d37;
224
220
  --af-color-unknown-solid: #7e7a72;
225
221
  --af-color-focus: #97bbfb;
226
222
  --af-color-stamp-airmail: #2451b3;
@@ -278,8 +274,6 @@
278
274
  --af-color-on-danger: #fffbfa;
279
275
  --af-color-ink-inverse: #141310;
280
276
  --af-color-unknown: #bdb8af;
281
- --af-color-unknown-soft: #0d0c09;
282
- --af-color-unknown-line: #3f3d37;
283
277
  --af-color-unknown-solid: #7e7a72;
284
278
  --af-color-focus: #97bbfb;
285
279
  --af-color-stamp-airmail: #2451b3;
@@ -301,90 +295,6 @@
301
295
  color-scheme: dark;
302
296
  }
303
297
 
304
- [data-layer="console"],
305
- [data-layer="console"] [data-theme="light"] {
306
- --af-color-surface: #ffffff;
307
- --af-color-surface-raised: #ffffff;
308
- --af-color-surface-sunken: #f7f6f3;
309
- --af-color-surface-overlay: #ffffff;
310
- --af-color-surface-hover: #f4f3f1;
311
- --af-color-surface-active: #eeedea;
312
- --af-color-line: #e7e6e3;
313
- --af-color-line-strong: #d6d4d0;
314
- --af-color-control-border: #888682;
315
- --af-color-ink: #1a1814;
316
- --af-color-ink-muted: #605d59;
317
- --af-color-ink-inverse: #ffffff;
318
- --af-color-unknown: #605d59;
319
- --af-color-unknown-soft: #f7f6f3;
320
- --af-color-unknown-line: #d6d4d0;
321
- --af-color-unknown-solid: #888682;
322
- --af-shadow-sm: 0 0 0 1px #e7e6e3, 0 1px 2px 0 #1d1a140f;
323
- --af-shadow-lg: 0 0 0 1px #e7e6e3, 0 16px 40px -12px #1d1a1438;
324
- --af-shadow-stamp: 0 0 0 0 #0000;
325
- --af-shadow-edge: inset 0 0 0 1px #d6d4d0, 0 1px 2px 0 #1d1a140f;
326
- --af-shadow-edge-primary: inset 0 1px 0 0 #ffffff1f, 0 1px 2px 0 #0f3a9040;
327
- --af-shadow-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #1e4eac;
328
- --af-offset-press: 0px;
329
- }
330
-
331
- @media (prefers-color-scheme: dark) {
332
- :root:not([data-theme="light"])[data-layer="console"],
333
- :root:not([data-theme="light"]) [data-layer="console"]:not([data-theme="light"], [data-theme="light"] *) {
334
- --af-color-surface: #11100f;
335
- --af-color-surface-raised: #181715;
336
- --af-color-surface-sunken: #0b0a08;
337
- --af-color-surface-overlay: #1f1e1b;
338
- --af-color-surface-hover: #1d1c19;
339
- --af-color-surface-active: #252421;
340
- --af-color-line: #252421;
341
- --af-color-line-strong: #373532;
342
- --af-color-control-border: #797772;
343
- --af-color-ink: #edebe7;
344
- --af-color-ink-muted: #bab7b2;
345
- --af-color-ink-inverse: #11100f;
346
- --af-color-unknown: #bab7b2;
347
- --af-color-unknown-soft: #0b0a08;
348
- --af-color-unknown-line: #373532;
349
- --af-color-unknown-solid: #797772;
350
- --af-shadow-sm: 0 0 0 1px #252421;
351
- --af-shadow-lg: 0 0 0 1px #373532, 0 20px 48px -12px #000000b3;
352
- --af-shadow-stamp: 0 0 0 0 #0000;
353
- --af-shadow-edge: inset 0 0 0 1px #373532;
354
- --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
355
- --af-shadow-focus-ring: 0 0 0 2px #11100f, 0 0 0 4px #97bbfb;
356
- --af-offset-press: 0px;
357
- }
358
- }
359
-
360
- [data-theme="dark"][data-layer="console"],
361
- [data-theme="dark"] [data-layer="console"]:not([data-theme="light"], [data-theme="light"] *),
362
- [data-layer="console"] [data-theme="dark"] {
363
- --af-color-surface: #11100f;
364
- --af-color-surface-raised: #181715;
365
- --af-color-surface-sunken: #0b0a08;
366
- --af-color-surface-overlay: #1f1e1b;
367
- --af-color-surface-hover: #1d1c19;
368
- --af-color-surface-active: #252421;
369
- --af-color-line: #252421;
370
- --af-color-line-strong: #373532;
371
- --af-color-control-border: #797772;
372
- --af-color-ink: #edebe7;
373
- --af-color-ink-muted: #bab7b2;
374
- --af-color-ink-inverse: #11100f;
375
- --af-color-unknown: #bab7b2;
376
- --af-color-unknown-soft: #0b0a08;
377
- --af-color-unknown-line: #373532;
378
- --af-color-unknown-solid: #797772;
379
- --af-shadow-sm: 0 0 0 1px #252421;
380
- --af-shadow-lg: 0 0 0 1px #373532, 0 20px 48px -12px #000000b3;
381
- --af-shadow-stamp: 0 0 0 0 #0000;
382
- --af-shadow-edge: inset 0 0 0 1px #373532;
383
- --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
384
- --af-shadow-focus-ring: 0 0 0 2px #11100f, 0 0 0 4px #97bbfb;
385
- --af-offset-press: 0px;
386
- }
387
-
388
298
  @media (prefers-reduced-motion: reduce) {
389
299
  :root {
390
300
  --af-duration-fast: 0s;