@teseor/css 1.15.7 → 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 (107) hide show
  1. package/dist/compiled.css +1 -1
  2. package/dist/index.css +51 -52
  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/content/divider/docs.html +1 -1
  10. package/src/components/content/scroll-area/docs.html +2 -2
  11. package/src/components/data-display/avatar/index.scss +1 -1
  12. package/src/components/data-display/badge/api.json +1 -1
  13. package/src/components/data-display/badge/index.scss +1 -1
  14. package/src/components/data-display/data-list/index.scss +1 -1
  15. package/src/components/data-display/stat/api.json +3 -3
  16. package/src/components/data-display/stat/index.scss +5 -5
  17. package/src/components/data-display/status/docs.html +2 -2
  18. package/src/components/data-display/table/index.scss +1 -1
  19. package/src/components/data-display/tag/index.scss +1 -1
  20. package/src/components/disclosure/disclosure/index.scss +1 -1
  21. package/src/components/feedback/alert/index.scss +1 -1
  22. package/src/components/feedback/skeleton/docs.html +2 -2
  23. package/src/components/feedback/toast/docs.html +12 -12
  24. package/src/components/feedback/toast/index.scss +2 -2
  25. package/src/components/forms/checkbox/docs.html +1 -1
  26. package/src/components/forms/checkbox-group/api.json +1 -1
  27. package/src/components/forms/checkbox-group/index.scss +2 -2
  28. package/src/components/forms/fieldset/api.json +1 -1
  29. package/src/components/forms/fieldset/index.scss +2 -2
  30. package/src/components/forms/form-error/index.scss +1 -1
  31. package/src/components/forms/form-helper/index.scss +1 -1
  32. package/src/components/forms/label/index.scss +3 -3
  33. package/src/components/forms/radio/docs.html +5 -5
  34. package/src/components/forms/radio-group/api.json +1 -1
  35. package/src/components/forms/radio-group/index.scss +2 -2
  36. package/src/components/forms/toggle/docs.html +3 -3
  37. package/src/components/navigation/dropdown-menu/api.json +1 -1
  38. package/src/components/navigation/dropdown-menu/docs.html +1 -1
  39. package/src/components/navigation/dropdown-menu/index.scss +1 -1
  40. package/src/components/navigation/menu/index.scss +2 -2
  41. package/src/components/navigation/nav/api.json +1 -1
  42. package/src/components/navigation/nav/index.scss +1 -1
  43. package/src/components/navigation/tabs/index.scss +1 -1
  44. package/src/components/overlays/dialog/docs.html +6 -6
  45. package/src/components/overlays/dialog/index.scss +1 -1
  46. package/src/components/overlays/drawer/docs.html +17 -17
  47. package/src/components/overlays/drawer/index.scss +2 -2
  48. package/src/components/overlays/modal/api.json +1 -1
  49. package/src/components/overlays/modal/docs.html +12 -12
  50. package/src/components/overlays/modal/index.scss +1 -1
  51. package/src/components/overlays/overlay/api.json +1 -1
  52. package/src/components/overlays/overlay/docs.html +8 -8
  53. package/src/components/overlays/overlay/index.scss +1 -1
  54. package/src/components/overlays/popover/api.json +1 -1
  55. package/src/components/overlays/popover/docs.html +6 -6
  56. package/src/components/overlays/popover/index.scss +2 -2
  57. package/src/components/overlays/tooltip/api.json +1 -1
  58. package/src/components/overlays/tooltip/docs.html +10 -10
  59. package/src/components/overlays/tooltip/index.scss +1 -1
  60. package/src/components/typography/blockquote/api.json +1 -1
  61. package/src/components/typography/blockquote/index.scss +2 -2
  62. package/src/components/typography/code/index.scss +1 -1
  63. package/src/components/typography/code-block/api.json +1 -1
  64. package/src/components/typography/code-block/index.scss +1 -1
  65. package/src/components/typography/heading/api.json +9 -9
  66. package/src/components/typography/heading/index.scss +9 -9
  67. package/src/components/typography/list/api.json +1 -1
  68. package/src/components/typography/list/index.scss +1 -1
  69. package/src/config/guides/accessibility.docs.html +1 -1
  70. package/src/config/guides/getting-started.docs.html +1 -1
  71. package/src/config/guides/theming.docs.html +53 -20
  72. package/src/config/guides/token-architecture.docs.html +87 -0
  73. package/src/config/tokens/_variables.scss +60 -53
  74. package/src/config/tokens/colors/index.scss +18 -0
  75. package/src/config/tokens/docs.html +10 -21
  76. package/src/config/tokens/index.scss +0 -1
  77. package/src/config/tokens/radius.scss +5 -4
  78. package/src/config/tokens/shadows.scss +4 -3
  79. package/src/config/tokens/typography.scss +47 -47
  80. package/src/config/tokens/zindex.scss +10 -10
  81. package/src/debug/docs.html +3 -3
  82. package/src/debug/index.scss +7 -8
  83. package/src/layout/aspect-ratio/docs.html +7 -7
  84. package/src/layout/center/docs.html +3 -3
  85. package/src/layout/footer/api.json +1 -1
  86. package/src/layout/footer/index.scss +3 -3
  87. package/src/layout/main/docs.html +3 -3
  88. package/src/layout/nav-rail/api.json +1 -1
  89. package/src/layout/nav-rail/docs.html +1 -1
  90. package/src/layout/nav-rail/index.scss +1 -1
  91. package/src/layout/page-header/index.scss +1 -1
  92. package/src/layout/sidebar/docs.html +3 -3
  93. package/src/layout/sidebar/index.scss +1 -1
  94. package/src/layout/sidebar-nav/api.json +2 -2
  95. package/src/layout/sidebar-nav/docs.html +6 -6
  96. package/src/layout/sidebar-nav/index.scss +4 -4
  97. package/src/layout/topbar/api.json +1 -1
  98. package/src/layout/topbar/index.scss +1 -1
  99. package/src/utilities/position/api.json +6 -0
  100. package/src/utilities/position/docs.html +29 -0
  101. package/src/utilities/position/position.scss +74 -0
  102. package/src/utilities/scroll-animation/docs.html +1 -1
  103. package/src/utilities/scroll-animation/index.scss +1 -1
  104. package/src/utilities/scroll-snap/docs.html +33 -33
  105. package/src/utilities/text/docs.html +5 -5
  106. package/src/utilities/text/text.scss +15 -15
  107. package/src/config/tokens/semantic-spacing.scss +0 -12
@@ -0,0 +1,74 @@
1
+ // Position, overflow, and inset utilities
2
+
3
+ @layer utilities {
4
+ // Position
5
+ .relative {
6
+ position: relative;
7
+ }
8
+
9
+ .absolute {
10
+ position: absolute;
11
+ }
12
+
13
+ .fixed {
14
+ position: fixed;
15
+ }
16
+
17
+ .sticky {
18
+ position: sticky;
19
+ }
20
+
21
+ .static {
22
+ position: static;
23
+ }
24
+
25
+ // Inset (logical properties)
26
+ .inset-0 {
27
+ inset: 0;
28
+ }
29
+
30
+ .inset-block-0 {
31
+ inset-block: 0;
32
+ }
33
+
34
+ .inset-inline-0 {
35
+ inset-inline: 0;
36
+ }
37
+
38
+ .top-0 {
39
+ inset-block-start: 0;
40
+ }
41
+
42
+ .bottom-0 {
43
+ inset-block-end: 0;
44
+ }
45
+
46
+ .start-0 {
47
+ inset-inline-start: 0;
48
+ }
49
+
50
+ .end-0 {
51
+ inset-inline-end: 0;
52
+ }
53
+
54
+ // Overflow
55
+ .overflow-hidden {
56
+ overflow: hidden;
57
+ }
58
+
59
+ .overflow-auto {
60
+ overflow: auto;
61
+ }
62
+
63
+ .overflow-x-auto {
64
+ overflow-x: auto;
65
+ }
66
+
67
+ .overflow-y-auto {
68
+ overflow-y: auto;
69
+ }
70
+
71
+ .overflow-visible {
72
+ overflow: visible;
73
+ }
74
+ }
@@ -6,7 +6,7 @@ description: Scroll-driven animation utilities for progress indicators and viewp
6
6
  <!-- @scroll_progress_indicator -->
7
7
  <!-- Fixed bar at the top of the viewport that fills as the user scrolls down. -->
8
8
  <div style="position: relative; block-size: 12rem; overflow-y: auto;">
9
- <div class="ui-scroll-progress" style="position: absolute;"></div>
9
+ <div class="ui-scroll-progress ui-absolute"></div>
10
10
  <div style="block-size: 40rem; padding: var(--ui-space-2);">
11
11
  <p>{{ t('scroll_down_to_see_the_progress_bar_fill', 'Scroll down to see the progress bar fill.') }}</p>
12
12
  </div>
@@ -12,7 +12,7 @@
12
12
  position: fixed;
13
13
  inset-block-start: 0;
14
14
  inset-inline-start: 0;
15
- z-index: var(--ui-z-toast, #{t.$z-toast});
15
+ z-index: var(--ui-z-index-toast, #{t.$z-index-toast});
16
16
 
17
17
  block-size: var(--ui-scroll-progress-height, var(--ui-space-half, #{t.$space-0}));
18
18
  inline-size: 100%;
@@ -5,19 +5,19 @@ description: Scroll-snap utilities for carousels, horizontal lists, and snap-to-
5
5
 
6
6
  <!-- @horizontal_snap -->
7
7
  <!-- Snap children to start position on horizontal scroll. -->
8
- <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
9
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('item_1', 'Item 1') }}</div>
10
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('item_2', 'Item 2') }}</div>
11
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('item_3', 'Item 3') }}</div>
12
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('item_4', 'Item 4') }}</div>
8
+ <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2 demo-narrow">
9
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('item_1', 'Item 1') }}</div>
10
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('item_2', 'Item 2') }}</div>
11
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('item_3', 'Item 3') }}</div>
12
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('item_4', 'Item 4') }}</div>
13
13
  </div>
14
14
 
15
15
  <!-- @center_snap -->
16
16
  <!-- Snap children to center position. -->
17
- <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
18
- <div class="ui-snap-center ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('center_1', 'Center 1') }}</div>
19
- <div class="ui-snap-center ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('center_2', 'Center 2') }}</div>
20
- <div class="ui-snap-center ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('center_3', 'Center 3') }}</div>
17
+ <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2 demo-narrow">
18
+ <div class="ui-snap-center ui-card ui-p-2 demo-snap-item">{{ t('center_1', 'Center 1') }}</div>
19
+ <div class="ui-snap-center ui-card ui-p-2 demo-snap-item">{{ t('center_2', 'Center 2') }}</div>
20
+ <div class="ui-snap-center ui-card ui-p-2 demo-snap-item">{{ t('center_3', 'Center 3') }}</div>
21
21
  </div>
22
22
 
23
23
  <!-- @vertical_snap -->
@@ -30,10 +30,10 @@ description: Scroll-snap utilities for carousels, horizontal lists, and snap-to-
30
30
 
31
31
  <!-- @proximity_snap -->
32
32
  <!-- Softer snap that only engages when close to a snap point. -->
33
- <div class="ui-snap-x-proximity ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
34
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('proximity_1', 'Proximity 1') }}</div>
35
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('proximity_2', 'Proximity 2') }}</div>
36
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('proximity_3', 'Proximity 3') }}</div>
33
+ <div class="ui-snap-x-proximity ui-flex ui-gap-2 ui-p-2 demo-narrow">
34
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('proximity_1', 'Proximity 1') }}</div>
35
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('proximity_2', 'Proximity 2') }}</div>
36
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('proximity_3', 'Proximity 3') }}</div>
37
37
  </div>
38
38
  <div class="ui-snap-y-proximity" style="max-block-size: 8rem">
39
39
  <div class="ui-snap-start ui-card ui-p-2">{{ t('section_1', 'Section 1') }}</div>
@@ -43,35 +43,35 @@ description: Scroll-snap utilities for carousels, horizontal lists, and snap-to-
43
43
 
44
44
  <!-- @end_alignment_and_stop -->
45
45
  <!-- Snap children to end position or force stop at every snap point. -->
46
- <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
47
- <div class="ui-snap-end ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('end_1', 'End 1') }}</div>
48
- <div class="ui-snap-end ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('end_2', 'End 2') }}</div>
49
- <div class="ui-snap-end ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('end_3', 'End 3') }}</div>
46
+ <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2 demo-narrow">
47
+ <div class="ui-snap-end ui-card ui-p-2 demo-snap-item">{{ t('end_1', 'End 1') }}</div>
48
+ <div class="ui-snap-end ui-card ui-p-2 demo-snap-item">{{ t('end_2', 'End 2') }}</div>
49
+ <div class="ui-snap-end ui-card ui-p-2 demo-snap-item">{{ t('end_3', 'End 3') }}</div>
50
50
  </div>
51
- <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
52
- <div class="ui-snap-start ui-snap-always ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('always_1', 'Always 1') }}</div>
53
- <div class="ui-snap-start ui-snap-always ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('always_2', 'Always 2') }}</div>
54
- <div class="ui-snap-start ui-snap-always ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('always_3', 'Always 3') }}</div>
51
+ <div class="ui-snap-x ui-flex ui-gap-2 ui-p-2 demo-narrow">
52
+ <div class="ui-snap-start ui-snap-always ui-card ui-p-2 demo-snap-item">{{ t('always_1', 'Always 1') }}</div>
53
+ <div class="ui-snap-start ui-snap-always ui-card ui-p-2 demo-snap-item">{{ t('always_2', 'Always 2') }}</div>
54
+ <div class="ui-snap-start ui-snap-always ui-card ui-p-2 demo-snap-item">{{ t('always_3', 'Always 3') }}</div>
55
55
  </div>
56
56
 
57
57
  <!-- @disable_snap -->
58
58
  <!-- Remove snap behavior from a container. -->
59
- <div class="ui-snap-none ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem; overflow-x: auto">
60
- <div class="ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('no_snap_1', 'No snap 1') }}</div>
61
- <div class="ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('no_snap_2', 'No snap 2') }}</div>
59
+ <div class="ui-snap-none ui-flex ui-gap-2 ui-p-2 demo-narrow ui-overflow-x-auto">
60
+ <div class="ui-card ui-p-2 demo-snap-item">{{ t('no_snap_1', 'No snap 1') }}</div>
61
+ <div class="ui-card ui-p-2 demo-snap-item">{{ t('no_snap_2', 'No snap 2') }}</div>
62
62
  </div>
63
63
 
64
64
  <!-- @scroll_padding -->
65
65
  <!-- Offset snap position for fixed headers or insets. -->
66
- <div class="ui-snap-x ui-snap-p-1 ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
67
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_1', 'p-1') }}</div>
68
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_1', 'p-1') }}</div>
66
+ <div class="ui-snap-x ui-snap-p-1 ui-flex ui-gap-2 ui-p-2 demo-narrow">
67
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_1', 'p-1') }}</div>
68
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_1', 'p-1') }}</div>
69
69
  </div>
70
- <div class="ui-snap-x ui-snap-p-2 ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
71
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_2', 'p-2') }}</div>
72
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_2', 'p-2') }}</div>
70
+ <div class="ui-snap-x ui-snap-p-2 ui-flex ui-gap-2 ui-p-2 demo-narrow">
71
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_2', 'p-2') }}</div>
72
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_2', 'p-2') }}</div>
73
73
  </div>
74
- <div class="ui-snap-x ui-snap-p-4 ui-flex ui-gap-2 ui-p-2" style="max-inline-size: 20rem">
75
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_4', 'p-4') }}</div>
76
- <div class="ui-snap-start ui-card ui-p-2" style="min-inline-size: 10rem">{{ t('p_4', 'p-4') }}</div>
74
+ <div class="ui-snap-x ui-snap-p-4 ui-flex ui-gap-2 ui-p-2 demo-narrow">
75
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_4', 'p-4') }}</div>
76
+ <div class="ui-snap-start ui-card ui-p-2 demo-snap-item">{{ t('p_4', 'p-4') }}</div>
77
77
  </div>
@@ -52,12 +52,12 @@ description: Typography and text utilities. Font sizes follow a 1.2 modular scal
52
52
 
53
53
  <!-- @text_wrap | column -->
54
54
  <!-- Control how text wraps across lines. -->
55
- <p class="ui-text-balance ui-text-2xl ui-font-bold" style="max-inline-size: 20rem">{{ t('balanced_desc', 'Balanced: distributes text evenly across lines') }}</p>
56
- <p class="ui-text-pretty" style="max-inline-size: 20rem">{{ t('pretty_desc', 'Pretty: avoids orphans and widows for cleaner body text paragraphs that wrap naturally') }}</p>
55
+ <p class="ui-text-balance ui-text-2xl ui-font-bold demo-narrow">{{ t('balanced_desc', 'Balanced: distributes text evenly across lines') }}</p>
56
+ <p class="ui-text-pretty demo-narrow">{{ t('pretty_desc', 'Pretty: avoids orphans and widows for cleaner body text paragraphs that wrap naturally') }}</p>
57
57
  <p class="ui-text-nowrap">{{ t('nowrap_desc', 'Nowrap: prevents text from wrapping to the next line') }}</p>
58
58
 
59
59
  <!-- @multi_line_truncation | column -->
60
60
  <!-- Clamp text to a specific number of lines with ellipsis. -->
61
- <p class="ui-truncate-2" style="max-inline-size: 20rem">{{ t('truncate_2_lines_demo', 'Truncate to 2 lines: This is a long paragraph that will be clamped after two lines of text. Any overflow content will be hidden and replaced with an ellipsis character.') }}</p>
62
- <p class="ui-truncate-3" style="max-inline-size: 20rem">{{ t('truncate_3_lines_demo', 'Truncate to 3 lines: This is a long paragraph that will be clamped after three lines of text. Any overflow content beyond the third line will be hidden and replaced with an ellipsis character at the end.') }}</p>
63
- <p class="ui-truncate-4" style="max-inline-size: 20rem">{{ t('truncate_4_lines_demo', 'Truncate to 4 lines: This is a long paragraph that will be clamped after four lines. It gives more room for content previews while still maintaining a consistent height. Overflow beyond line four is hidden with ellipsis.') }}</p>
61
+ <p class="ui-truncate-2 demo-narrow">{{ t('truncate_2_lines_demo', 'Truncate to 2 lines: This is a long paragraph that will be clamped after two lines of text. Any overflow content will be hidden and replaced with an ellipsis character.') }}</p>
62
+ <p class="ui-truncate-3 demo-narrow">{{ t('truncate_3_lines_demo', 'Truncate to 3 lines: This is a long paragraph that will be clamped after three lines of text. Any overflow content beyond the third line will be hidden and replaced with an ellipsis character at the end.') }}</p>
63
+ <p class="ui-truncate-4 demo-narrow">{{ t('truncate_4_lines_demo', 'Truncate to 4 lines: This is a long paragraph that will be clamped after four lines. It gives more room for content previews while still maintaining a consistent height. Overflow beyond line four is hidden with ellipsis.') }}</p>
@@ -25,19 +25,19 @@
25
25
  // FONT WEIGHT
26
26
  // ==========================================================================
27
27
  .font-normal {
28
- font-weight: var(--ui-weight-normal);
28
+ font-weight: var(--ui-font-weight-normal);
29
29
  }
30
30
 
31
31
  .font-medium {
32
- font-weight: var(--ui-weight-medium);
32
+ font-weight: var(--ui-font-weight-medium);
33
33
  }
34
34
 
35
35
  .font-semibold {
36
- font-weight: var(--ui-weight-semibold);
36
+ font-weight: var(--ui-font-weight-semibold);
37
37
  }
38
38
 
39
39
  .font-bold {
40
- font-weight: var(--ui-weight-bold);
40
+ font-weight: var(--ui-font-weight-bold);
41
41
  }
42
42
 
43
43
  // ==========================================================================
@@ -45,42 +45,42 @@
45
45
  // ==========================================================================
46
46
  .text-xs {
47
47
  font-size: var(--ui-font-size-xs);
48
- line-height: var(--ui-leading-xs);
48
+ line-height: var(--ui-line-height-xs);
49
49
  }
50
50
 
51
51
  .text-sm {
52
52
  font-size: var(--ui-font-size-sm);
53
- line-height: var(--ui-leading-sm);
53
+ line-height: var(--ui-line-height-sm);
54
54
  }
55
55
 
56
56
  .text-md {
57
57
  font-size: var(--ui-font-size-md);
58
- line-height: var(--ui-leading-md);
58
+ line-height: var(--ui-line-height-md);
59
59
  }
60
60
 
61
61
  .text-lg {
62
62
  font-size: var(--ui-font-size-lg);
63
- line-height: var(--ui-leading-lg);
63
+ line-height: var(--ui-line-height-lg);
64
64
  }
65
65
 
66
66
  .text-xl {
67
67
  font-size: var(--ui-font-size-xl);
68
- line-height: var(--ui-leading-xl);
68
+ line-height: var(--ui-line-height-xl);
69
69
  }
70
70
 
71
71
  .text-2xl {
72
72
  font-size: var(--ui-font-size-2xl);
73
- line-height: var(--ui-leading-2xl);
73
+ line-height: var(--ui-line-height-2xl);
74
74
  }
75
75
 
76
76
  .text-3xl {
77
77
  font-size: var(--ui-font-size-3xl);
78
- line-height: var(--ui-leading-3xl);
78
+ line-height: var(--ui-line-height-3xl);
79
79
  }
80
80
 
81
81
  .text-4xl {
82
82
  font-size: var(--ui-font-size-4xl);
83
- line-height: var(--ui-leading-4xl);
83
+ line-height: var(--ui-line-height-4xl);
84
84
  }
85
85
 
86
86
  // ==========================================================================
@@ -275,14 +275,14 @@
275
275
  // LETTER SPACING
276
276
  // ==========================================================================
277
277
  .tracking-display {
278
- letter-spacing: var(--ui-tracking-display);
278
+ letter-spacing: var(--ui-letter-spacing-display);
279
279
  }
280
280
 
281
281
  .tracking-body {
282
- letter-spacing: var(--ui-tracking-body);
282
+ letter-spacing: var(--ui-letter-spacing-body);
283
283
  }
284
284
 
285
285
  .tracking-caps {
286
- letter-spacing: var(--ui-tracking-caps);
286
+ letter-spacing: var(--ui-letter-spacing-caps);
287
287
  }
288
288
  }
@@ -1,12 +0,0 @@
1
- @layer tokens {
2
- :root {
3
- --ui-spacing-xs: var(--ui-space-1);
4
- --ui-spacing-sm: var(--ui-space-2);
5
- --ui-spacing-md: var(--ui-space-4);
6
- --ui-spacing-lg: var(--ui-space-6);
7
- --ui-spacing-xl: var(--ui-space-8);
8
-
9
- --ui-spacing-gutter: var(--ui-space-4);
10
- --ui-spacing-section: var(--ui-space-8);
11
- }
12
- }