@karmo-co/drift-kit-reference 0.0.0-stage → 23.4.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.
Files changed (92) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +24 -2
  3. package/bin/drift-kit-ref.js +169 -0
  4. package/manifest/components/accordion.md +47 -0
  5. package/manifest/components/action-bar.md +51 -0
  6. package/manifest/components/alert.md +53 -0
  7. package/manifest/components/app-shell.md +43 -0
  8. package/manifest/components/avatar.md +42 -0
  9. package/manifest/components/body.md +48 -0
  10. package/manifest/components/box.md +58 -0
  11. package/manifest/components/breadcrumb.md +59 -0
  12. package/manifest/components/button.md +46 -0
  13. package/manifest/components/calendar.md +69 -0
  14. package/manifest/components/card.md +71 -0
  15. package/manifest/components/checkbox.md +43 -0
  16. package/manifest/components/choice-card.md +61 -0
  17. package/manifest/components/code-input.md +56 -0
  18. package/manifest/components/date-picker.md +66 -0
  19. package/manifest/components/day-of-month.md +54 -0
  20. package/manifest/components/detail-list.md +37 -0
  21. package/manifest/components/divider.md +33 -0
  22. package/manifest/components/dropdown.md +52 -0
  23. package/manifest/components/dropzone.md +56 -0
  24. package/manifest/components/eyebrow.md +45 -0
  25. package/manifest/components/feedback-badge.md +35 -0
  26. package/manifest/components/glider.md +34 -0
  27. package/manifest/components/heading.md +47 -0
  28. package/manifest/components/hero.md +46 -0
  29. package/manifest/components/icon-button.md +41 -0
  30. package/manifest/components/icon-tile.md +44 -0
  31. package/manifest/components/icon.md +30 -0
  32. package/manifest/components/input.md +63 -0
  33. package/manifest/components/link.md +42 -0
  34. package/manifest/components/loading-spinner.md +42 -0
  35. package/manifest/components/logo.md +38 -0
  36. package/manifest/components/modal.md +53 -0
  37. package/manifest/components/pagination.md +54 -0
  38. package/manifest/components/payment-form.md +29 -0
  39. package/manifest/components/price-summary.md +30 -0
  40. package/manifest/components/radio.md +42 -0
  41. package/manifest/components/section-heading.md +41 -0
  42. package/manifest/components/select.md +99 -0
  43. package/manifest/components/shield.md +34 -0
  44. package/manifest/components/sidebar.md +73 -0
  45. package/manifest/components/stepper.md +53 -0
  46. package/manifest/components/switch.md +45 -0
  47. package/manifest/components/table.md +77 -0
  48. package/manifest/components/tabs.md +43 -0
  49. package/manifest/components/tag.md +43 -0
  50. package/manifest/components/textarea.md +52 -0
  51. package/manifest/components/toast.md +52 -0
  52. package/manifest/components/tooltip.md +42 -0
  53. package/manifest/components/top-bar.md +60 -0
  54. package/manifest/components/vehicle.md +43 -0
  55. package/manifest/index.json +402 -0
  56. package/manifest/migrations/1.0.0.md +50 -0
  57. package/manifest/migrations/10.0.0.md +154 -0
  58. package/manifest/migrations/11.0.0.md +24 -0
  59. package/manifest/migrations/12.0.0.md +38 -0
  60. package/manifest/migrations/13.0.0.md +50 -0
  61. package/manifest/migrations/14.0.0.md +148 -0
  62. package/manifest/migrations/15.0.0.md +140 -0
  63. package/manifest/migrations/16.0.0.md +196 -0
  64. package/manifest/migrations/17.0.0.md +19 -0
  65. package/manifest/migrations/18.0.0.md +23 -0
  66. package/manifest/migrations/19.0.0.md +15 -0
  67. package/manifest/migrations/2.0.0.md +18 -0
  68. package/manifest/migrations/20.0.0.md +43 -0
  69. package/manifest/migrations/21.0.0.md +97 -0
  70. package/manifest/migrations/22.0.0.md +17 -0
  71. package/manifest/migrations/23.0.0.md +86 -0
  72. package/manifest/migrations/3.0.0.md +34 -0
  73. package/manifest/migrations/4.0.0.md +147 -0
  74. package/manifest/migrations/5.0.0.md +73 -0
  75. package/manifest/migrations/6.0.0.md +67 -0
  76. package/manifest/migrations/7.0.0.md +71 -0
  77. package/manifest/migrations/8.0.0.md +16 -0
  78. package/manifest/migrations/9.0.0.md +107 -0
  79. package/manifest/rules.md +37 -0
  80. package/manifest/setup.md +28 -0
  81. package/manifest/tokens/border-width.md +12 -0
  82. package/manifest/tokens/border.md +147 -0
  83. package/manifest/tokens/font.md +90 -0
  84. package/manifest/tokens/icon.md +84 -0
  85. package/manifest/tokens/interactive.md +37 -0
  86. package/manifest/tokens/motion.md +69 -0
  87. package/manifest/tokens/radius.md +20 -0
  88. package/manifest/tokens/shadow.md +28 -0
  89. package/manifest/tokens/spacing.md +35 -0
  90. package/manifest/tokens/surface.md +138 -0
  91. package/manifest/tokens/text.md +92 -0
  92. package/package.json +20 -4
@@ -0,0 +1,16 @@
1
+ ## 8.0.0 - 2026-09-12
2
+
3
+ - **drift-kit is importable from React.** New `@karmo-co/drift-kit/react` covering
4
+ Body, Heading, Hero, Eyebrow, Divider and Button, and `@karmo-co/drift-kit/icons/<set>`
5
+ covering all eight icon sets. Props are the data attributes with `data-` dropped,
6
+ so a prototype and an app use the same words in the same order.
7
+ - Components are thin: class names and attributes, no styling runtime, no state.
8
+ All of them render on the server and none carries a `'use client'` directive.
9
+ - Icons are per-icon named exports annotated `/*#__PURE__*/`, so an app ships only
10
+ what it imports rather than all 2,090 lucide glyphs.
11
+ - One prop had to be renamed: `data-style` is `textStyle`, because React owns `style`.
12
+ - Button's variant and status pairs are a union, so a combination the CSS does not
13
+ style fails to compile.
14
+ - The repo gains its first dependencies, all of them dev only. The published package
15
+ still declares no runtime dependencies; react is a peer.
16
+
@@ -0,0 +1,107 @@
1
+ ## 9.0.0 - 2026-09-14
2
+
3
+ Three changes to Alert, all of them breaking, all of them asked for together.
4
+
5
+ - **The status tint on the words is now opt-in, via `data-text="tinted"`.**
6
+ 8.3.0 made every status paint its own title and body on `subtle`, `outline`
7
+ and `plain`. By default they are back to the flat pair the base rule always
8
+ carried: default-coloured title, grey body. The **icon stays status-coloured
9
+ either way**, so turning the tint off never costs the reader the signal, it
10
+ just stops the message carrying it twice.
11
+ - Mechanically the five status rules no longer write `--_alert-title` and
12
+ `--_alert-body` at all. They write one new private slot,
13
+ `--_alert-tint-text`, and only the `[data-text="tinted"]` rule spends it.
14
+ That rule and `[data-variant="solid"]` are the only two writers of the text
15
+ slots and they have identical specificity, so **source order alone** decides
16
+ which wins and solid has to stay last: tinted words on a solid status fill
17
+ would be that colour on itself. `test/order.test.js` now asserts both the
18
+ writer list and the order, and fails if a third rule appears or the two swap.
19
+ - **`neutral` is a named status.** `data-status="neutral"` renders exactly what
20
+ omitting the attribute always did, so nothing changes visually; what changes
21
+ is that you can now say it. A sixth component token,
22
+ `--dk-component-alert-neutral-color`, completes the per-status text family,
23
+ so a tinted neutral alert has a colour of its own rather than falling back to
24
+ nothing. React's `AlertStatus` gains `'neutral'`.
25
+ - **Width follows Button: content width by default, `data-full-width="true"`
26
+ to fill.** This reverses 8.1.0, which shipped `width: 100%`. Two width
27
+ vocabularies pointing opposite ways across one kit is worse than either
28
+ default on its own. `fit-content` is less narrow than it sounds: it resolves
29
+ to `min(max-content, max(min-content, available))`, so a long body still
30
+ fills the column and only a short one hugs. React gains `fullWidth`.
31
+ - **Content width gained a trailing-padding rule**, found by looking at the new
32
+ default on the docs page. A leading icon with no trailing dismiss button is
33
+ the one configuration whose two insets do not match: measured at the default
34
+ size, the words start 48px in (padding, icon column, gap) and stop 18px from
35
+ the other edge. Its `padding-inline-end` becomes `padding + gap`, the same
36
+ step that separates the icon from the words, mirrored, so it tracks both the
37
+ size axis and the responsive spacing scale with no second number to keep in
38
+ sync. Content width only, since full width has slack there and widening it
39
+ would buy nothing but a narrower column. The other two configurations are
40
+ already even (48/48 with a dismiss button in the mirror column, 18/18 with no
41
+ icon) and are excluded, as is `plain`, whose whole job is to have no padding.
42
+ - **The icon and the dismiss button now centre correctly when there is no
43
+ title.** Both align to `--_alert-title-line`, so with title omitted they were
44
+ centring on a line that is not there: the body is a size step smaller
45
+ (body-small 20px against body-medium 24px), which left both 2px low. With no
46
+ title the slot now resolves to the body's line height instead. Only visible at
47
+ the default size, since `data-size="small"` steps the title down to
48
+ body-small too and the two already coincided. Measured across all 26
49
+ icon-bearing alerts on the docs page: every one centres within 0.6px.
50
+ - **The dismiss button now has hover and press states**, borrowed from Icon
51
+ button and recoloured by the status: a background that appears on hover, one
52
+ rung further on press, the glyph stepping `-hover` then `-focus` alongside it,
53
+ and a `scale(0.9)`. Two deliberate differences from `.dk-component-icon-btn`:
54
+ it is transparent at rest, since it already sits on a tinted panel and a
55
+ resting fill would read as a second panel inside the first, and its colours
56
+ come from the status rather than from neutral.
57
+ - Its box is now the glyph plus a padding ring (`28px` around a `20px` glyph at
58
+ the default size, `24px` around `16px` at small), which is what gives the
59
+ hover background a body instead of a smudge hugging the X, and it sits
60
+ `--dk-component-alert-dismiss-offset` further from the words: the gap from the
61
+ text to the button goes from 12px to 20px, and to the glyph itself 24px.
62
+ - **`solid` needed a scrim rather than a rung.** Measured before building it:
63
+ `--dk-surface-<status>-focus` is byte-identical to `--dk-surface-<status>-solid`
64
+ in light for all five statuses, and `--dk-surface-error-default` collides with
65
+ it the same way in dark, so no existing ladder gives two distinct steps above
66
+ a solid fill in both themes. Two new primitives,
67
+ `--dk-primitive-opacity-scrim-{hover,active}` (0.14 and 0.24), are laid over
68
+ the fill in the on-solid colour, which self-adapts: white over a status fill,
69
+ black over the neutral one. The glyph stays on-solid, since dimming the one
70
+ white thing on a saturated fill would cost contrast to signal a hover.
71
+ - `kit/reduced-motion.css` gains the dismiss button in both its lists, so the
72
+ new press does not move the element for a reader who asked for less motion.
73
+ That file exists precisely to stop new motion shipping unguarded.
74
+ - **Padding is even on all sides**, `--dk-component-alert-padding` (16px, 12px
75
+ at small), replacing the 12px-vertical against 16px-horizontal pair. That is
76
+ the shape a control has, not a panel, and Toast, the component Alert is the
77
+ persistent half of, already sets a flat `padding: var(--dk-spacing-4)`. ONE
78
+ token per size rather than two holding the same value, so the two edges
79
+ cannot drift apart again: `--dk-component-alert-padding-block` and
80
+ `-padding-inline` are gone, at both sizes.
81
+ - **An alert with no dismiss button gets a bit more room on its trailing
82
+ edge**, 24px against 16px (16px against 12px at small). With the button
83
+ there the right side already holds something and the words stop well short
84
+ of the edge; take it away and they run up against the padding alone. The
85
+ extra is its own token, `--dk-component-alert-trailing-extra`. It was the
86
+ dismiss offset until that offset was raised: the two had been equal only
87
+ because they arrived at the same size, and reusing one for the other meant
88
+ widening the gap before the button silently widened the padding of every
89
+ alert that has no button. This replaces the narrower rule that only fired at
90
+ content width and only with a leading icon: with even padding it is the
91
+ missing control that makes the difference, not the icon, and it is missing
92
+ at any width. `plain` stays excluded.
93
+ - **More room between the words and the dismiss button**, 28px rather than
94
+ 20px at the default size and 20px rather than 12px at small.
95
+ `--dk-component-alert-dismiss-offset` is now the panel's own padding, so the
96
+ control stands as far from the words as the words stand from the edge, and
97
+ it tracks the size axis with them rather than being a number of its own.
98
+ - **Migrating.** An alert that wants its 8.3.0 look adds `data-text="tinted"`;
99
+ one that wants its 8.1.0 width adds `data-full-width="true"`. Neither has a
100
+ silent failure mode: leave them off and you get the new defaults, which
101
+ render correctly, just differently.
102
+ - Contrast moves the right way. Neutral words on the status tints clear AA in
103
+ 29 of 30 theme and surface-level combinations, against 12 below-AA readings
104
+ of 288 for the tinted path. The single miss is error body text in dark at
105
+ ambient `data-surface="2"`, 3.95:1, and it only applies to an alert that has
106
+ opted out of the tint on a level-2 surface.
107
+
@@ -0,0 +1,37 @@
1
+ # The kit's own guard tests
2
+
3
+ Every rule below is a test in drift-kit. A component the kit ships passes all of them.
4
+
5
+ ## motion-guard
6
+
7
+ - components read motion patterns only
8
+ - behaviours read motion through dk.motion, never their own parser
9
+
10
+ ## invariant
11
+
12
+ - bundle canonical form matches the pre-restructure fixture
13
+ - no component transition writes a literal duration
14
+ - comment delimiters in the built bundle are balanced
15
+ - no declaration in the built bundle has unbalanced parentheses
16
+ - every component with a size axis sets those properties without one too
17
+
18
+ ## tone-boundary
19
+
20
+ - the audit's self-surfaced components are boundaries
21
+ - the element that paints is reset, not the component around it
22
+ - a variant that paints nothing at rest is excluded
23
+ - parts that paint only under the pointer, and disabled or control fills, are not boundaries
24
+ - Box is never a boundary: it is a toned surface by design
25
+ - Card is never a boundary either: rebuilt on the kit surface, 16 Oct
26
+ - a fill that stays put (a selected row) is a boundary; one that comes and goes (hover) is not
27
+ - status tints count as a component's own surface, followed through a private variable
28
+ - a fill no tone remaps is the component's own surface (Choice card, by name)
29
+ - a state set on an ancestor that repaints a part with a tone-following fill excludes it (an inset Input)
30
+ - an ancestor tone treatment that repaints a part excludes it (Icon tile on a solid)
31
+ - review: variants are also judged in pairs (a status solid Tag is a mark rule C inverts, not a surface)
32
+ - the derivation follows --dk-interactive-* to the surface it reads
33
+
34
+ ## anatomy
35
+
36
+ - every component stylesheet opens with an Anatomy block rooted at its own class
37
+ - every component stylesheet says what the component is for, in a Purpose line
@@ -0,0 +1,28 @@
1
+ # The package
2
+
3
+ Installed as `@karmo-co/drift-kit` from GitHub Packages.
4
+
5
+ ## Entry points
6
+
7
+ | Import | File |
8
+ |---|---|
9
+ | `@karmo-co/drift-kit/drift-kit.css` | `./dist/drift-kit.css` |
10
+ | `@karmo-co/drift-kit/drift-kit.min.css` | `./dist/drift-kit.min.css` |
11
+ | `@karmo-co/drift-kit/components.js` | `./dist/components.js` |
12
+ | `@karmo-co/drift-kit/fonts/*` | `./dist/fonts/*` |
13
+ | `@karmo-co/drift-kit/vehicles/*` | `./dist/vehicles/*` |
14
+ | `@karmo-co/drift-kit/manifest/*` | `./dist/manifest/*` |
15
+ | `@karmo-co/drift-kit/package.json` | `./package.json` |
16
+ | `@karmo-co/drift-kit/react` | `./dist/react/index.js` |
17
+ | `@karmo-co/drift-kit/behaviours/*` | `./dist/react/behaviours/*.js` |
18
+ | `@karmo-co/drift-kit/icons/*` | `./dist/icons/*.js` |
19
+
20
+ ## Root attributes the stylesheet reads
21
+
22
+ | Attribute | Values |
23
+ |---|---|
24
+ | `data-brand` | `karmo`, `volvo` |
25
+ | `data-theme` | `dark`, `light` |
26
+ | `data-border-radius` | `bubbly`, `normal`, `sharp` |
27
+ | `data-border-width` | `medium`, `thick`, `thin` |
28
+ | `data-density` | `normal`, `spacious`, `tight` |
@@ -0,0 +1,12 @@
1
+ # Border width tokens
2
+
3
+ Declared values, light and dark. Reference a token by name; never copy its value.
4
+
5
+ | Token | Light | Dark |
6
+ |---|---|---|
7
+ | `--dk-border-width-0` | `var(--dk-dynamic-border-width-0)` | `var(--dk-dynamic-border-width-0)` |
8
+ | `--dk-border-width-25` | `var(--dk-dynamic-border-width-25)` | `var(--dk-dynamic-border-width-25)` |
9
+ | `--dk-border-width-50` | `var(--dk-dynamic-border-width-50)` | `var(--dk-dynamic-border-width-50)` |
10
+ | `--dk-border-width-100` | `var(--dk-dynamic-border-width-100)` | `var(--dk-dynamic-border-width-100)` |
11
+ | `--dk-border-width-150` | `var(--dk-dynamic-border-width-150)` | `var(--dk-dynamic-border-width-150)` |
12
+ | `--dk-border-width-200` | `var(--dk-dynamic-border-width-200)` | `var(--dk-dynamic-border-width-200)` |
@@ -0,0 +1,147 @@
1
+ # Borders and edges tokens
2
+
3
+ Declared values, light and dark. Reference a token by name; never copy its value.
4
+
5
+ | Token | Light | Dark |
6
+ |---|---|---|
7
+ | `--dk-border-base-black` | `var(--dk-color-base-black)` | `var(--dk-color-base-black)` |
8
+ | `--dk-border-base-white` | `var(--dk-color-base-white)` | `var(--dk-color-base-white)` |
9
+ | `--dk-border-card-default` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-600)` |
10
+ | `--dk-border-card-secondary` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-500)` |
11
+ | `--dk-border-choice-card` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-800)` |
12
+ | `--dk-border-choice-card-active` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-600)` |
13
+ | `--dk-border-choice-card-hover` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-700)` |
14
+ | `--dk-border-control-active` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-600)` |
15
+ | `--dk-border-control-default` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-800)` |
16
+ | `--dk-border-control-hover` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-700)` |
17
+ | `--dk-border-dashed-dash` | `var(--dk-primitive-scale-2-5)` | `var(--dk-primitive-scale-2-5)` |
18
+ | `--dk-border-dashed-gap` | `var(--dk-primitive-scale-2)` | `var(--dk-primitive-scale-2)` |
19
+ | `--dk-border-dashed-primary` | `var(--dk-color-primary-400)` | `var(--dk-border-primary-default)` |
20
+ | `--dk-border-dashed-width` | `var(--dk-border-width-50)` | `var(--dk-border-width-50)` |
21
+ | `--dk-border-default-body` | `var(--dk-color-base-black)` | `var(--dk-color-base-white)` |
22
+ | `--dk-border-default-body-reverse` | `var(--dk-color-base-white)` | `var(--dk-color-base-black)` |
23
+ | `--dk-border-disabled-default` | `var(--dk-color-neutral-400)` | `var(--dk-color-neutral-400)` |
24
+ | `--dk-border-disabled-elevation` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-300)` |
25
+ | `--dk-border-disabled-subtle` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-800)` |
26
+ | `--dk-border-error-default` | `var(--dk-color-error-500)` | `var(--dk-color-error-400)` |
27
+ | `--dk-border-error-elevation` | `var(--dk-color-error-800)` | `var(--dk-color-error-800)` |
28
+ | `--dk-border-error-elevation-focus` | `var(--dk-color-error-700)` | `var(--dk-color-error-700)` |
29
+ | `--dk-border-error-elevation-hover` | `var(--dk-color-error-700)` | `var(--dk-color-error-700)` |
30
+ | `--dk-border-error-focus` | `var(--dk-color-error-700)` | `var(--dk-color-error-200)` |
31
+ | `--dk-border-error-hairline` | `var(--dk-color-error-300)` | `var(--dk-color-error-800)` |
32
+ | `--dk-border-error-hover` | `var(--dk-color-error-600)` | `var(--dk-color-error-300)` |
33
+ | `--dk-border-error-subtle` | `var(--dk-color-error-50)` | `var(--dk-color-error-50)` |
34
+ | `--dk-border-error-subtle-focus` | `var(--dk-color-error-200)` | `var(--dk-color-error-200)` |
35
+ | `--dk-border-error-subtle-hover` | `var(--dk-color-error-100)` | `var(--dk-color-error-100)` |
36
+ | `--dk-border-field-default` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-600)` |
37
+ | `--dk-border-field-disabled` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-800)` |
38
+ | `--dk-border-field-error` | `var(--dk-color-error-500)` | `var(--dk-color-error-400)` |
39
+ | `--dk-border-field-error-focus` | `var(--dk-color-error-700)` | `var(--dk-color-error-200)` |
40
+ | `--dk-border-field-error-ring` | `var(--dk-color-error-300)` | `var(--dk-color-error-600)` |
41
+ | `--dk-border-field-focus` | `var(--dk-color-primary-600)` | `var(--dk-color-primary-400)` |
42
+ | `--dk-border-field-focus-ring` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-600)` |
43
+ | `--dk-border-field-hover` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-500)` |
44
+ | `--dk-border-field-raised-default` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-800)` |
45
+ | `--dk-border-field-raised-focus` | `var(--dk-color-primary-400)` | `var(--dk-color-primary-500)` |
46
+ | `--dk-border-field-raised-hover` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-700)` |
47
+ | `--dk-border-glass-default` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-800)` |
48
+ | `--dk-border-glider-plain` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-700)` |
49
+ | `--dk-border-gradient-ai-deep` | `var(--dk-gradient-primary-top-right-default-stop-3)` | `var(--dk-gradient-primary-top-right-default-stop-3)` |
50
+ | `--dk-border-gradient-ai-light` | `var(--dk-gradient-primary-top-right-default-stop-1)` | `var(--dk-gradient-primary-top-right-default-stop-1)` |
51
+ | `--dk-border-gradient-angle` | `225deg` | `225deg` |
52
+ | `--dk-border-gradient-error-deep` | `var(--dk-gradient-error-top-right-default-stop-3)` | `var(--dk-gradient-error-top-right-default-stop-3)` |
53
+ | `--dk-border-gradient-error-light` | `var(--dk-gradient-error-top-right-hover-stop-2)` | `var(--dk-gradient-error-top-right-hover-stop-2)` |
54
+ | `--dk-border-gradient-information-deep` | `var(--dk-gradient-information-top-right-default-stop-3)` | `var(--dk-gradient-information-top-right-default-stop-3)` |
55
+ | `--dk-border-gradient-information-light` | `var(--dk-gradient-information-top-right-hover-stop-2)` | `var(--dk-gradient-information-top-right-hover-stop-2)` |
56
+ | `--dk-border-gradient-neutral-deep` | `var(--dk-gradient-neutral-top-right-default-stop-3)` | `var(--dk-gradient-neutral-top-right-default-stop-3)` |
57
+ | `--dk-border-gradient-neutral-light` | `var(--dk-gradient-neutral-top-right-hover-stop-2)` | `var(--dk-gradient-neutral-top-right-hover-stop-2)` |
58
+ | `--dk-border-gradient-primary-deep` | `var(--dk-gradient-primary-top-right-default-stop-3)` | `var(--dk-gradient-primary-top-right-default-stop-3)` |
59
+ | `--dk-border-gradient-primary-light` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-200)` |
60
+ | `--dk-border-gradient-primary-mid` | `var(--dk-gradient-primary-top-right-default-stop-2)` | `var(--dk-gradient-primary-top-right-default-stop-3)` |
61
+ | `--dk-border-gradient-success-deep` | `var(--dk-gradient-success-top-right-default-stop-3)` | `var(--dk-gradient-success-top-right-default-stop-3)` |
62
+ | `--dk-border-gradient-success-light` | `var(--dk-gradient-success-top-right-hover-stop-2)` | `var(--dk-gradient-success-top-right-hover-stop-2)` |
63
+ | `--dk-border-gradient-warning-deep` | `var(--dk-gradient-warning-top-right-default-stop-3)` | `var(--dk-gradient-warning-top-right-default-stop-3)` |
64
+ | `--dk-border-gradient-warning-light` | `var(--dk-gradient-warning-top-right-hover-stop-2)` | `var(--dk-gradient-warning-top-right-hover-stop-2)` |
65
+ | `--dk-border-hairline-current` | `var(--dk-border-hairline-level-0)` | `var(--dk-border-hairline-level-0)` |
66
+ | `--dk-border-hue-next1-hairline` | `var(--dk-primitive-color-primary-next1-300)` | `var(--dk-primitive-color-primary-next1-800)` |
67
+ | `--dk-border-hue-next2-hairline` | `var(--dk-primitive-color-primary-next2-300)` | `var(--dk-primitive-color-primary-next2-800)` |
68
+ | `--dk-border-hue-next3-hairline` | `var(--dk-primitive-color-primary-next3-300)` | `var(--dk-primitive-color-primary-next3-800)` |
69
+ | `--dk-border-hue-next4-hairline` | `var(--dk-primitive-color-primary-next4-300)` | `var(--dk-primitive-color-primary-next4-800)` |
70
+ | `--dk-border-hue-prev1-hairline` | `var(--dk-primitive-color-primary-prev1-300)` | `var(--dk-primitive-color-primary-prev1-800)` |
71
+ | `--dk-border-hue-prev2-hairline` | `var(--dk-primitive-color-primary-prev2-300)` | `var(--dk-primitive-color-primary-prev2-800)` |
72
+ | `--dk-border-hue-prev3-hairline` | `var(--dk-primitive-color-primary-prev3-300)` | `var(--dk-primitive-color-primary-prev3-800)` |
73
+ | `--dk-border-hue-prev4-hairline` | `var(--dk-primitive-color-primary-prev4-300)` | `var(--dk-primitive-color-primary-prev4-800)` |
74
+ | `--dk-border-hue-primary-hairline` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-800)` |
75
+ | `--dk-border-information-default` | `var(--dk-color-information-500)` | `var(--dk-color-information-400)` |
76
+ | `--dk-border-information-elevation` | `var(--dk-color-information-800)` | `var(--dk-color-information-800)` |
77
+ | `--dk-border-information-elevation-focus` | `var(--dk-color-information-700)` | `var(--dk-color-information-700)` |
78
+ | `--dk-border-information-elevation-hover` | `var(--dk-color-information-700)` | `var(--dk-color-information-700)` |
79
+ | `--dk-border-information-focus` | `var(--dk-color-information-700)` | `var(--dk-color-information-200)` |
80
+ | `--dk-border-information-hairline` | `var(--dk-color-information-300)` | `var(--dk-color-information-800)` |
81
+ | `--dk-border-information-hover` | `var(--dk-color-information-600)` | `var(--dk-color-information-300)` |
82
+ | `--dk-border-information-subtle` | `var(--dk-color-information-50)` | `var(--dk-color-information-50)` |
83
+ | `--dk-border-information-subtle-focus` | `var(--dk-color-information-200)` | `var(--dk-color-information-200)` |
84
+ | `--dk-border-information-subtle-hover` | `var(--dk-color-information-100)` | `var(--dk-color-information-100)` |
85
+ | `--dk-border-inverse-hairline` | `var(--dk-color-neutral-800)` | `var(--dk-color-neutral-100)` |
86
+ | `--dk-border-inverse-structural` | `var(--dk-color-neutral-900)` | `var(--dk-color-neutral-50)` |
87
+ | `--dk-border-nested-active` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-500)` |
88
+ | `--dk-border-nested-default` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-700)` |
89
+ | `--dk-border-nested-glass` | `rgb(from var(--dk-border-raised-default) r g b / var(--dk-primitive-opacity-glass))` | `rgb(from var(--dk-border-raised-default) r g b / var(--dk-primitive-opacity-glass))` |
90
+ | `--dk-border-nested-hover` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-600)` |
91
+ | `--dk-border-neutral-default` | `var(--dk-color-neutral-600)` | `var(--dk-color-neutral-300)` |
92
+ | `--dk-border-neutral-elevation` | `var(--dk-color-neutral-800)` | `var(--dk-color-neutral-800)` |
93
+ | `--dk-border-neutral-elevation-focus` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-700)` |
94
+ | `--dk-border-neutral-elevation-hover` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-700)` |
95
+ | `--dk-border-neutral-focus` | `var(--dk-color-neutral-800)` | `var(--dk-color-neutral-100)` |
96
+ | `--dk-border-neutral-hairline` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-600)` |
97
+ | `--dk-border-neutral-hover` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-200)` |
98
+ | `--dk-border-neutral-subtle` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-600)` |
99
+ | `--dk-border-neutral-subtle-focus` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-400)` |
100
+ | `--dk-border-neutral-subtle-hover` | `var(--dk-color-neutral-400)` | `var(--dk-color-neutral-500)` |
101
+ | `--dk-border-page-default` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-700)` |
102
+ | `--dk-border-page-secondary` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-800)` |
103
+ | `--dk-border-primary-active` | `var(--dk-color-primary-800)` | `var(--dk-color-primary-200)` |
104
+ | `--dk-border-primary-default` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-500)` |
105
+ | `--dk-border-primary-disabled` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-700)` |
106
+ | `--dk-border-primary-disabled-active` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-500)` |
107
+ | `--dk-border-primary-disabled-hover` | `var(--dk-color-primary-400)` | `var(--dk-color-primary-600)` |
108
+ | `--dk-border-primary-elevation` | `var(--dk-color-primary-800)` | `var(--dk-color-primary-800)` |
109
+ | `--dk-border-primary-elevation-focus` | `var(--dk-color-primary-700)` | `var(--dk-color-primary-600)` |
110
+ | `--dk-border-primary-elevation-hover` | `var(--dk-color-primary-700)` | `var(--dk-color-primary-700)` |
111
+ | `--dk-border-primary-focus` | `var(--dk-color-primary-700)` | `var(--dk-color-primary-300)` |
112
+ | `--dk-border-primary-guide` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-600)` |
113
+ | `--dk-border-primary-hairline` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-800)` |
114
+ | `--dk-border-primary-hover` | `var(--dk-color-primary-600)` | `var(--dk-color-primary-400)` |
115
+ | `--dk-border-primary-oos` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-600)` |
116
+ | `--dk-border-primary-subtle` | `var(--dk-color-primary-100)` | `var(--dk-color-primary-800)` |
117
+ | `--dk-border-primary-subtle-active` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-600)` |
118
+ | `--dk-border-primary-subtle-focus` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-600)` |
119
+ | `--dk-border-primary-subtle-hover` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-700)` |
120
+ | `--dk-border-progress` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-400)` |
121
+ | `--dk-border-progress-start` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-700)` |
122
+ | `--dk-border-raised-active` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-600)` |
123
+ | `--dk-border-raised-default` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-800)` |
124
+ | `--dk-border-raised-hover` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-700)` |
125
+ | `--dk-border-raised-subtle` | `rgb(from var(--dk-color-base-black) r g b / var(--dk-primitive-opacity-hairline-subtle))` | `rgb(from var(--dk-color-base-white) r g b / var(--dk-primitive-opacity-hairline-subtle-inverse))` |
126
+ | `--dk-border-sidebar-panel` | `var(--dk-color-neutral-50)` | `var(--dk-color-neutral-1000)` |
127
+ | `--dk-border-sidebar-panel-hover` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-900)` |
128
+ | `--dk-border-success-default` | `var(--dk-color-success-500)` | `var(--dk-color-success-400)` |
129
+ | `--dk-border-success-elevation` | `var(--dk-color-success-800)` | `var(--dk-color-success-800)` |
130
+ | `--dk-border-success-elevation-focus` | `var(--dk-color-success-700)` | `var(--dk-color-success-700)` |
131
+ | `--dk-border-success-elevation-hover` | `var(--dk-color-success-700)` | `var(--dk-color-success-700)` |
132
+ | `--dk-border-success-focus` | `var(--dk-color-success-700)` | `var(--dk-color-success-200)` |
133
+ | `--dk-border-success-hairline` | `var(--dk-border-primary-hairline)` | `var(--dk-border-primary-hairline)` |
134
+ | `--dk-border-success-hover` | `var(--dk-color-success-600)` | `var(--dk-color-success-300)` |
135
+ | `--dk-border-success-subtle` | `var(--dk-color-success-50)` | `var(--dk-color-success-50)` |
136
+ | `--dk-border-success-subtle-focus` | `var(--dk-color-success-200)` | `var(--dk-color-success-200)` |
137
+ | `--dk-border-success-subtle-hover` | `var(--dk-color-success-100)` | `var(--dk-color-success-100)` |
138
+ | `--dk-border-warning-default` | `var(--dk-color-warning-500)` | `var(--dk-color-warning-400)` |
139
+ | `--dk-border-warning-elevation` | `var(--dk-color-warning-800)` | `var(--dk-color-warning-800)` |
140
+ | `--dk-border-warning-elevation-focus` | `var(--dk-color-warning-700)` | `var(--dk-color-warning-700)` |
141
+ | `--dk-border-warning-elevation-hover` | `var(--dk-color-warning-700)` | `var(--dk-color-warning-700)` |
142
+ | `--dk-border-warning-focus` | `var(--dk-color-warning-700)` | `var(--dk-color-warning-200)` |
143
+ | `--dk-border-warning-hairline` | `var(--dk-color-warning-300)` | `var(--dk-color-warning-800)` |
144
+ | `--dk-border-warning-hover` | `var(--dk-color-warning-600)` | `var(--dk-color-warning-300)` |
145
+ | `--dk-border-warning-subtle` | `var(--dk-color-warning-50)` | `var(--dk-color-warning-50)` |
146
+ | `--dk-border-warning-subtle-focus` | `var(--dk-color-warning-200)` | `var(--dk-color-warning-200)` |
147
+ | `--dk-border-warning-subtle-hover` | `var(--dk-color-warning-100)` | `var(--dk-color-warning-100)` |
@@ -0,0 +1,90 @@
1
+ # Type tokens
2
+
3
+ Declared values, light and dark. Reference a token by name; never copy its value.
4
+
5
+ | Token | Light | Dark |
6
+ |---|---|---|
7
+ | `--dk-font-body-lg-line-height` | `var(--dk-responsive-font-body-lg-line-height)` | `var(--dk-responsive-font-body-lg-line-height)` |
8
+ | `--dk-font-body-lg-paragraph-spacing` | `var(--dk-responsive-font-body-lg-paragraph-spacing)` | `var(--dk-responsive-font-body-lg-paragraph-spacing)` |
9
+ | `--dk-font-body-lg-text-size` | `var(--dk-responsive-font-body-lg-text-size)` | `var(--dk-responsive-font-body-lg-text-size)` |
10
+ | `--dk-font-body-md-line-height` | `var(--dk-responsive-font-body-md-line-height)` | `var(--dk-responsive-font-body-md-line-height)` |
11
+ | `--dk-font-body-md-paragraph-spacing` | `var(--dk-responsive-font-body-md-paragraph-spacing)` | `var(--dk-responsive-font-body-md-paragraph-spacing)` |
12
+ | `--dk-font-body-md-text-size` | `var(--dk-responsive-font-body-md-text-size)` | `var(--dk-responsive-font-body-md-text-size)` |
13
+ | `--dk-font-body-sm-line-height` | `var(--dk-responsive-font-body-sm-line-height)` | `var(--dk-responsive-font-body-sm-line-height)` |
14
+ | `--dk-font-body-sm-paragraph-spacing` | `var(--dk-responsive-font-body-sm-paragraph-spacing)` | `var(--dk-responsive-font-body-sm-paragraph-spacing)` |
15
+ | `--dk-font-body-sm-text-size` | `var(--dk-responsive-font-body-sm-text-size)` | `var(--dk-responsive-font-body-sm-text-size)` |
16
+ | `--dk-font-body-xsm-line-height` | `var(--dk-responsive-font-body-xsm-line-height)` | `var(--dk-responsive-font-body-xsm-line-height)` |
17
+ | `--dk-font-body-xsm-paragraph-spacing` | `var(--dk-responsive-font-body-xsm-paragraph-spacing)` | `var(--dk-responsive-font-body-xsm-paragraph-spacing)` |
18
+ | `--dk-font-body-xsm-text-size` | `var(--dk-responsive-font-body-xsm-text-size)` | `var(--dk-responsive-font-body-xsm-text-size)` |
19
+ | `--dk-font-family-primary` | `var(--dk-primitive-font-family-inter)` | `var(--dk-primitive-font-family-inter)` |
20
+ | `--dk-font-family-secondary` | `var(--dk-primitive-font-family-syne)` | `var(--dk-primitive-font-family-syne)` |
21
+ | `--dk-font-heading-h1-line-height` | `var(--dk-responsive-font-headings-h1-line-height)` | `var(--dk-responsive-font-headings-h1-line-height)` |
22
+ | `--dk-font-heading-h1-paragraph-spacing` | `var(--dk-responsive-font-headings-h1-paragraph-spacing)` | `var(--dk-responsive-font-headings-h1-paragraph-spacing)` |
23
+ | `--dk-font-heading-h1-text-size` | `var(--dk-responsive-font-headings-h1-text-size)` | `var(--dk-responsive-font-headings-h1-text-size)` |
24
+ | `--dk-font-heading-h2-line-height` | `var(--dk-responsive-font-headings-h2-line-height)` | `var(--dk-responsive-font-headings-h2-line-height)` |
25
+ | `--dk-font-heading-h2-paragraph-spacing` | `var(--dk-responsive-font-headings-h2-paragraph-spacing)` | `var(--dk-responsive-font-headings-h2-paragraph-spacing)` |
26
+ | `--dk-font-heading-h2-text-size` | `var(--dk-responsive-font-headings-h2-text-size)` | `var(--dk-responsive-font-headings-h2-text-size)` |
27
+ | `--dk-font-heading-h3-line-height` | `var(--dk-responsive-font-headings-h3-line-height)` | `var(--dk-responsive-font-headings-h3-line-height)` |
28
+ | `--dk-font-heading-h3-paragraph-spacing` | `var(--dk-responsive-font-headings-h3-paragraph-spacing)` | `var(--dk-responsive-font-headings-h3-paragraph-spacing)` |
29
+ | `--dk-font-heading-h3-text-size` | `var(--dk-responsive-font-headings-h3-text-size)` | `var(--dk-responsive-font-headings-h3-text-size)` |
30
+ | `--dk-font-heading-h4-line-height` | `var(--dk-responsive-font-headings-h4-line-height)` | `var(--dk-responsive-font-headings-h4-line-height)` |
31
+ | `--dk-font-heading-h4-paragraph-spacing` | `var(--dk-responsive-font-headings-h4-paragraph-spacing)` | `var(--dk-responsive-font-headings-h4-paragraph-spacing)` |
32
+ | `--dk-font-heading-h4-text-size` | `var(--dk-responsive-font-headings-h4-text-size)` | `var(--dk-responsive-font-headings-h4-text-size)` |
33
+ | `--dk-font-heading-h5-line-height` | `var(--dk-responsive-font-headings-h5-line-height)` | `var(--dk-responsive-font-headings-h5-line-height)` |
34
+ | `--dk-font-heading-h5-paragraph-spacing` | `var(--dk-responsive-font-headings-h5-paragraph-spacing)` | `var(--dk-responsive-font-headings-h5-paragraph-spacing)` |
35
+ | `--dk-font-heading-h5-text-size` | `var(--dk-responsive-font-headings-h5-text-size)` | `var(--dk-responsive-font-headings-h5-text-size)` |
36
+ | `--dk-font-heading-h6-line-height` | `var(--dk-responsive-font-headings-h6-line-height)` | `var(--dk-responsive-font-headings-h6-line-height)` |
37
+ | `--dk-font-heading-h6-paragraph-spacing` | `var(--dk-responsive-font-headings-h6-paragraph-spacing)` | `var(--dk-responsive-font-headings-h6-paragraph-spacing)` |
38
+ | `--dk-font-heading-h6-text-size` | `var(--dk-responsive-font-headings-h6-text-size)` | `var(--dk-responsive-font-headings-h6-text-size)` |
39
+ | `--dk-font-input-lg-line-height` | `var(--dk-responsive-font-input-lg-line-height)` | `var(--dk-responsive-font-input-lg-line-height)` |
40
+ | `--dk-font-input-lg-paragraph-spacing` | `var(--dk-responsive-font-input-lg-paragraph-spacing)` | `var(--dk-responsive-font-input-lg-paragraph-spacing)` |
41
+ | `--dk-font-input-lg-text-size` | `var(--dk-responsive-font-input-lg-text-size)` | `var(--dk-responsive-font-input-lg-text-size)` |
42
+ | `--dk-font-input-md-line-height` | `var(--dk-responsive-font-input-md-line-height)` | `var(--dk-responsive-font-input-md-line-height)` |
43
+ | `--dk-font-input-md-paragraph-spacing` | `var(--dk-responsive-font-input-md-paragraph-spacing)` | `var(--dk-responsive-font-input-md-paragraph-spacing)` |
44
+ | `--dk-font-input-md-text-size` | `var(--dk-responsive-font-input-md-text-size)` | `var(--dk-responsive-font-input-md-text-size)` |
45
+ | `--dk-font-input-sm-line-height` | `var(--dk-responsive-font-input-sm-line-height)` | `var(--dk-responsive-font-input-sm-line-height)` |
46
+ | `--dk-font-input-sm-paragraph-spacing` | `var(--dk-responsive-font-input-sm-paragraph-spacing)` | `var(--dk-responsive-font-input-sm-paragraph-spacing)` |
47
+ | `--dk-font-input-sm-text-size` | `var(--dk-responsive-font-input-sm-text-size)` | `var(--dk-responsive-font-input-sm-text-size)` |
48
+ | `--dk-font-overline-lg-line-height` | `var(--dk-responsive-font-overline-lg-line-height)` | `var(--dk-responsive-font-overline-lg-line-height)` |
49
+ | `--dk-font-overline-lg-paragraph-spacing` | `var(--dk-responsive-font-overline-lg-paragraph-spacing)` | `var(--dk-responsive-font-overline-lg-paragraph-spacing)` |
50
+ | `--dk-font-overline-lg-text-size` | `var(--dk-responsive-font-overline-lg-text-size)` | `var(--dk-responsive-font-overline-lg-text-size)` |
51
+ | `--dk-font-overline-md-line-height` | `var(--dk-responsive-font-overline-md-line-height)` | `var(--dk-responsive-font-overline-md-line-height)` |
52
+ | `--dk-font-overline-md-paragraph-spacing` | `var(--dk-responsive-font-overline-md-paragraph-spacing)` | `var(--dk-responsive-font-overline-md-paragraph-spacing)` |
53
+ | `--dk-font-overline-md-text-size` | `var(--dk-responsive-font-overline-md-text-size)` | `var(--dk-responsive-font-overline-md-text-size)` |
54
+ | `--dk-font-overline-sm-line-height` | `var(--dk-responsive-font-overline-sm-line-height)` | `var(--dk-responsive-font-overline-sm-line-height)` |
55
+ | `--dk-font-overline-sm-paragraph-spacing` | `var(--dk-responsive-font-overline-sm-paragraph-spacing)` | `var(--dk-responsive-font-overline-sm-paragraph-spacing)` |
56
+ | `--dk-font-overline-sm-text-size` | `var(--dk-responsive-font-overline-sm-text-size)` | `var(--dk-responsive-font-overline-sm-text-size)` |
57
+ | `--dk-font-scale-body-large-line-height` | `1.625rem` | `1.625rem` |
58
+ | `--dk-font-scale-body-large-text-size` | `var(--dk-primitive-scale-4-5)` | `var(--dk-primitive-scale-4-5)` |
59
+ | `--dk-font-scale-body-medium-line-height` | `var(--dk-primitive-scale-6)` | `var(--dk-primitive-scale-6)` |
60
+ | `--dk-font-scale-body-medium-text-size` | `var(--dk-primitive-scale-4)` | `var(--dk-primitive-scale-4)` |
61
+ | `--dk-font-scale-body-small-line-height` | `var(--dk-primitive-scale-5)` | `var(--dk-primitive-scale-5)` |
62
+ | `--dk-font-scale-body-small-text-size` | `var(--dk-primitive-scale-3-5)` | `var(--dk-primitive-scale-3-5)` |
63
+ | `--dk-font-scale-body-xlarge-line-height` | `var(--dk-primitive-scale-7)` | `var(--dk-primitive-scale-7)` |
64
+ | `--dk-font-scale-body-xlarge-text-size` | `var(--dk-primitive-scale-5)` | `var(--dk-primitive-scale-5)` |
65
+ | `--dk-font-scale-body-xsmall-line-height` | `var(--dk-primitive-scale-4-5)` | `var(--dk-primitive-scale-4-5)` |
66
+ | `--dk-font-scale-body-xsmall-text-size` | `var(--dk-primitive-scale-3)` | `var(--dk-primitive-scale-3)` |
67
+ | `--dk-font-scale-display-large-line-height` | `var(--dk-primitive-scale-12)` | `var(--dk-primitive-scale-12)` |
68
+ | `--dk-font-scale-display-large-text-size` | `var(--dk-primitive-scale-10)` | `var(--dk-primitive-scale-10)` |
69
+ | `--dk-font-scale-display-medium-line-height` | `var(--dk-primitive-scale-11)` | `var(--dk-primitive-scale-11)` |
70
+ | `--dk-font-scale-display-medium-text-size` | `var(--dk-primitive-scale-9)` | `var(--dk-primitive-scale-9)` |
71
+ | `--dk-font-scale-display-small-line-height` | `var(--dk-primitive-scale-10)` | `var(--dk-primitive-scale-10)` |
72
+ | `--dk-font-scale-display-small-text-size` | `var(--dk-primitive-scale-8)` | `var(--dk-primitive-scale-8)` |
73
+ | `--dk-font-scale-display-xlarge-line-height` | `var(--dk-primitive-scale-13)` | `var(--dk-primitive-scale-13)` |
74
+ | `--dk-font-scale-display-xlarge-text-size` | `var(--dk-primitive-scale-11)` | `var(--dk-primitive-scale-11)` |
75
+ | `--dk-font-scale-display-xxlarge-line-height` | `var(--dk-primitive-scale-14)` | `var(--dk-primitive-scale-14)` |
76
+ | `--dk-font-scale-display-xxlarge-text-size` | `var(--dk-primitive-scale-12)` | `var(--dk-primitive-scale-12)` |
77
+ | `--dk-font-scale-heading-large-line-height` | `var(--dk-primitive-scale-9)` | `var(--dk-primitive-scale-9)` |
78
+ | `--dk-font-scale-heading-large-text-size` | `var(--dk-primitive-scale-7)` | `var(--dk-primitive-scale-7)` |
79
+ | `--dk-font-scale-heading-medium-line-height` | `var(--dk-primitive-scale-8)` | `var(--dk-primitive-scale-8)` |
80
+ | `--dk-font-scale-heading-medium-text-size` | `var(--dk-primitive-scale-6)` | `var(--dk-primitive-scale-6)` |
81
+ | `--dk-font-scale-heading-small-line-height` | `var(--dk-primitive-scale-7)` | `var(--dk-primitive-scale-7)` |
82
+ | `--dk-font-scale-heading-small-text-size` | `var(--dk-primitive-scale-5-5)` | `var(--dk-primitive-scale-5-5)` |
83
+ | `--dk-font-scale-heading-xlarge-line-height` | `var(--dk-primitive-scale-10)` | `var(--dk-primitive-scale-10)` |
84
+ | `--dk-font-scale-heading-xlarge-text-size` | `var(--dk-primitive-scale-8)` | `var(--dk-primitive-scale-8)` |
85
+ | `--dk-font-scale-heading-xsmall-line-height` | `var(--dk-primitive-scale-7)` | `var(--dk-primitive-scale-7)` |
86
+ | `--dk-font-scale-heading-xsmall-text-size` | `var(--dk-primitive-scale-5)` | `var(--dk-primitive-scale-5)` |
87
+ | `--dk-font-scale-heading-xxlarge-line-height` | `var(--dk-primitive-scale-12)` | `var(--dk-primitive-scale-12)` |
88
+ | `--dk-font-scale-heading-xxlarge-text-size` | `var(--dk-primitive-scale-10)` | `var(--dk-primitive-scale-10)` |
89
+ | `--dk-font-scale-heading-xxsmall-line-height` | `var(--dk-primitive-scale-6)` | `var(--dk-primitive-scale-6)` |
90
+ | `--dk-font-scale-heading-xxsmall-text-size` | `var(--dk-primitive-scale-4-5)` | `var(--dk-primitive-scale-4-5)` |
@@ -0,0 +1,84 @@
1
+ # Icon colours tokens
2
+
3
+ Declared values, light and dark. Reference a token by name; never copy its value.
4
+
5
+ | Token | Light | Dark |
6
+ |---|---|---|
7
+ | `--dk-icon-base-black` | `var(--dk-color-base-black)` | `var(--dk-color-base-black)` |
8
+ | `--dk-icon-base-white` | `var(--dk-color-base-white)` | `var(--dk-color-base-white)` |
9
+ | `--dk-icon-choice-disabled` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-500)` |
10
+ | `--dk-icon-choice-selected` | `var(--dk-color-base-white)` | `var(--dk-color-base-white)` |
11
+ | `--dk-icon-choice-track` | `var(--dk-color-base-white)` | `var(--dk-color-base-white)` |
12
+ | `--dk-icon-control-active` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-50)` |
13
+ | `--dk-icon-control-default` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-200)` |
14
+ | `--dk-icon-control-disabled` | `var(--dk-icon-disabled-subtle)` | `var(--dk-icon-disabled-subtle)` |
15
+ | `--dk-icon-control-hover` | `var(--dk-color-neutral-600)` | `var(--dk-color-neutral-100)` |
16
+ | `--dk-icon-default-body` | `var(--dk-color-base-black)` | `var(--dk-color-base-white)` |
17
+ | `--dk-icon-default-body-reverse` | `var(--dk-color-base-white)` | `var(--dk-color-base-black)` |
18
+ | `--dk-icon-disabled-default` | `var(--dk-color-neutral-400)` | `var(--dk-color-neutral-400)` |
19
+ | `--dk-icon-disabled-subtle` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-800)` |
20
+ | `--dk-icon-disabled-subtle-active` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-600)` |
21
+ | `--dk-icon-disabled-subtle-hover` | `var(--dk-color-neutral-200)` | `var(--dk-color-neutral-700)` |
22
+ | `--dk-icon-error-active` | `var(--dk-color-error-700)` | `var(--dk-color-error-200)` |
23
+ | `--dk-icon-error-default` | `var(--dk-color-error-500)` | `var(--dk-color-error-400)` |
24
+ | `--dk-icon-error-focus` | `var(--dk-color-error-700)` | `var(--dk-color-error-200)` |
25
+ | `--dk-icon-error-hover` | `var(--dk-color-error-600)` | `var(--dk-color-error-300)` |
26
+ | `--dk-icon-error-subtle` | `var(--dk-color-error-50)` | `var(--dk-color-error-900)` |
27
+ | `--dk-icon-error-subtle-focus` | `var(--dk-color-error-200)` | `var(--dk-color-error-700)` |
28
+ | `--dk-icon-error-subtle-hover` | `var(--dk-color-error-100)` | `var(--dk-color-error-800)` |
29
+ | `--dk-icon-field-default` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-200)` |
30
+ | `--dk-icon-field-disabled` | `var(--dk-color-neutral-100)` | `var(--dk-color-neutral-800)` |
31
+ | `--dk-icon-field-hover` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-50)` |
32
+ | `--dk-icon-field-subtle` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-500)` |
33
+ | `--dk-icon-field-subtle-hover` | `var(--dk-color-neutral-600)` | `var(--dk-color-neutral-400)` |
34
+ | `--dk-icon-hue-next1-default` | `var(--dk-primitive-color-primary-next1-500)` | `var(--dk-primitive-color-primary-next1-400)` |
35
+ | `--dk-icon-hue-next2-default` | `var(--dk-primitive-color-primary-next2-500)` | `var(--dk-primitive-color-primary-next2-400)` |
36
+ | `--dk-icon-hue-next3-default` | `var(--dk-primitive-color-primary-next3-500)` | `var(--dk-primitive-color-primary-next3-400)` |
37
+ | `--dk-icon-hue-next4-default` | `var(--dk-primitive-color-primary-next4-500)` | `var(--dk-primitive-color-primary-next4-400)` |
38
+ | `--dk-icon-hue-prev1-default` | `var(--dk-primitive-color-primary-prev1-500)` | `var(--dk-primitive-color-primary-prev1-400)` |
39
+ | `--dk-icon-hue-prev2-default` | `var(--dk-primitive-color-primary-prev2-500)` | `var(--dk-primitive-color-primary-prev2-400)` |
40
+ | `--dk-icon-hue-prev3-default` | `var(--dk-primitive-color-primary-prev3-500)` | `var(--dk-primitive-color-primary-prev3-400)` |
41
+ | `--dk-icon-hue-prev4-default` | `var(--dk-primitive-color-primary-prev4-500)` | `var(--dk-primitive-color-primary-prev4-400)` |
42
+ | `--dk-icon-hue-primary-default` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-400)` |
43
+ | `--dk-icon-information-active` | `var(--dk-color-information-700)` | `var(--dk-color-information-200)` |
44
+ | `--dk-icon-information-default` | `var(--dk-color-information-500)` | `var(--dk-color-information-400)` |
45
+ | `--dk-icon-information-focus` | `var(--dk-color-information-700)` | `var(--dk-color-information-200)` |
46
+ | `--dk-icon-information-hover` | `var(--dk-color-information-600)` | `var(--dk-color-information-300)` |
47
+ | `--dk-icon-information-subtle` | `var(--dk-color-information-50)` | `var(--dk-color-information-900)` |
48
+ | `--dk-icon-information-subtle-focus` | `var(--dk-color-information-200)` | `var(--dk-color-information-700)` |
49
+ | `--dk-icon-information-subtle-hover` | `var(--dk-color-information-100)` | `var(--dk-color-information-800)` |
50
+ | `--dk-icon-inverse-default` | `var(--dk-color-base-white)` | `var(--dk-color-neutral-1000)` |
51
+ | `--dk-icon-inverse-neutral` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-600)` |
52
+ | `--dk-icon-neutral-active` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-100)` |
53
+ | `--dk-icon-neutral-default` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-200)` |
54
+ | `--dk-icon-neutral-focus` | `var(--dk-color-neutral-700)` | `var(--dk-color-neutral-50)` |
55
+ | `--dk-icon-neutral-hover` | `var(--dk-color-neutral-600)` | `var(--dk-color-neutral-100)` |
56
+ | `--dk-icon-neutral-subtle` | `var(--dk-color-neutral-300)` | `var(--dk-color-neutral-600)` |
57
+ | `--dk-icon-neutral-subtle-focus` | `var(--dk-color-neutral-500)` | `var(--dk-color-neutral-400)` |
58
+ | `--dk-icon-neutral-subtle-hover` | `var(--dk-color-neutral-400)` | `var(--dk-color-neutral-500)` |
59
+ | `--dk-icon-primary-active` | `var(--dk-color-primary-700)` | `var(--dk-color-primary-200)` |
60
+ | `--dk-icon-primary-default` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-500)` |
61
+ | `--dk-icon-primary-disabled` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-700)` |
62
+ | `--dk-icon-primary-disabled-active` | `var(--dk-color-primary-400)` | `var(--dk-color-primary-500)` |
63
+ | `--dk-icon-primary-disabled-hover` | `var(--dk-color-primary-300)` | `var(--dk-color-primary-600)` |
64
+ | `--dk-icon-primary-focus` | `var(--dk-color-primary-700)` | `var(--dk-color-primary-300)` |
65
+ | `--dk-icon-primary-highlight` | `var(--dk-color-primary-500)` | `var(--dk-color-primary-400)` |
66
+ | `--dk-icon-primary-hover` | `var(--dk-color-primary-600)` | `var(--dk-color-primary-400)` |
67
+ | `--dk-icon-primary-oos` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-600)` |
68
+ | `--dk-icon-primary-subtle` | `var(--dk-color-primary-50)` | `var(--dk-color-primary-800)` |
69
+ | `--dk-icon-primary-subtle-focus` | `var(--dk-color-primary-200)` | `var(--dk-color-primary-600)` |
70
+ | `--dk-icon-primary-subtle-hover` | `var(--dk-color-primary-100)` | `var(--dk-color-primary-700)` |
71
+ | `--dk-icon-success-active` | `var(--dk-icon-primary-active)` | `var(--dk-icon-primary-active)` |
72
+ | `--dk-icon-success-default` | `var(--dk-color-success-500)` | `var(--dk-color-success-400)` |
73
+ | `--dk-icon-success-focus` | `var(--dk-color-success-700)` | `var(--dk-color-success-200)` |
74
+ | `--dk-icon-success-hover` | `var(--dk-color-success-600)` | `var(--dk-color-success-300)` |
75
+ | `--dk-icon-success-subtle` | `var(--dk-color-success-50)` | `var(--dk-color-success-900)` |
76
+ | `--dk-icon-success-subtle-focus` | `var(--dk-color-success-200)` | `var(--dk-color-success-700)` |
77
+ | `--dk-icon-success-subtle-hover` | `var(--dk-color-success-100)` | `var(--dk-color-success-800)` |
78
+ | `--dk-icon-warning-active` | `var(--dk-color-warning-700)` | `var(--dk-color-warning-200)` |
79
+ | `--dk-icon-warning-default` | `var(--dk-color-warning-500)` | `var(--dk-color-warning-400)` |
80
+ | `--dk-icon-warning-focus` | `var(--dk-color-warning-700)` | `var(--dk-color-warning-200)` |
81
+ | `--dk-icon-warning-hover` | `var(--dk-color-warning-600)` | `var(--dk-color-warning-300)` |
82
+ | `--dk-icon-warning-subtle` | `var(--dk-color-warning-50)` | `var(--dk-color-warning-900)` |
83
+ | `--dk-icon-warning-subtle-focus` | `var(--dk-color-warning-200)` | `var(--dk-color-warning-700)` |
84
+ | `--dk-icon-warning-subtle-hover` | `var(--dk-color-warning-100)` | `var(--dk-color-warning-800)` |
@@ -0,0 +1,37 @@
1
+ # Interaction tokens
2
+
3
+ Declared values, light and dark. Reference a token by name; never copy its value.
4
+
5
+ | Token | Light | Dark |
6
+ |---|---|---|
7
+ | `--dk-interactive-control-padding-block` | `var(--dk-primitive-scale-1)` | `var(--dk-primitive-scale-1)` |
8
+ | `--dk-interactive-control-padding-inline` | `var(--dk-primitive-scale-1-5)` | `var(--dk-primitive-scale-1-5)` |
9
+ | `--dk-interactive-control-radius` | `var(--dk-border-radius-150)` | `var(--dk-border-radius-150)` |
10
+ | `--dk-interactive-grow-panel` | `var(--dk-motion-grow-scale-panel)` | `var(--dk-motion-grow-scale-panel)` |
11
+ | `--dk-interactive-grow-surface` | `var(--dk-motion-grow-scale-surface)` | `var(--dk-motion-grow-scale-surface)` |
12
+ | `--dk-interactive-item-padding-block` | `var(--dk-primitive-scale-2)` | `var(--dk-primitive-scale-2)` |
13
+ | `--dk-interactive-item-padding-inline` | `var(--dk-primitive-scale-2-5)` | `var(--dk-primitive-scale-2-5)` |
14
+ | `--dk-interactive-item-radius` | `var(--dk-border-radius-150)` | `var(--dk-border-radius-150)` |
15
+ | `--dk-interactive-mark-reach` | `1` | `0.6` |
16
+ | `--dk-interactive-mark-shade` | `var(--dk-color-base-black)` | `var(--dk-color-base-white)` |
17
+ | `--dk-interactive-panel-padding-block` | `var(--dk-primitive-scale-5)` | `var(--dk-primitive-scale-5)` |
18
+ | `--dk-interactive-panel-padding-inline` | `var(--dk-primitive-scale-5)` | `var(--dk-primitive-scale-5)` |
19
+ | `--dk-interactive-panel-radius` | `var(--dk-border-radius-300)` | `var(--dk-border-radius-300)` |
20
+ | `--dk-interactive-press-compact` | `var(--dk-motion-press-scale-compact)` | `var(--dk-motion-press-scale-compact)` |
21
+ | `--dk-interactive-press-control` | `var(--dk-motion-press-scale-control)` | `var(--dk-motion-press-scale-control)` |
22
+ | `--dk-interactive-press-item` | `var(--dk-motion-press-scale-item)` | `var(--dk-motion-press-scale-item)` |
23
+ | `--dk-interactive-press-panel` | `var(--dk-motion-press-scale-panel)` | `var(--dk-motion-press-scale-panel)` |
24
+ | `--dk-interactive-press-surface` | `var(--dk-motion-press-scale-surface)` | `var(--dk-motion-press-scale-surface)` |
25
+ | `--dk-interactive-ring-width` | `var(--dk-primitive-scale-0-5)` | `var(--dk-primitive-scale-0-5)` |
26
+ | `--dk-interactive-surface-padding-block` | `var(--dk-primitive-scale-4)` | `var(--dk-primitive-scale-4)` |
27
+ | `--dk-interactive-surface-padding-inline` | `var(--dk-primitive-scale-4)` | `var(--dk-primitive-scale-4)` |
28
+ | `--dk-interactive-surface-radius` | `var(--dk-border-radius-200)` | `var(--dk-border-radius-200)` |
29
+ | `--dk-interactive-target-min` | `var(--dk-primitive-scale-6)` | `var(--dk-primitive-scale-6)` |
30
+ | `--dk-interactive-target-min-touch` | `var(--dk-primitive-scale-11)` | `var(--dk-primitive-scale-11)` |
31
+ | `--dk-interactive-tone-fill-active` | `initial` | `initial` |
32
+ | `--dk-interactive-tone-fill-hover` | `initial` | `initial` |
33
+ | `--dk-interactive-tone-mark` | `initial` | `initial` |
34
+ | `--dk-interactive-tone-mark-active` | `initial` | `initial` |
35
+ | `--dk-interactive-tone-mark-hover` | `initial` | `initial` |
36
+ | `--dk-interactive-tone-text` | `initial` | `initial` |
37
+ | `--dk-interactive-tone-text-subtle` | `initial` | `initial` |