@microsoft/atlas-css 5.0.0-test.0 → 5.0.0-test.2

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/class-names.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.css.map +1 -1
  4. package/dist/tokens.json +1 -1
  5. package/dist/tokens.ts +4 -16
  6. package/package.json +2 -2
  7. package/src/atomics/aspect-ratio.scss +3 -0
  8. package/src/atomics/background.scss +3 -0
  9. package/src/atomics/border.scss +27 -24
  10. package/src/atomics/colors.scss +54 -51
  11. package/src/atomics/display.scss +10 -7
  12. package/src/atomics/flex.scss +3 -1
  13. package/src/atomics/gap.scss +15 -12
  14. package/src/atomics/height.scss +3 -0
  15. package/src/atomics/image.scss +3 -0
  16. package/src/atomics/index.scss +19 -19
  17. package/src/atomics/line-clamp.scss +7 -4
  18. package/src/atomics/list.scss +3 -0
  19. package/src/atomics/overflow.scss +4 -1
  20. package/src/atomics/position.scss +7 -4
  21. package/src/atomics/shadow.scss +7 -4
  22. package/src/atomics/spacing-auto.scss +6 -3
  23. package/src/atomics/spacing.scss +15 -12
  24. package/src/atomics/typography.scss +40 -37
  25. package/src/atomics/visually-hidden.scss +4 -1
  26. package/src/atomics/width.scss +4 -2
  27. package/src/components/accordion.scss +20 -16
  28. package/src/components/badge.scss +22 -19
  29. package/src/components/banner.scss +19 -16
  30. package/src/components/breadcrumbs.scss +5 -2
  31. package/src/components/button-reset.scss +4 -1
  32. package/src/components/button.scss +54 -52
  33. package/src/components/buttons.scss +14 -11
  34. package/src/components/card.scss +31 -28
  35. package/src/components/code-block.scss +19 -15
  36. package/src/components/form/checkbox.scss +19 -16
  37. package/src/components/form/form.scss +16 -12
  38. package/src/components/form/help.scss +7 -4
  39. package/src/components/form/index.scss +8 -8
  40. package/src/components/form/input.scss +27 -24
  41. package/src/components/form/label.scss +6 -3
  42. package/src/components/form/radio.scss +19 -16
  43. package/src/components/form/select.scss +29 -24
  44. package/src/components/form/textarea.scss +28 -25
  45. package/src/components/gradient-card.scss +9 -5
  46. package/src/components/gradient.scss +11 -8
  47. package/src/components/hero.scss +32 -29
  48. package/src/components/icon.scss +3 -0
  49. package/src/components/image.scss +5 -2
  50. package/src/components/index.scss +34 -35
  51. package/src/components/layout.scss +108 -94
  52. package/src/components/link-button.scss +9 -6
  53. package/src/components/markdown.scss +16 -13
  54. package/src/components/media.scss +4 -1
  55. package/src/components/message.scss +15 -12
  56. package/src/components/notification.scss +22 -19
  57. package/src/components/pagination.scss +29 -26
  58. package/src/components/persona.scss +15 -12
  59. package/src/components/popover.scss +16 -13
  60. package/src/components/progress-bar.scss +13 -10
  61. package/src/components/scroll.scss +3 -0
  62. package/src/components/segmented-control.scss +32 -29
  63. package/src/components/site-header.scss +37 -33
  64. package/src/components/steps.scss +7 -4
  65. package/src/components/stretched-link.scss +4 -1
  66. package/src/components/table.scss +21 -18
  67. package/src/components/tag.scss +38 -35
  68. package/src/components/timeline.scss +16 -14
  69. package/src/components/toggle.scss +18 -15
  70. package/src/core/animations.scss +5 -2
  71. package/src/core/bare-elements.scss +7 -4
  72. package/src/core/focus.scss +7 -4
  73. package/src/core/font-stack.scss +9 -6
  74. package/src/core/index.scss +7 -7
  75. package/src/core/minireset.scss +3 -0
  76. package/src/core/normalize.scss +3 -0
  77. package/src/core/themes.scss +20 -18
  78. package/src/index.scss +5 -5
  79. package/src/mixins/center.scss +2 -0
  80. package/src/mixins/chevron.scss +6 -3
  81. package/src/mixins/code-block.scss +10 -8
  82. package/src/mixins/colors.scss +2 -0
  83. package/src/mixins/control.scss +6 -4
  84. package/src/mixins/dismiss.scss +5 -2
  85. package/src/mixins/focus.scss +6 -4
  86. package/src/mixins/font-size.scss +4 -3
  87. package/src/mixins/force-colors.scss +2 -0
  88. package/src/mixins/gradient.scss +2 -0
  89. package/src/mixins/index.scss +18 -18
  90. package/src/mixins/layout-gap.scss +6 -3
  91. package/src/mixins/line-clamp.scss +2 -0
  92. package/src/mixins/loader.scss +4 -2
  93. package/src/mixins/media-queries.scss +6 -4
  94. package/src/mixins/overlay.scss +2 -0
  95. package/src/mixins/transparency.scss +2 -0
  96. package/src/mixins/unselectable.scss +2 -0
  97. package/src/mixins/visually-hidden.scss +2 -0
  98. package/src/tokens/breakpoints.scss +1 -1
  99. package/src/tokens/colors.scss +3 -1
  100. package/src/tokens/direction.scss +0 -14
  101. package/src/tokens/index.scss +18 -18
  102. package/src/tokens/layout.scss +3 -1
  103. package/src/tokens/shadow.scss +10 -7
  104. package/src/tokens/themes.scss +474 -471
  105. package/src/tokens/typography.scss +1 -4
  106. package/tokens/index.js +33 -4
  107. package/src/components/reading-width.scss +0 -3
@@ -1,12 +1,15 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  // Framework colors
2
5
 
3
- @each $name, $color-set in $colors {
4
- $base: nth($color-set, $color-index-base);
5
- $background: nth($color-set, $color-index-background);
6
- $dark: nth($color-set, $color-index-dark);
7
- $hover: nth($color-set, $color-index-hover);
8
- $active: nth($color-set, $color-index-active);
9
- $invert: nth($color-set, $color-index-invert);
6
+ @each $name, $color-set in tokens.$colors {
7
+ $base: nth($color-set, tokens.$color-index-base);
8
+ $background: nth($color-set, tokens.$color-index-background);
9
+ $dark: nth($color-set, tokens.$color-index-dark);
10
+ $hover: nth($color-set, tokens.$color-index-hover);
11
+ $active: nth($color-set, tokens.$color-index-active);
12
+ $invert: nth($color-set, tokens.$color-index-invert);
10
13
 
11
14
  .color-#{$name} {
12
15
  @if $name == 'warning' {
@@ -25,7 +28,7 @@
25
28
  }
26
29
  }
27
30
 
28
- @include focus-visible {
31
+ @include mixins.focus-visible {
29
32
  color: $hover !important;
30
33
  }
31
34
 
@@ -59,10 +62,10 @@
59
62
  }
60
63
  }
61
64
 
62
- @include tablet {
63
- @each $name, $color-set in $colors {
64
- $base: nth($color-set, $color-index-base);
65
- $invert: nth($color-set, $color-index-invert);
65
+ @include mixins.tablet {
66
+ @each $name, $color-set in tokens.$colors {
67
+ $base: nth($color-set, tokens.$color-index-base);
68
+ $invert: nth($color-set, tokens.$color-index-invert);
66
69
 
67
70
  .background-color-#{$name}-tablet {
68
71
  outline-color: $invert;
@@ -74,19 +77,19 @@
74
77
  // Text color
75
78
 
76
79
  .color-text {
77
- color: $text !important;
80
+ color: tokens.$text !important;
78
81
  }
79
82
 
80
83
  .color-text-invert {
81
- color: $text-invert !important;
84
+ color: tokens.$text-invert !important;
82
85
  }
83
86
 
84
87
  .color-text-subtle {
85
- color: $text-subtle !important;
88
+ color: tokens.$text-subtle !important;
86
89
  }
87
90
 
88
91
  .color-text-overlay-invert {
89
- color: $overlay-invert;
92
+ color: tokens.$overlay-invert;
90
93
  }
91
94
 
92
95
  .color-current-color {
@@ -94,15 +97,15 @@
94
97
  }
95
98
 
96
99
  .color-hyperlink {
97
- color: $hyperlink !important;
100
+ color: tokens.$hyperlink !important;
98
101
  }
99
102
 
100
103
  .fill-current-color {
101
- @include fill-current-color();
104
+ @include mixins.fill-current-color();
102
105
  }
103
106
 
104
107
  .outline-color-text {
105
- outline-color: $text !important;
108
+ outline-color: tokens.$text !important;
106
109
  }
107
110
 
108
111
  .stroke-current-color {
@@ -112,70 +115,70 @@
112
115
  // Background color
113
116
 
114
117
  .background-color-body {
115
- outline-color: $text !important;
116
- background-color: $body-background !important;
118
+ outline-color: tokens.$text !important;
119
+ background-color: tokens.$body-background !important;
117
120
  }
118
121
 
119
122
  .background-color-body-medium {
120
- outline-color: $text !important;
121
- background-color: $body-background-medium !important;
123
+ outline-color: tokens.$text !important;
124
+ background-color: tokens.$body-background-medium !important;
122
125
  }
123
126
 
124
127
  .background-color-alternate {
125
- outline-color: $text-invert !important;
126
- background-color: $alternate-background !important;
128
+ outline-color: tokens.$text-invert !important;
129
+ background-color: tokens.$alternate-background !important;
127
130
  }
128
131
 
129
132
  .background-color-alternate-medium {
130
- outline-color: $text-invert !important;
131
- background-color: $alternate-background-medium !important;
133
+ outline-color: tokens.$text-invert !important;
134
+ background-color: tokens.$alternate-background-medium !important;
132
135
  }
133
136
 
134
137
  .background-color-overlay {
135
- outline-color: $overlay-invert;
136
- background-color: $overlay !important;
138
+ outline-color: tokens.$overlay-invert;
139
+ background-color: tokens.$overlay !important;
137
140
  }
138
141
 
139
142
  .background-color-alternating-grey {
140
- border-block-start: 1px solid $border-white-high-contrast;
141
- outline-color: $text !important;
143
+ border-block-start: 1px solid tokens.$border-white-high-contrast;
144
+ outline-color: tokens.$text !important;
142
145
 
143
146
  &:nth-of-type(even) {
144
- outline-color: $text;
145
- background-color: $body-background;
147
+ outline-color: tokens.$text;
148
+ background-color: tokens.$body-background;
146
149
  }
147
150
 
148
151
  &:nth-of-type(odd) {
149
- outline-color: $text;
150
- background-color: $body-background-medium;
152
+ outline-color: tokens.$text;
153
+ background-color: tokens.$body-background-medium;
151
154
  }
152
155
  }
153
156
 
154
157
  .background-color-alternating-grey-reversed {
155
- border-block-start: 1px solid $border-white-high-contrast;
156
- outline-color: $text !important;
158
+ border-block-start: 1px solid tokens.$border-white-high-contrast;
159
+ outline-color: tokens.$text !important;
157
160
 
158
161
  &:nth-of-type(even) {
159
- outline-color: $text;
160
- background-color: $body-background-medium;
162
+ outline-color: tokens.$text;
163
+ background-color: tokens.$body-background-medium;
161
164
  }
162
165
 
163
166
  &:nth-of-type(odd) {
164
- outline-color: $text;
165
- background-color: $body-background;
167
+ outline-color: tokens.$text;
168
+ background-color: tokens.$body-background;
166
169
  }
167
170
  }
168
171
 
169
172
  .background-color-body-accent {
170
- outline-color: $text !important;
171
- background-color: $body-background-accent !important;
173
+ outline-color: tokens.$text !important;
174
+ background-color: tokens.$body-background-accent !important;
172
175
  }
173
176
 
174
177
  .background-color-body-accent-onhover {
175
178
  &:hover,
176
179
  &:focus-within {
177
- outline-color: $text !important;
178
- background-color: $body-background-accent !important;
180
+ outline-color: tokens.$text !important;
181
+ background-color: tokens.$body-background-accent !important;
179
182
  }
180
183
  }
181
184
 
@@ -186,19 +189,19 @@
186
189
  // Static colors - do not change with theme
187
190
 
188
191
  .color-white-static {
189
- color: $white-static !important;
192
+ color: tokens.$white-static !important;
190
193
  }
191
194
 
192
195
  .color-black-static {
193
- color: $black-static !important;
196
+ color: tokens.$black-static !important;
194
197
  }
195
198
 
196
199
  .background-color-white-static {
197
- outline-color: $black-static !important;
198
- background-color: $white-static !important;
200
+ outline-color: tokens.$black-static !important;
201
+ background-color: tokens.$white-static !important;
199
202
  }
200
203
 
201
204
  .background-color-black-static {
202
- outline-color: $white-static !important;
203
- background-color: $black-static !important;
205
+ outline-color: tokens.$white-static !important;
206
+ background-color: tokens.$black-static !important;
204
207
  }
@@ -1,27 +1,30 @@
1
- @each $item in $displays {
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
4
+ @each $item in tokens.$displays {
2
5
  .display-#{$item} {
3
6
  display: #{$item} !important;
4
7
  }
5
8
  }
6
9
 
7
- @include tablet {
8
- @each $item in $displays {
10
+ @include mixins.tablet {
11
+ @each $item in tokens.$displays {
9
12
  .display-#{$item}-tablet {
10
13
  display: #{$item} !important;
11
14
  }
12
15
  }
13
16
  }
14
17
 
15
- @include desktop {
16
- @each $item in $displays {
18
+ @include mixins.desktop {
19
+ @each $item in tokens.$displays {
17
20
  .display-#{$item}-desktop {
18
21
  display: #{$item} !important;
19
22
  }
20
23
  }
21
24
  }
22
25
 
23
- @include widescreen {
24
- @each $item in $displays {
26
+ @include mixins.widescreen {
27
+ @each $item in tokens.$displays {
25
28
  .display-#{$item}-widescreen {
26
29
  display: #{$item} !important;
27
30
  }
@@ -1,4 +1,6 @@
1
1
  @use 'sass:map';
2
+ @use '../tokens/index.scss' as tokens;
3
+ @use '../mixins/index.scss' as mixins;
2
4
 
3
5
  $flex-atomics: (
4
6
  'justify-content': (
@@ -63,7 +65,7 @@ $flex-atomics: (
63
65
  }
64
66
  }
65
67
 
66
- @include tablet {
68
+ @include mixins.tablet {
67
69
  @each $key in map.keys($flex-atomics) {
68
70
  @each $value in map.get($flex-atomics, $key) {
69
71
  .#{$key}-#{$value}-tablet {
@@ -1,15 +1,18 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  $separator: '-' !default;
2
5
 
3
6
  $gap-sizes: (
4
- ('xxs', $layout-1),
5
- ('xs', $layout-2),
6
- ('sm', $layout-3),
7
- ('md', $layout-4),
8
- ('lg', $layout-5),
9
- // ('xl', $layout-6),
10
- // ('xxl', $layout-7),
11
- // ('xxxl', $layout-8),
12
- ('none', $layout-0)
7
+ ('xxs', tokens.$layout-1),
8
+ ('xs', tokens.$layout-2),
9
+ ('sm', tokens.$layout-3),
10
+ ('md', tokens.$layout-4),
11
+ ('lg', tokens.$layout-5),
12
+ // ('xl', tokens.$layout-6),
13
+ // ('xxl', tokens.$layout-7),
14
+ // ('xxxl', tokens.$layout-8),
15
+ ('none', tokens.$layout-0)
13
16
  );
14
17
 
15
18
  @function sizeValue($key, $value) {
@@ -26,7 +29,7 @@ $gap-sizes: (
26
29
  }
27
30
  }
28
31
 
29
- @include tablet {
32
+ @include mixins.tablet {
30
33
  @each $size in $gap-sizes {
31
34
  $sizeKey: nth($size, 1);
32
35
  $sizeValue: nth($size, 2);
@@ -37,7 +40,7 @@ $gap-sizes: (
37
40
  }
38
41
  }
39
42
 
40
- @include desktop {
43
+ @include mixins.desktop {
41
44
  @each $size in $gap-sizes {
42
45
  $sizeKey: nth($size, 1);
43
46
  $sizeValue: nth($size, 2);
@@ -48,7 +51,7 @@ $gap-sizes: (
48
51
  }
49
52
  }
50
53
 
51
- @include widescreen {
54
+ @include mixins.widescreen {
52
55
  @each $size in $gap-sizes {
53
56
  $sizeKey: nth($size, 1);
54
57
  $sizeValue: nth($size, 2);
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .height-full {
2
5
  height: 100% !important;
3
6
  }
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .object-fit-contain {
2
5
  object-fit: contain !important;
3
6
  }
@@ -1,19 +1,19 @@
1
- @import './aspect-ratio.scss';
2
- @import './typography.scss';
3
- @import './border.scss';
4
- @import './background.scss';
5
- @import './colors.scss';
6
- @import './display.scss';
7
- @import './gap.scss';
8
- @import './height.scss';
9
- @import './overflow.scss';
10
- @import './shadow.scss';
11
- @import './spacing-auto.scss';
12
- @import './spacing.scss';
13
- @import './flex.scss';
14
- @import './position.scss';
15
- @import './line-clamp.scss';
16
- @import './image.scss';
17
- @import './list.scss';
18
- @import './width.scss';
19
- @import './visually-hidden.scss';
1
+ @forward './aspect-ratio.scss';
2
+ @forward './typography.scss';
3
+ @forward './border.scss';
4
+ @forward './background.scss';
5
+ @forward './colors.scss';
6
+ @forward './display.scss';
7
+ @forward './gap.scss';
8
+ @forward './height.scss';
9
+ @forward './overflow.scss';
10
+ @forward './shadow.scss';
11
+ @forward './spacing-auto.scss' hide $separator;
12
+ @forward './spacing.scss' hide $separator, sizeValue;
13
+ @forward './flex.scss';
14
+ @forward './position.scss';
15
+ @forward './line-clamp.scss';
16
+ @forward './image.scss';
17
+ @forward './list.scss';
18
+ @forward './width.scss';
19
+ @forward './visually-hidden.scss';
@@ -1,15 +1,18 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .line-clamp-1 {
2
- @include line-clamp(1, true);
5
+ @include mixins.line-clamp(1, true);
3
6
  }
4
7
 
5
8
  .line-clamp-2 {
6
- @include line-clamp(2, true);
9
+ @include mixins.line-clamp(2, true);
7
10
  }
8
11
 
9
12
  .line-clamp-3 {
10
- @include line-clamp(3, true);
13
+ @include mixins.line-clamp(3, true);
11
14
  }
12
15
 
13
16
  .line-clamp-4 {
14
- @include line-clamp(4, true);
17
+ @include mixins.line-clamp(4, true);
15
18
  }
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .list-style-none {
2
5
  list-style: none !important;
3
6
 
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .overflow-hidden {
2
5
  overflow: hidden !important;
3
6
  }
@@ -6,7 +9,7 @@
6
9
  overflow-x: hidden !important;
7
10
  }
8
11
 
9
- @include tablet {
12
+ @include mixins.tablet {
10
13
  .overflow-hidden-tablet {
11
14
  overflow: hidden !important;
12
15
  }
@@ -1,18 +1,21 @@
1
- @each $item in $positions {
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
4
+ @each $item in tokens.$positions {
2
5
  .position-#{$item} {
3
6
  position: #{$item} !important;
4
7
  }
5
8
  }
6
9
 
7
- @include tablet {
8
- @each $item in $positions {
10
+ @include mixins.tablet {
11
+ @each $item in tokens.$positions {
9
12
  .position-#{$item}-tablet {
10
13
  position: #{$item} !important;
11
14
  }
12
15
  }
13
16
  }
14
17
 
15
- @each $side, $direction in $logical-directions {
18
+ @each $side, $direction in tokens.$logical-directions {
16
19
  .#{$side}-0 {
17
20
  inset-#{$direction}: 0 !important;
18
21
  }
@@ -1,19 +1,22 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  .box-shadow-none {
2
5
  box-shadow: none !important;
3
6
  }
4
7
 
5
8
  .box-shadow-light {
6
- box-shadow: $box-shadow-light !important;
9
+ box-shadow: tokens.$box-shadow-light !important;
7
10
  }
8
11
 
9
12
  .box-shadow-medium {
10
- box-shadow: $box-shadow-medium !important;
13
+ box-shadow: tokens.$box-shadow-medium !important;
11
14
  }
12
15
 
13
16
  .box-shadow-heavy {
14
- box-shadow: $box-shadow-heavy !important;
17
+ box-shadow: tokens.$box-shadow-heavy !important;
15
18
  }
16
19
 
17
20
  .box-shadow-extra-heavy {
18
- box-shadow: $box-shadow-extra-heavy !important;
21
+ box-shadow: tokens.$box-shadow-extra-heavy !important;
19
22
  }
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  $auto-spacing-properties: (
2
5
  ('margin-inline', 'margin-inline'),
3
6
  ('margin-left', 'margin-inline-start'),
@@ -22,7 +25,7 @@ $separator: '-';
22
25
  $classicProp: nth($property, 1);
23
26
  $logicalProp: nth($property, 2);
24
27
 
25
- @include tablet {
28
+ @include mixins.tablet {
26
29
  .#{$classicProp}#{$separator}auto#{$separator}tablet {
27
30
  #{$logicalProp}: auto !important;
28
31
  }
@@ -33,7 +36,7 @@ $separator: '-';
33
36
  $classicProp: nth($property, 1);
34
37
  $logicalProp: nth($property, 2);
35
38
 
36
- @include desktop {
39
+ @include mixins.desktop {
37
40
  .#{$classicProp}#{$separator}auto#{$separator}desktop {
38
41
  #{$logicalProp}: auto !important;
39
42
  }
@@ -44,7 +47,7 @@ $separator: '-';
44
47
  $classicProp: nth($property, 1);
45
48
  $logicalProp: nth($property, 2);
46
49
 
47
- @include widescreen {
50
+ @include mixins.widescreen {
48
51
  .#{$classicProp}#{$separator}auto#{$separator}widescreen {
49
52
  #{$logicalProp}: auto !important;
50
53
  }
@@ -1,3 +1,6 @@
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use '../mixins/index.scss' as mixins;
3
+
1
4
  $separator: '-' !default;
2
5
  $logical-spacing-properties: (
3
6
  ('margin', 'margin'),
@@ -17,15 +20,15 @@ $logical-spacing-properties: (
17
20
  ) !default;
18
21
 
19
22
  $layout-sizes: (
20
- ('xxs', $layout-1),
21
- ('xs', $layout-2),
22
- ('sm', $layout-3),
23
- ('md', $layout-4),
24
- ('lg', $layout-5),
25
- ('xl', $layout-6),
26
- ('xxl', $layout-7),
27
- ('xxxl', $layout-8),
28
- ('none', $layout-0)
23
+ ('xxs', tokens.$layout-1),
24
+ ('xs', tokens.$layout-2),
25
+ ('sm', tokens.$layout-3),
26
+ ('md', tokens.$layout-4),
27
+ ('lg', tokens.$layout-5),
28
+ ('xl', tokens.$layout-6),
29
+ ('xxl', tokens.$layout-7),
30
+ ('xxxl', tokens.$layout-8),
31
+ ('none', tokens.$layout-0)
29
32
  );
30
33
 
31
34
  @function sizeValue($key, $value) {
@@ -49,7 +52,7 @@ $layout-sizes: (
49
52
  }
50
53
  }
51
54
 
52
- @include tablet {
55
+ @include mixins.tablet {
53
56
  @each $property in $logical-spacing-properties {
54
57
  $classicProp: nth($property, 1);
55
58
  $logicalProp: nth($property, 2);
@@ -65,7 +68,7 @@ $layout-sizes: (
65
68
  }
66
69
  }
67
70
 
68
- @include desktop {
71
+ @include mixins.desktop {
69
72
  @each $property in $logical-spacing-properties {
70
73
  $classicProp: nth($property, 1);
71
74
  $logicalProp: nth($property, 2);
@@ -81,7 +84,7 @@ $layout-sizes: (
81
84
  }
82
85
  }
83
86
 
84
- @include widescreen {
87
+ @include mixins.widescreen {
85
88
  @each $property in $logical-spacing-properties {
86
89
  $classicProp: nth($property, 1);
87
90
  $logicalProp: nth($property, 2);