@teseor/css 1.16.0 → 2.0.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 (73) hide show
  1. package/dist/compiled.css +1 -1
  2. package/dist/index.css +45 -45
  3. package/package.json +1 -1
  4. package/src/base/docs.html +1 -1
  5. package/src/base/root.scss +1 -1
  6. package/src/base/typography/typography.scss +6 -6
  7. package/src/components/actions/button/api.json +1 -1
  8. package/src/components/actions/button/index.scss +1 -1
  9. package/src/components/data-display/avatar/index.scss +1 -1
  10. package/src/components/data-display/badge/api.json +1 -1
  11. package/src/components/data-display/badge/index.scss +1 -1
  12. package/src/components/data-display/data-list/index.scss +1 -1
  13. package/src/components/data-display/stat/api.json +3 -3
  14. package/src/components/data-display/stat/index.scss +5 -5
  15. package/src/components/data-display/table/index.scss +1 -1
  16. package/src/components/data-display/tag/index.scss +1 -1
  17. package/src/components/disclosure/disclosure/index.scss +1 -1
  18. package/src/components/feedback/alert/index.scss +1 -1
  19. package/src/components/feedback/toast/index.scss +2 -2
  20. package/src/components/forms/checkbox-group/api.json +1 -1
  21. package/src/components/forms/checkbox-group/index.scss +2 -2
  22. package/src/components/forms/fieldset/api.json +1 -1
  23. package/src/components/forms/fieldset/index.scss +2 -2
  24. package/src/components/forms/form-error/index.scss +1 -1
  25. package/src/components/forms/form-helper/index.scss +1 -1
  26. package/src/components/forms/label/index.scss +3 -3
  27. package/src/components/forms/radio-group/api.json +1 -1
  28. package/src/components/forms/radio-group/index.scss +2 -2
  29. package/src/components/navigation/dropdown-menu/api.json +1 -1
  30. package/src/components/navigation/dropdown-menu/index.scss +1 -1
  31. package/src/components/navigation/menu/index.scss +2 -2
  32. package/src/components/navigation/nav/api.json +1 -1
  33. package/src/components/navigation/nav/index.scss +1 -1
  34. package/src/components/navigation/tabs/index.scss +1 -1
  35. package/src/components/overlays/dialog/index.scss +1 -1
  36. package/src/components/overlays/drawer/index.scss +2 -2
  37. package/src/components/overlays/modal/api.json +1 -1
  38. package/src/components/overlays/modal/index.scss +1 -1
  39. package/src/components/overlays/overlay/api.json +1 -1
  40. package/src/components/overlays/overlay/index.scss +1 -1
  41. package/src/components/overlays/popover/api.json +1 -1
  42. package/src/components/overlays/popover/index.scss +2 -2
  43. package/src/components/overlays/tooltip/api.json +1 -1
  44. package/src/components/overlays/tooltip/index.scss +1 -1
  45. package/src/components/typography/blockquote/api.json +1 -1
  46. package/src/components/typography/blockquote/index.scss +2 -2
  47. package/src/components/typography/code/index.scss +1 -1
  48. package/src/components/typography/code-block/api.json +1 -1
  49. package/src/components/typography/code-block/index.scss +1 -1
  50. package/src/components/typography/heading/api.json +9 -9
  51. package/src/components/typography/heading/index.scss +9 -9
  52. package/src/components/typography/list/api.json +1 -1
  53. package/src/components/typography/list/index.scss +1 -1
  54. package/src/config/guides/accessibility.docs.html +1 -1
  55. package/src/config/guides/theming.docs.html +43 -10
  56. package/src/config/guides/token-architecture.docs.html +87 -0
  57. package/src/config/tokens/_variables.scss +30 -30
  58. package/src/config/tokens/docs.html +10 -10
  59. package/src/config/tokens/typography.scss +47 -47
  60. package/src/config/tokens/zindex.scss +10 -10
  61. package/src/debug/index.scss +3 -3
  62. package/src/layout/footer/api.json +1 -1
  63. package/src/layout/footer/index.scss +1 -1
  64. package/src/layout/nav-rail/api.json +1 -1
  65. package/src/layout/nav-rail/index.scss +1 -1
  66. package/src/layout/page-header/index.scss +1 -1
  67. package/src/layout/sidebar/index.scss +1 -1
  68. package/src/layout/sidebar-nav/api.json +2 -2
  69. package/src/layout/sidebar-nav/index.scss +4 -4
  70. package/src/layout/topbar/api.json +1 -1
  71. package/src/layout/topbar/index.scss +1 -1
  72. package/src/utilities/scroll-animation/index.scss +1 -1
  73. package/src/utilities/text/text.scss +15 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teseor/css",
3
- "version": "1.16.0",
3
+ "version": "2.0.0",
4
4
  "description": "CSS library - reset, primitives, components, utilities",
5
5
  "license": "MIT",
6
6
  "author": "letanure",
@@ -13,7 +13,7 @@ skipValidation: true
13
13
  .ui-root {
14
14
  font-family: var(--ui-font-sans);
15
15
  font-size: var(--ui-font-size-md);
16
- line-height: var(--ui-leading-md);
16
+ line-height: var(--ui-line-height-md);
17
17
  color: var(--ui-color-text);
18
18
  background: var(--ui-color-bg);
19
19
  }
@@ -4,7 +4,7 @@
4
4
  .root {
5
5
  font-family: var(--ui-font-sans, #{t.$font-sans});
6
6
  font-size: var(--ui-font-size-md, #{t.$font-size-md});
7
- line-height: var(--ui-leading-md, calc(#{t.$unit} * 3));
7
+ line-height: var(--ui-line-height-md, calc(#{t.$unit} * 3));
8
8
  color: var(--ui-color-text, #{t.$color-text});
9
9
 
10
10
  background: var(--ui-color-bg, #{t.$color-bg});
@@ -62,7 +62,7 @@
62
62
  // Inline elements - line-height: 0 prevents affecting parent rhythm
63
63
  strong,
64
64
  b {
65
- font-weight: var(--ui-weight-bold);
65
+ font-weight: var(--ui-font-weight-bold);
66
66
  line-height: 0;
67
67
  }
68
68
 
@@ -127,22 +127,22 @@
127
127
  @media (width < 45.625rem) {
128
128
  h1 {
129
129
  font-size: var(--ui-font-size-2xl); // 28px
130
- line-height: var(--ui-leading-2xl); // 32px
130
+ line-height: var(--ui-line-height-2xl); // 32px
131
131
  }
132
132
 
133
133
  h2 {
134
134
  font-size: var(--ui-font-size-xl); // 24px
135
- line-height: var(--ui-leading-xl); // 32px
135
+ line-height: var(--ui-line-height-xl); // 32px
136
136
  }
137
137
 
138
138
  h3 {
139
139
  font-size: var(--ui-font-size-lg); // 20px
140
- line-height: var(--ui-leading-sm); // 24px
140
+ line-height: var(--ui-line-height-sm); // 24px
141
141
  }
142
142
 
143
143
  h4 {
144
144
  font-size: 1.125rem; // 18px
145
- line-height: var(--ui-leading-sm); // 24px
145
+ line-height: var(--ui-line-height-sm); // 24px
146
146
  }
147
147
  }
148
148
 
@@ -155,7 +155,7 @@
155
155
 
156
156
  h2 {
157
157
  font-size: var(--ui-font-size-4xl); // 40px
158
- line-height: var(--ui-leading-4xl); // 48px
158
+ line-height: var(--ui-line-height-4xl); // 48px
159
159
  }
160
160
  }
161
161
  }
@@ -57,7 +57,7 @@
57
57
  },
58
58
  {
59
59
  "name": "--ui-button-font-weight",
60
- "default": "var(--ui-weight-medium)",
60
+ "default": "var(--ui-font-weight-medium)",
61
61
  "description": "Font weight"
62
62
  },
63
63
  {
@@ -27,7 +27,7 @@
27
27
  // @desc Font size
28
28
  --_font-size: var(--ui-button-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
29
29
  // @desc Font weight
30
- --_font-weight: var(--ui-button-font-weight, var(--ui-weight-medium, #{t.$weight-medium}));
30
+ --_font-weight: var(--ui-button-font-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
31
31
  // @desc Corner radius
32
32
  --_radius: var(--ui-button-radius, var(--ui-radius-md, #{t.$radius-md}));
33
33
  --_bg: var(--_accent);
@@ -6,7 +6,7 @@
6
6
 
7
7
  @layer components.tokens {
8
8
  .avatar {
9
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
9
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
10
10
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
11
11
  --_color-bg: var(--ui-color-bg, #{t.$color-bg});
12
12
  // @desc Overall size
@@ -33,7 +33,7 @@
33
33
  },
34
34
  {
35
35
  "name": "--ui-badge-font-weight",
36
- "default": "var(--ui-weight-medium)",
36
+ "default": "var(--ui-font-weight-medium)",
37
37
  "description": "Font weight"
38
38
  },
39
39
  {
@@ -16,7 +16,7 @@
16
16
  // @desc Font size
17
17
  --_font-size: var(--ui-badge-font-size, var(--ui-font-size-xs, #{t.$font-size-xs}));
18
18
  // @desc Font weight
19
- --_font-weight: var(--ui-badge-font-weight, var(--ui-weight-medium, #{t.$weight-medium}));
19
+ --_font-weight: var(--ui-badge-font-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
20
20
  // @desc Corner radius
21
21
  --_radius: var(--ui-badge-radius, var(--ui-radius-full, #{t.$radius-full}));
22
22
  --_bg: var(--_accent);
@@ -9,7 +9,7 @@
9
9
  .data-list {
10
10
  --_row-1: var(--ui-row-1, #{t.$row});
11
11
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
12
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
12
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
13
13
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
14
14
  --_color-border: var(--ui-color-border, #{t.$color-border});
15
15
  --_color-bg-subtle: var(--ui-color-bg-subtle, #{t.$color-bg-subtle});
@@ -24,12 +24,12 @@
24
24
  },
25
25
  {
26
26
  "name": "--ui-stat-value-font-weight",
27
- "default": "var(--ui-weight-bold)",
27
+ "default": "var(--ui-font-weight-bold)",
28
28
  "description": "Value display font weight"
29
29
  },
30
30
  {
31
31
  "name": "--ui-stat-value-line-height",
32
- "default": "var(--ui-leading-3xl)",
32
+ "default": "var(--ui-line-height-3xl)",
33
33
  "description": "Value display line height"
34
34
  },
35
35
  {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": "--ui-stat-label-line-height",
52
- "default": "var(--ui-leading-sm)",
52
+ "default": "var(--ui-line-height-sm)",
53
53
  "description": "Label line height"
54
54
  }
55
55
  ]
@@ -4,7 +4,7 @@
4
4
 
5
5
  @layer components.tokens {
6
6
  .stat {
7
- --_tracking-display: var(--ui-tracking-display, #{t.$tracking-display});
7
+ --_tracking-display: var(--ui-letter-spacing-display, #{t.$letter-spacing-display});
8
8
  // @desc Gap between children
9
9
  --_gap: var(--ui-stat-gap, var(--ui-space-1, #{t.$space-1}));
10
10
  }
@@ -13,9 +13,9 @@
13
13
  // @desc Value display font size
14
14
  --_font-size: var(--ui-stat-value-font-size, var(--ui-font-size-3xl, #{t.$font-size-3xl}));
15
15
  // @desc Value display font weight
16
- --_font-weight: var(--ui-stat-value-font-weight, var(--ui-weight-bold, #{t.$weight-bold}));
16
+ --_font-weight: var(--ui-stat-value-font-weight, var(--ui-font-weight-bold, #{t.$font-weight-bold}));
17
17
  // @desc Value display line height
18
- --_line-height: var(--ui-stat-value-line-height, var(--ui-leading-3xl, #{t.$leading-3xl}));
18
+ --_line-height: var(--ui-stat-value-line-height, var(--ui-line-height-3xl, #{t.$line-height-3xl}));
19
19
  // @desc Value display text color
20
20
  --_color: var(--ui-stat-value-color, var(--ui-color-text, #{t.$color-text}));
21
21
  }
@@ -26,13 +26,13 @@
26
26
  // @desc Label text color
27
27
  --_color: var(--ui-stat-label-color, var(--ui-color-text-muted, #{t.$color-text-muted}));
28
28
  // @desc Label line height
29
- --_line-height: var(--ui-stat-label-line-height, var(--ui-leading-sm, #{t.$leading-sm}));
29
+ --_line-height: var(--ui-stat-label-line-height, var(--ui-line-height-sm, #{t.$line-height-sm}));
30
30
  }
31
31
 
32
32
  // @modifier size
33
33
  .stat--sm .stat__value {
34
34
  --_font-size: var(--ui-font-size-xl, #{t.$font-size-xl});
35
- --_line-height: var(--ui-leading-xl, #{t.$leading-xl});
35
+ --_line-height: var(--ui-line-height-xl, #{t.$line-height-xl});
36
36
  }
37
37
  }
38
38
 
@@ -7,7 +7,7 @@
7
7
  .table {
8
8
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
9
9
  --_unit: var(--ui-unit, #{t.$unit});
10
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
10
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
11
11
  --_color-bg-subtle: var(--ui-color-bg-subtle, #{t.$color-bg-subtle});
12
12
  --_color-bg-muted: var(--ui-color-bg-muted, #{t.$color-bg-muted});
13
13
  // @desc Font size
@@ -6,7 +6,7 @@
6
6
 
7
7
  @layer components.tokens {
8
8
  .tag {
9
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
9
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
10
10
  --_opacity-disabled: var(--ui-opacity-disabled, #{t.$opacity-disabled});
11
11
  --_opacity-loading: var(--ui-opacity-loading, #{t.$opacity-loading});
12
12
  // @desc Overall height
@@ -7,7 +7,7 @@
7
7
 
8
8
  @layer components.tokens {
9
9
  .disclosure {
10
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
10
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
11
11
  --_color-bg-subtle: var(--ui-color-bg-subtle, #{t.$color-bg-subtle});
12
12
  --_duration-fast: var(--ui-duration-fast, #{t.$duration-fast});
13
13
  --_ease-default: var(--ui-ease-default, ease);
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer components.tokens {
7
7
  .alert {
8
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
8
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
9
9
  --_row-1: var(--ui-row-1, #{t.$row});
10
10
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
11
11
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
@@ -8,7 +8,7 @@
8
8
 
9
9
  @layer components.tokens {
10
10
  .toast-viewport {
11
- --_z-toast: var(--ui-z-toast, #{t.$z-toast});
11
+ --_z-toast: var(--ui-z-index-toast, #{t.$z-index-toast});
12
12
  // @desc Viewport gap
13
13
  --_gap: var(--ui-toast-viewport-gap, calc(#{t.$unit} * 1));
14
14
  // @desc Viewport padding
@@ -19,7 +19,7 @@
19
19
 
20
20
  .toast {
21
21
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
22
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
22
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
23
23
  --_row-1: var(--ui-row-1, #{t.$row});
24
24
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
25
25
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
@@ -31,7 +31,7 @@
31
31
  },
32
32
  {
33
33
  "name": "--ui-checkbox-group-legend-weight",
34
- "default": "var(--ui-weight-medium)",
34
+ "default": "var(--ui-font-weight-medium)",
35
35
  "description": "Legend weight"
36
36
  },
37
37
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer components.tokens {
7
7
  .checkbox-group {
8
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$leading-tight-sm}));
8
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$line-height-tight-sm}));
9
9
  --_row-1: var(--ui-row-1, #{t.$row-1});
10
10
  --_opacity-disabled: var(--ui-opacity-disabled, #{t.$opacity-disabled});
11
11
  --_space-2: var(--ui-space-2, #{t.$space-2});
@@ -14,7 +14,7 @@
14
14
  // @desc Legend size
15
15
  --_legend-size: var(--ui-checkbox-group-legend-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
16
16
  // @desc Legend weight
17
- --_legend-weight: var(--ui-checkbox-group-legend-weight, var(--ui-weight-medium, #{t.$weight-medium}));
17
+ --_legend-weight: var(--ui-checkbox-group-legend-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
18
18
  // @desc Legend color
19
19
  --_legend-color: var(--ui-checkbox-group-legend-color, var(--ui-color-text, #{t.$color-text}));
20
20
  // @desc Legend spacing
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "name": "--ui-fieldset-legend-weight",
49
- "default": "var(--ui-weight-medium)",
49
+ "default": "var(--ui-font-weight-medium)",
50
50
  "description": "Legend weight"
51
51
  },
52
52
  {
@@ -7,7 +7,7 @@
7
7
 
8
8
  @layer components.tokens {
9
9
  .fieldset {
10
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$leading-tight-sm}));
10
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$line-height-tight-sm}));
11
11
  --_space-half: var(--ui-space-half, #{t.$space-0});
12
12
  --_opacity-disabled: var(--ui-opacity-disabled, #{t.$opacity-disabled});
13
13
  // @desc Spacing
@@ -23,7 +23,7 @@
23
23
  // @desc Legend size
24
24
  --_legend-size: var(--ui-fieldset-legend-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
25
25
  // @desc Legend weight
26
- --_legend-weight: var(--ui-fieldset-legend-weight, var(--ui-weight-medium, #{t.$weight-medium}));
26
+ --_legend-weight: var(--ui-fieldset-legend-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
27
27
  // @desc Legend color
28
28
  --_legend-color: var(--ui-fieldset-legend-color, var(--ui-color-text, #{t.$color-text}));
29
29
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  @layer components.tokens {
9
9
  .form-error {
10
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$row-1}));
10
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$row-1}));
11
11
  // @desc Text color
12
12
  --_color: var(--ui-form-error-color, var(--ui-color-danger, #{t.$color-danger}));
13
13
  // @desc Overall size
@@ -7,7 +7,7 @@
7
7
 
8
8
  @layer components.tokens {
9
9
  .form-helper {
10
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$row-1}));
10
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$row-1}));
11
11
  // @desc Text color
12
12
  --_color: var(--ui-form-helper-color, var(--ui-color-text-muted, #{t.$color-text-muted}));
13
13
  // @desc Overall size
@@ -5,10 +5,10 @@
5
5
 
6
6
  @layer components.tokens {
7
7
  .label {
8
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
9
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$row-1}));
8
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
9
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$row-1}));
10
10
  --_opacity-disabled: var(--ui-opacity-disabled, #{t.$opacity-disabled});
11
- --_weight-normal: var(--ui-weight-normal, #{t.$weight-normal});
11
+ --_weight-normal: var(--ui-font-weight-normal, #{t.$font-weight-normal});
12
12
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
13
13
  // @desc Font size
14
14
  --_font-size: var(--ui-label-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
@@ -31,7 +31,7 @@
31
31
  },
32
32
  {
33
33
  "name": "--ui-radio-group-legend-weight",
34
- "default": "var(--ui-weight-medium)",
34
+ "default": "var(--ui-font-weight-medium)",
35
35
  "description": "Legend weight"
36
36
  },
37
37
  {
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer components.tokens {
7
7
  .radio-group {
8
- --_leading-tight-sm: var(--ui-leading-tight-sm, var(--ui-row-1, #{t.$leading-tight-sm}));
8
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, var(--ui-row-1, #{t.$line-height-tight-sm}));
9
9
  --_row-1: var(--ui-row-1, #{t.$row-1});
10
10
  --_opacity-disabled: var(--ui-opacity-disabled, #{t.$opacity-disabled});
11
11
  --_space-2: var(--ui-space-2, #{t.$space-2});
@@ -14,7 +14,7 @@
14
14
  // @desc Legend size
15
15
  --_legend-size: var(--ui-radio-group-legend-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
16
16
  // @desc Legend weight
17
- --_legend-weight: var(--ui-radio-group-legend-weight, var(--ui-weight-medium, #{t.$weight-medium}));
17
+ --_legend-weight: var(--ui-radio-group-legend-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
18
18
  // @desc Legend color
19
19
  --_legend-color: var(--ui-radio-group-legend-color, var(--ui-color-text, #{t.$color-text}));
20
20
  // @desc Legend spacing
@@ -24,7 +24,7 @@
24
24
  "cssVars": [
25
25
  {
26
26
  "name": "--ui-dropdown-menu-z",
27
- "default": "var(--ui-z-dropdown)",
27
+ "default": "var(--ui-z-index-dropdown)",
28
28
  "description": "Z-index stacking order"
29
29
  },
30
30
  {
@@ -10,7 +10,7 @@
10
10
  --_duration-fast: var(--ui-duration-fast, #{t.$duration-fast});
11
11
  --_ease-default: var(--ui-ease-default, #{t.$ease-default});
12
12
  // @desc Z-index stacking order
13
- --_z: var(--ui-dropdown-menu-z, #{t.$z-dropdown});
13
+ --_z: var(--ui-dropdown-menu-z, #{t.$z-index-dropdown});
14
14
  // @desc Panel offset from anchor
15
15
  --_panel-offset: var(--ui-dropdown-menu-panel-offset, var(--ui-space-1, #{t.$space-1}));
16
16
  // @desc Panel minimum width
@@ -9,7 +9,7 @@
9
9
  .menu {
10
10
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
11
11
  --_font-size-xs: var(--ui-font-size-xs, #{t.$font-size-xs});
12
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
12
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
13
13
  --_row-1: var(--ui-row-1, #{t.$row});
14
14
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
15
15
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
@@ -69,7 +69,7 @@
69
69
  font-size: var(--_font-size-xs);
70
70
  font-weight: var(--_weight-medium);
71
71
  line-height: var(--_row-1);
72
- letter-spacing: #{t.$tracking-wide};
72
+ letter-spacing: #{t.$letter-spacing-wide};
73
73
  text-transform: uppercase;
74
74
  color: var(--_color-text-muted);
75
75
  }
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "name": "--ui-nav-item-font-weight",
49
- "default": "var(--ui-weight-medium)",
49
+ "default": "var(--ui-font-weight-medium)",
50
50
  "description": "Item font weight"
51
51
  },
52
52
  {
@@ -20,7 +20,7 @@
20
20
  // @desc Item font size
21
21
  --_item-font-size: var(--ui-nav-item-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
22
22
  // @desc Item font weight
23
- --_item-font-weight: var(--ui-nav-item-font-weight, var(--ui-weight-medium, #{t.$weight-medium}));
23
+ --_item-font-weight: var(--ui-nav-item-font-weight, var(--ui-font-weight-medium, #{t.$font-weight-medium}));
24
24
  // @desc Item text color
25
25
  --_item-color: var(--ui-nav-item-color, var(--ui-color-text-muted, #{t.$color-text-muted}));
26
26
  // @desc Item color hover
@@ -8,7 +8,7 @@
8
8
  --_space-1: var(--ui-space-1, #{t.$space-1});
9
9
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
10
10
  --_font-sans: var(--ui-font-sans, #{t.$font-sans});
11
- --_weight-medium: var(--ui-weight-medium, #{t.$weight-medium});
11
+ --_weight-medium: var(--ui-font-weight-medium, #{t.$font-weight-medium});
12
12
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
13
13
  --_border-width-md: var(--ui-border-width-md, #{t.$border-width-md});
14
14
  --_duration-base: var(--ui-duration-base, #{t.$duration-base});
@@ -8,7 +8,7 @@
8
8
  @layer components.tokens {
9
9
  .dialog {
10
10
  --_font-size-lg: var(--ui-font-size-lg, #{t.$font-size-lg});
11
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
11
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
12
12
  // @desc Header padding on all sides
13
13
  --_header-padding: var(--ui-dialog-header-padding, calc(#{t.$unit} * 2) calc(#{t.$unit} * 3));
14
14
  // @desc Body area padding on all sides
@@ -8,7 +8,7 @@
8
8
 
9
9
  @layer components.tokens {
10
10
  .drawer {
11
- --_z-drawer: var(--ui-z-drawer, #{t.$z-drawer});
11
+ --_z-drawer: var(--ui-z-index-drawer, #{t.$z-index-drawer});
12
12
  --_overlay-bg: var(--ui-overlay-bg, #{t.$overlay-bg});
13
13
  --_duration-normal: var(--ui-duration-normal, #{t.$duration-normal});
14
14
  --_ease-out: var(--ui-ease-out, ease-out);
@@ -16,7 +16,7 @@
16
16
  --_ease-in: var(--ui-ease-in, ease-in);
17
17
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
18
18
  --_font-size-lg: var(--ui-font-size-lg, #{t.$font-size-lg});
19
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
19
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
20
20
  --_row-1: var(--ui-row-1, #{t.$row});
21
21
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
22
22
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
@@ -47,7 +47,7 @@
47
47
  },
48
48
  {
49
49
  "name": "--ui-modal-z",
50
- "default": "var(--ui-z-modal)",
50
+ "default": "var(--ui-z-index-modal)",
51
51
  "description": "Z-index stacking order"
52
52
  },
53
53
  {
@@ -22,7 +22,7 @@
22
22
  // @desc Maximum height
23
23
  --_max-height: var(--ui-modal-max-height, calc(100vh - #{t.$unit} * 8));
24
24
  // @desc Z-index stacking order
25
- --_z: var(--ui-modal-z, var(--ui-z-modal, #{t.$z-modal}));
25
+ --_z: var(--ui-modal-z, var(--ui-z-index-modal, #{t.$z-index-modal}));
26
26
  }
27
27
 
28
28
  // @modifier size
@@ -24,7 +24,7 @@
24
24
  },
25
25
  {
26
26
  "name": "--ui-overlay-z",
27
- "default": "var(--ui-z-overlay)",
27
+ "default": "var(--ui-z-index-overlay)",
28
28
  "description": "Z-index stacking order"
29
29
  },
30
30
  {
@@ -12,7 +12,7 @@
12
12
  // @desc Background color
13
13
  --_bg: var(--ui-overlay-bg, #{t.$overlay-bg});
14
14
  // @desc Z-index stacking order
15
- --_z: var(--ui-overlay-z, var(--ui-z-overlay, #{t.$z-overlay}));
15
+ --_z: var(--ui-overlay-z, var(--ui-z-index-overlay, #{t.$z-index-overlay}));
16
16
  }
17
17
 
18
18
  // @modifier boolean light
@@ -44,7 +44,7 @@
44
44
  },
45
45
  {
46
46
  "name": "--ui-popover-z",
47
- "default": "var(--ui-z-popover)",
47
+ "default": "var(--ui-z-index-popover)",
48
48
  "description": "Z-index stacking order"
49
49
  },
50
50
  {
@@ -10,7 +10,7 @@
10
10
  --_row-1: var(--ui-row-1, #{t.$row});
11
11
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
12
12
  --_font-size-md: var(--ui-font-size-md, #{t.$font-size-md});
13
- --_weight-semibold: var(--ui-weight-semibold, #{t.$weight-semibold});
13
+ --_weight-semibold: var(--ui-font-weight-semibold, #{t.$font-weight-semibold});
14
14
  --_duration-fast: var(--ui-duration-fast, #{t.$duration-fast});
15
15
  --_ease-default: var(--ui-ease-default, ease);
16
16
  // @desc Background color
@@ -26,7 +26,7 @@
26
26
  // @desc Maximum width
27
27
  --_max-width: var(--ui-popover-max-width, calc(#{t.$unit} * 40));
28
28
  // @desc Z-index stacking order
29
- --_z: var(--ui-popover-z, var(--ui-z-popover, #{t.$z-popover}));
29
+ --_z: var(--ui-popover-z, var(--ui-z-index-popover, #{t.$z-index-popover}));
30
30
  // @desc Arrow size
31
31
  --_arrow-size: var(--ui-popover-arrow-size, calc(#{t.$unit}));
32
32
  }
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": "--ui-tooltip-z",
52
- "default": "var(--ui-z-tooltip)",
52
+ "default": "var(--ui-z-index-tooltip)",
53
53
  "description": "Z-index stacking order"
54
54
  },
55
55
  {
@@ -22,7 +22,7 @@
22
22
  // @desc Font size
23
23
  --_font-size: var(--ui-tooltip-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
24
24
  // @desc Z-index stacking order
25
- --_z: var(--ui-tooltip-z, var(--ui-z-tooltip, #{t.$z-tooltip}));
25
+ --_z: var(--ui-tooltip-z, var(--ui-z-index-tooltip, #{t.$z-index-tooltip}));
26
26
  // @desc Arrow size
27
27
  --_arrow-size: var(--ui-tooltip-arrow-size, calc(#{t.$unit} / 2));
28
28
  }
@@ -38,7 +38,7 @@
38
38
  },
39
39
  {
40
40
  "name": "--ui-blockquote-line-height",
41
- "default": "var(--ui-leading-lg)",
41
+ "default": "var(--ui-line-height-lg)",
42
42
  "description": "Line height"
43
43
  }
44
44
  ]
@@ -6,7 +6,7 @@
6
6
  .blockquote {
7
7
  --_space-1: var(--ui-space-1, #{t.$space-1});
8
8
  --_font-size-sm: var(--ui-font-size-sm, #{t.$font-size-sm});
9
- --_leading-sm: var(--ui-leading-sm, #{t.$leading-sm});
9
+ --_leading-sm: var(--ui-line-height-sm, #{t.$line-height-sm});
10
10
  --_color-text-muted: var(--ui-color-text-muted, #{t.$color-text-muted});
11
11
  // @desc Border color
12
12
  --_border-color: var(--ui-blockquote-border-color, var(--ui-color-border-strong, #{t.$color-border-strong}));
@@ -19,7 +19,7 @@
19
19
  // @desc Font size
20
20
  --_font-size: var(--ui-blockquote-font-size, var(--ui-font-size-lg, #{t.$font-size-lg}));
21
21
  // @desc Line height
22
- --_line-height: var(--ui-blockquote-line-height, var(--ui-leading-lg, #{t.$leading-lg}));
22
+ --_line-height: var(--ui-blockquote-line-height, var(--ui-line-height-lg, #{t.$line-height-lg}));
23
23
  }
24
24
 
25
25
  // @modifier variant
@@ -8,7 +8,7 @@
8
8
  // Inline code
9
9
  .code {
10
10
  --_font-mono: var(--ui-font-mono, #{t.$font-mono});
11
- --_leading-tight-sm: var(--ui-leading-tight-sm, #{t.$leading-tight-sm});
11
+ --_leading-tight-sm: var(--ui-line-height-tight-sm, #{t.$line-height-tight-sm});
12
12
  --_border-width-sm: var(--ui-border-width-sm, #{t.$border-width-sm});
13
13
  // @desc Font size
14
14
  --_font-size: var(--ui-code-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
@@ -48,7 +48,7 @@
48
48
  },
49
49
  {
50
50
  "name": "--ui-code-block-line-height",
51
- "default": "var(--ui-leading-tight-sm)",
51
+ "default": "var(--ui-line-height-tight-sm)",
52
52
  "description": "Line height"
53
53
  },
54
54
  {
@@ -21,7 +21,7 @@
21
21
  // @desc Font size
22
22
  --_font-size: var(--ui-code-block-font-size, var(--ui-font-size-sm, #{t.$font-size-sm}));
23
23
  // @desc Line height
24
- --_line-height: var(--ui-code-block-line-height, var(--ui-leading-tight-sm, #{t.$leading-tight-sm}));
24
+ --_line-height: var(--ui-code-block-line-height, var(--ui-line-height-tight-sm, #{t.$line-height-tight-sm}));
25
25
  // @desc Corner radius
26
26
  --_radius: var(--ui-code-block-radius, var(--ui-radius-md, #{t.$radius-md}));
27
27
  }