@microsoft/atlas-css 5.0.0-test.1 → 5.0.0-test.3

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