@microsoft/atlas-css 5.0.0-test.1 → 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 (100) 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 +14 -24
  6. package/package.json +2 -2
  7. package/src/atomics/aspect-ratio.scss +2 -2
  8. package/src/atomics/background.scss +2 -2
  9. package/src/atomics/border.scss +26 -26
  10. package/src/atomics/colors.scss +53 -53
  11. package/src/atomics/display.scss +9 -9
  12. package/src/atomics/flex.scss +3 -3
  13. package/src/atomics/gap.scss +14 -14
  14. package/src/atomics/height.scss +2 -2
  15. package/src/atomics/image.scss +2 -2
  16. package/src/atomics/line-clamp.scss +6 -6
  17. package/src/atomics/list.scss +2 -2
  18. package/src/atomics/overflow.scss +3 -3
  19. package/src/atomics/position.scss +6 -6
  20. package/src/atomics/shadow.scss +6 -6
  21. package/src/atomics/spacing-auto.scss +5 -5
  22. package/src/atomics/spacing.scss +14 -14
  23. package/src/atomics/typography.scss +39 -39
  24. package/src/atomics/visually-hidden.scss +3 -3
  25. package/src/atomics/width.scss +4 -4
  26. package/src/components/accordion.scss +18 -17
  27. package/src/components/badge.scss +21 -21
  28. package/src/components/banner.scss +18 -18
  29. package/src/components/breadcrumbs.scss +4 -4
  30. package/src/components/button-reset.scss +3 -3
  31. package/src/components/button.scss +54 -54
  32. package/src/components/buttons.scss +9 -9
  33. package/src/components/card.scss +30 -30
  34. package/src/components/code-block.scss +18 -18
  35. package/src/components/form/checkbox.scss +18 -18
  36. package/src/components/form/form.scss +15 -15
  37. package/src/components/form/help.scss +6 -6
  38. package/src/components/form/input.scss +26 -26
  39. package/src/components/form/label.scss +5 -5
  40. package/src/components/form/radio.scss +18 -18
  41. package/src/components/form/select.scss +28 -26
  42. package/src/components/form/textarea.scss +27 -27
  43. package/src/components/gradient-card.scss +8 -7
  44. package/src/components/gradient.scss +10 -10
  45. package/src/components/hero.scss +31 -31
  46. package/src/components/icon.scss +2 -2
  47. package/src/components/image.scss +4 -4
  48. package/src/components/index.scss +0 -1
  49. package/src/components/layout.scss +206 -96
  50. package/src/components/link-button.scss +8 -8
  51. package/src/components/markdown.scss +15 -15
  52. package/src/components/media.scss +3 -3
  53. package/src/components/message.scss +14 -14
  54. package/src/components/notification.scss +21 -21
  55. package/src/components/pagination.scss +28 -28
  56. package/src/components/persona.scss +14 -14
  57. package/src/components/popover.scss +15 -15
  58. package/src/components/progress-bar.scss +13 -13
  59. package/src/components/scroll.scss +2 -2
  60. package/src/components/segmented-control.scss +31 -31
  61. package/src/components/site-header.scss +37 -37
  62. package/src/components/steps.scss +6 -6
  63. package/src/components/stretched-link.scss +3 -3
  64. package/src/components/table.scss +18 -18
  65. package/src/components/tag.scss +37 -37
  66. package/src/components/timeline.scss +16 -16
  67. package/src/components/toggle.scss +17 -17
  68. package/src/core/animations.scss +4 -4
  69. package/src/core/bare-elements.scss +6 -6
  70. package/src/core/focus.scss +6 -6
  71. package/src/core/font-stack.scss +8 -8
  72. package/src/core/minireset.scss +2 -2
  73. package/src/core/normalize.scss +2 -2
  74. package/src/core/themes.scss +20 -20
  75. package/src/mixins/center.scss +1 -1
  76. package/src/mixins/chevron.scss +5 -5
  77. package/src/mixins/code-block.scss +9 -9
  78. package/src/mixins/colors.scss +1 -1
  79. package/src/mixins/control.scss +5 -5
  80. package/src/mixins/dismiss.scss +4 -4
  81. package/src/mixins/focus.scss +5 -5
  82. package/src/mixins/font-size.scss +4 -4
  83. package/src/mixins/force-colors.scss +1 -1
  84. package/src/mixins/gradient.scss +1 -1
  85. package/src/mixins/layout-gap.scss +5 -5
  86. package/src/mixins/line-clamp.scss +1 -1
  87. package/src/mixins/loader.scss +3 -3
  88. package/src/mixins/media-queries.scss +5 -5
  89. package/src/mixins/overlay.scss +1 -1
  90. package/src/mixins/transparency.scss +1 -1
  91. package/src/mixins/unselectable.scss +1 -1
  92. package/src/mixins/visually-hidden.scss +1 -1
  93. package/src/tokens/breakpoints.scss +1 -1
  94. package/src/tokens/colors.scss +2 -2
  95. package/src/tokens/layout.scss +3 -5
  96. package/src/tokens/shadow.scss +9 -8
  97. package/src/tokens/themes.scss +473 -473
  98. package/src/tokens/typography.scss +1 -5
  99. package/tokens/index.js +4 -1
  100. package/src/components/reading-width.scss +0 -10
@@ -1,7 +1,7 @@
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
- @if ($focus-visible-use-polyfill) {
4
+ @if (tokens.$focus-visible-use-polyfill) {
5
5
  .js-focus-visible .has-default-focus *:focus:not(.focus-visible),
6
6
  .js-focus-visible .default-focus *:focus:not(.focus-visible) {
7
7
  outline: none;
@@ -9,7 +9,7 @@
9
9
 
10
10
  .focus-visible.has-inner-focus,
11
11
  .focus-visible.inner-focus {
12
- outline-offset: -$focus-width;
12
+ outline-offset: -(tokens.$focus-width);
13
13
  }
14
14
 
15
15
  .has-default-focus,
@@ -32,7 +32,7 @@
32
32
  &.has-inner-focus,
33
33
  &.inner-focus {
34
34
  outline-color: currentColor;
35
- outline-offset: -$focus-width;
35
+ outline-offset: -(tokens.$focus-width);
36
36
  }
37
37
  }
38
38
  }
@@ -43,6 +43,6 @@
43
43
  &.has-inner-focus,
44
44
  &.inner-focus {
45
45
  outline-color: currentColor;
46
- outline-offset: -$focus-width;
46
+ outline-offset: -(tokens.$focus-width);
47
47
  }
48
48
  }
@@ -1,31 +1,31 @@
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
  html {
5
- font-size: $document-font-size;
5
+ font-size: tokens.$document-font-size;
6
6
  }
7
7
 
8
8
  html,
9
9
  body {
10
- font-family: $normal-font-stack;
10
+ font-family: tokens.$normal-font-stack;
11
11
  -webkit-font-smoothing: antialiased;
12
- font-weight: $weight-normal;
12
+ font-weight: tokens.$weight-normal;
13
13
  text-rendering: optimizeLegibility;
14
14
  }
15
15
 
16
16
  kbd,
17
17
  pre,
18
18
  samp {
19
- font-family: $monospace-font-stack !important;
19
+ font-family: tokens.$monospace-font-stack !important;
20
20
  -moz-osx-font-smoothing: auto;
21
21
  -webkit-font-smoothing: auto;
22
22
  }
23
23
 
24
24
  code {
25
25
  direction: ltr;
26
- font-family: $monospace-font-stack;
26
+ font-family: tokens.$monospace-font-stack;
27
27
  }
28
28
 
29
29
  a > code {
30
- font-family: $normal-font-stack;
30
+ font-family: tokens.$normal-font-stack;
31
31
  }
@@ -1,5 +1,5 @@
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
  /* stylelint-disable */
5
5
  /*! minireset.css v0.0.7 | MIT License | github.com/jgthms/minireset.css */
@@ -1,5 +1,5 @@
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
  /* stylelint-disable */
5
5
  /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
@@ -1,27 +1,27 @@
1
1
  @use 'sass:map';
2
- @use '../tokens/index.scss' as *;
3
- @use '../mixins/index.scss' as *;
2
+ @use '../tokens/index.scss' as tokens;
3
+ @use '../mixins/index.scss' as mixins;
4
4
 
5
5
  $root-theme: 'light' !default;
6
6
  $print-theme: 'light' !default;
7
7
 
8
8
  // Ensure that the root theme exists
9
- @if map.has-key($themes, $root-theme) != true {
10
- @error "Cannot build themes because $root-theme (#{$root-theme}) is set to a theme that does not exist in $themes map.";
9
+ @if map.has-key(tokens.$themes, $root-theme) != true {
10
+ @error "Cannot build themes because $root-theme (#{$root-theme}) is set to a theme that does not exist in tokens.$themes map.";
11
11
  }
12
12
 
13
13
  // Ensure that the print theme exists
14
- @if map.has-key($themes, $print-theme) != true {
15
- @error "Cannot build themes because $print-theme (#{$print-theme}) is set to a theme that does not exist in $themes map.";
14
+ @if map.has-key(tokens.$themes, $print-theme) != true {
15
+ @error "Cannot build themes because $print-theme (#{$print-theme}) is set to a theme that does not exist in tokens.$themes map.";
16
16
  }
17
17
 
18
- $theme-names: map.keys($themes);
18
+ $theme-names: map.keys(tokens.$themes);
19
19
 
20
20
  // Validation: ensure that all values in the root theme are in the other themes too
21
- @each $root-color-name, $val in map.get($themes, $root-theme) {
21
+ @each $root-color-name, $val in map.get(tokens.$themes, $root-theme) {
22
22
  @each $theme-name in $theme-names {
23
23
  @if $theme-name != $root-theme {
24
- @if map.has-key(map.get($themes, $theme-name), $root-color-name) != true {
24
+ @if map.has-key(map.get(tokens.$themes, $theme-name), $root-color-name) != true {
25
25
  @error '#{$root-color-name} from #{$root-theme} does not exist in theme: #{$theme-name}.';
26
26
  }
27
27
  }
@@ -30,10 +30,10 @@ $theme-names: map.keys($themes);
30
30
 
31
31
  // Validation: ensure all properties in non-root themes exist in root
32
32
  @each $theme-name in $theme-names {
33
- $theme: map.get($themes, $theme-name);
33
+ $theme: map.get(tokens.$themes, $theme-name);
34
34
 
35
35
  @if $theme-name != $root-theme {
36
- $root: map.get($themes, $root-theme);
36
+ $root: map.get(tokens.$themes, $root-theme);
37
37
 
38
38
  @each $color-name, $val in $theme {
39
39
  @if map.has-key($root, $color-name) != true {
@@ -43,11 +43,11 @@ $theme-names: map.keys($themes);
43
43
  }
44
44
  }
45
45
 
46
- @each $key, $value in $themes {
46
+ @each $key, $value in tokens.$themes {
47
47
  // Set the default theme
48
48
  @if $key == $root-theme {
49
49
  :root {
50
- @each $colorName, $colorVal in map.get($themes, $key) {
50
+ @each $colorName, $colorVal in map.get(tokens.$themes, $key) {
51
51
  // stylelint-disable-next-line custom-property-pattern
52
52
  --theme-#{$colorName}: #{$colorVal};
53
53
  }
@@ -56,7 +56,7 @@ $theme-names: map.keys($themes);
56
56
 
57
57
  @if $key == $print-theme {
58
58
  .theme-#{$key} {
59
- @each $colorName, $colorVal in map.get($themes, $key) {
59
+ @each $colorName, $colorVal in map.get(tokens.$themes, $key) {
60
60
  // stylelint-disable-next-line custom-property-pattern
61
61
  --theme-#{$colorName}: #{$colorVal};
62
62
  }
@@ -65,7 +65,7 @@ $theme-names: map.keys($themes);
65
65
  // Set the rest of the themes, exclude them from print styling.
66
66
  @media not print {
67
67
  .theme-#{$key} {
68
- @each $colorName, $colorVal in map-get($themes, $key) {
68
+ @each $colorName, $colorVal in map-get(tokens.$themes, $key) {
69
69
  // stylelint-disable-next-line custom-property-pattern
70
70
  --theme-#{$colorName}: #{$colorVal};
71
71
  }
@@ -77,18 +77,18 @@ $theme-names: map.keys($themes);
77
77
  // End validation
78
78
 
79
79
  %theme-base-styles {
80
- outline-color: $text;
81
- background-color: $body-background;
82
- color: $text;
80
+ outline-color: tokens.$text;
81
+ background-color: tokens.$body-background;
82
+ color: tokens.$text;
83
83
  }
84
84
 
85
- @each $key, $value in $themes {
85
+ @each $key, $value in tokens.$themes {
86
86
  .theme-#{$key} {
87
87
  @extend %theme-base-styles;
88
88
  }
89
89
  }
90
90
 
91
- @each $key, $value in $color-schemes {
91
+ @each $key, $value in tokens.$color-schemes {
92
92
  .theme-#{$key} {
93
93
  color-scheme: #{$value};
94
94
  }
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  @mixin center($width, $height: 0) {
4
4
  position: absolute;
@@ -1,7 +1,7 @@
1
- @use '../tokens/index.scss' as *;
2
- @use './control.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use './control.scss' as control;
3
3
 
4
- $chevron-color: $text !default;
4
+ $chevron-color: tokens.$text !default;
5
5
  $chevron-arrow-size: 0.525em !default;
6
6
  $chevron-arrow-border-width: 1px !default;
7
7
  $chevron-arrow-actual-width: 0.75em !default;
@@ -22,8 +22,8 @@ $chevron-up-rotate-scale-xy-rtl: $chevron-down-rotate-rtl scaleY(-1) scaleX(-1);
22
22
  border-inline-end: 0;
23
23
  pointer-events: none;
24
24
  content: ' ';
25
- z-index: $zindex-active;
26
- inset-inline-end: $control-padding-horizontal;
25
+ z-index: tokens.$zindex-active;
26
+ inset-inline-end: control.$control-padding-horizontal;
27
27
  }
28
28
 
29
29
  @mixin chevron-right {
@@ -1,14 +1,14 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
- $code-block-pre-font-size: $font-size-8 !default;
3
+ $code-block-pre-font-size: tokens.$font-size-8 !default;
4
4
  $code-block-pre-spacing: 1em !default;
5
5
  $code-block-pre-line-height: 1.3571 !default;
6
- $code-block-pre-border-color: $code-block-border !default;
7
- $code-block-pre-border-width: $border-width !default;
8
- $code-block-pre-border-radius: $border-radius !default;
9
- $code-block-pre-background-color: $code-block !default;
6
+ $code-block-pre-border-color: tokens.$code-block-border !default;
7
+ $code-block-pre-border-width: tokens.$border-width !default;
8
+ $code-block-pre-border-radius: tokens.$border-radius !default;
9
+ $code-block-pre-background-color: tokens.$code-block !default;
10
10
 
11
- $code-block-pre-padding: $spacer-4 !default;
11
+ $code-block-pre-padding: tokens.$spacer-4 !default;
12
12
 
13
13
  @mixin code-block($code-block-component: false) {
14
14
  @if $code-block-component == true {
@@ -22,7 +22,7 @@ $code-block-pre-padding: $spacer-4 !default;
22
22
  margin: 0;
23
23
  padding: $code-block-pre-padding;
24
24
  outline-color: currentColor;
25
- outline-offset: -$focus-width;
25
+ outline-offset: -(tokens.$focus-width);
26
26
  font-size: $code-block-pre-font-size;
27
27
  -moz-osx-font-smoothing: auto;
28
28
  -webkit-font-smoothing: auto;
@@ -55,7 +55,7 @@ $code-block-pre-padding: $spacer-4 !default;
55
55
  min-height: 18.9px; // Allow for highlighting of blank lines.
56
56
  margin: 0 $code-block-pre-spacing * -1;
57
57
  padding: 0 $code-block-pre-spacing;
58
- color: $text;
58
+ color: tokens.$text;
59
59
  }
60
60
  }
61
61
  }
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  @mixin fill-current-color {
4
4
  fill: currentColor !important;
@@ -1,10 +1,10 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
- $control-radius: $border-radius !default;
3
+ $control-radius: tokens.$border-radius !default;
4
4
 
5
- $control-font-size: $font-size-7 !default;
6
- $control-sm-font-size: $font-size-8 !default;
7
- $control-lg-font-size: $font-size-6 !default;
5
+ $control-font-size: tokens.$font-size-7 !default;
6
+ $control-sm-font-size: tokens.$font-size-8 !default;
7
+ $control-lg-font-size: tokens.$font-size-6 !default;
8
8
 
9
9
  $control-border-width: 1px !default;
10
10
 
@@ -1,8 +1,8 @@
1
- @use '../tokens/index.scss' as *;
2
- @use './transparency.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use './transparency.scss' as transparency;
3
3
 
4
4
  %dismiss {
5
- @include transparent-effects;
5
+ @include transparency.transparent-effects;
6
6
 
7
7
  display: inline-block;
8
8
  color: currentColor;
@@ -21,5 +21,5 @@
21
21
  height: 1em;
22
22
  padding: 0;
23
23
  border: 0;
24
- border-radius: $border-radius-rounded;
24
+ border-radius: tokens.$border-radius-rounded;
25
25
  }
@@ -1,11 +1,11 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  // stylelint-disable declaration-block-no-redundant-longhand-properties
4
4
  @mixin focus() {
5
5
  outline-color: inherit;
6
- outline-offset: $focus-outline-offset;
7
- outline-style: $focus-style;
8
- outline-width: $focus-width;
6
+ outline-offset: tokens.$focus-outline-offset;
7
+ outline-style: tokens.$focus-style;
8
+ outline-width: tokens.$focus-width;
9
9
  }
10
10
 
11
11
  %focus {
@@ -13,7 +13,7 @@
13
13
  }
14
14
 
15
15
  @mixin focus-visible {
16
- @if ($focus-visible-use-polyfill) {
16
+ @if (tokens.$focus-visible-use-polyfill) {
17
17
  &.focus-visible {
18
18
  @content;
19
19
  }
@@ -1,5 +1,5 @@
1
1
  @use 'sass:math';
2
- @use '../tokens/index.scss' as *;
2
+ @use '../tokens/index.scss' as tokens;
3
3
 
4
4
  /* stylelint-disable */
5
5
 
@@ -17,16 +17,16 @@ $font-size-scaling-factor: 0.75 !default;
17
17
  // font-size to start scaling from
18
18
  $start-rem: max($end-rem * $font-size-scaling-factor, 1rem),
19
19
  // viewport width to stop scaling at
20
- $end-width: $breakpoint-desktop,
20
+ $end-width: tokens.$breakpoint-desktop,
21
21
  // viewport width to start scaling from
22
22
  $start-width: 480px
23
23
  ) {
24
24
  $m: math.div(
25
25
  strip-units($end-rem) - strip-units($start-rem),
26
26
  strip-units($end-width) - strip-units($start-width)
27
- ) * strip-units($document-font-size);
27
+ ) * strip-units(tokens.$document-font-size);
28
28
 
29
- $y: strip-units($start-rem) * strip-units($document-font-size);
29
+ $y: strip-units($start-rem) * strip-units(tokens.$document-font-size);
30
30
  $x: strip-units($start-width);
31
31
  $b: $y - $m * $x;
32
32
  $importantValue: if($important, !important, '');
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  @mixin forced-colors() {
4
4
  @media (forced-colors: active) {
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  @mixin gradient-text($startColor, $endColor) {
4
4
  /* stylelint-disable */
@@ -1,10 +1,10 @@
1
- @use '../tokens/index.scss' as *;
2
- @use './media-queries.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
+ @use './media-queries.scss' as media-queries;
3
3
 
4
4
  %layout-gap {
5
- padding-inline: $layout-gap;
5
+ padding-inline: tokens.$layout-gap;
6
6
 
7
- @include widescreen {
8
- padding-inline: $layout-widescreen-gap;
7
+ @include media-queries.widescreen {
8
+ padding-inline: tokens.$layout-widescreen-gap;
9
9
  }
10
10
  }
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  %line-clamp {
4
4
  /*stylelint-disable*/
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  %loader {
4
4
  display: block;
@@ -6,8 +6,8 @@
6
6
  width: 1em;
7
7
  height: 1em;
8
8
  animation: spinAround 500ms infinite linear;
9
- border: 2px solid $border;
10
- border-radius: $border-radius-rounded;
9
+ border: 2px solid tokens.$border;
10
+ border-radius: tokens.$border-radius-rounded;
11
11
  border-block-start-color: transparent;
12
12
  border-inline-end-color: transparent;
13
13
  content: '';
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  // Orientation
4
4
 
@@ -26,26 +26,26 @@
26
26
  // Mobile-first screen size media queries
27
27
 
28
28
  @mixin tablet {
29
- @media screen and (min-width: $breakpoint-tablet), print {
29
+ @media screen and (min-width: tokens.$breakpoint-tablet), print {
30
30
  @content;
31
31
  }
32
32
  }
33
33
 
34
34
  @mixin desktop {
35
- @media screen and (min-width: $breakpoint-desktop) {
35
+ @media screen and (min-width: tokens.$breakpoint-desktop) {
36
36
  @content;
37
37
  }
38
38
  }
39
39
 
40
40
  @mixin widescreen {
41
- @media screen and (min-width: $breakpoint-widescreen) {
41
+ @media screen and (min-width: tokens.$breakpoint-widescreen) {
42
42
  @content;
43
43
  }
44
44
  }
45
45
 
46
46
  // Please avoid using this mixin if possible. It doesn't follow the mobile-first approach to writing CSS.
47
47
  @mixin discouraged-mobile {
48
- @media screen and (max-width: ($breakpoint-tablet - 1px)) {
48
+ @media screen and (max-width: (tokens.$breakpoint-tablet - 1px)) {
49
49
  @content;
50
50
  }
51
51
  }
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  %overlay {
4
4
  position: absolute;
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  %transparent-effects {
4
4
  outline-color: inherit;
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  %unselectable {
4
4
  /* stylelint-disable */
@@ -1,4 +1,4 @@
1
- @use '../tokens/index.scss' as *;
1
+ @use '../tokens/index.scss' as tokens;
2
2
 
3
3
  @mixin visually-hidden() {
4
4
  position: absolute;
@@ -7,5 +7,5 @@ $container-gap: 64px !default;
7
7
  // Breakpoints
8
8
  $breakpoint-tablet: 768px !default;
9
9
  $breakpoint-desktop: 1088px !default;
10
- $breakpoint-widescreen: 2800px !default;
10
+ $breakpoint-widescreen: 1800px !default;
11
11
  //@end-sass-export-section
@@ -1,4 +1,4 @@
1
- @use './palette.scss' as *;
1
+ @use './palette.scss' as palette;
2
2
 
3
3
  /**
4
4
  * @sass-export-section="colors"
@@ -26,7 +26,7 @@ $alternate-background-medium: var(--theme-alternate-background-medium);
26
26
 
27
27
  $overlay: var(--theme-overlay);
28
28
  $overlay-invert: var(--theme-overlay-invert);
29
- $overlay-static: $palette-black-opacity-50;
29
+ $overlay-static: palette.$palette-black-opacity-50;
30
30
  $border: var(--theme-border);
31
31
  $border-accent: var(--theme-border-accent);
32
32
 
@@ -1,4 +1,4 @@
1
- @use './breakpoints.scss' as *;
1
+ @use './breakpoints.scss' as breakpoints;
2
2
 
3
3
  /**
4
4
  * @sass-export-section="layout"
@@ -9,7 +9,7 @@ $large-column-gap: 1.5rem !default;
9
9
  $reading-max-width: 50rem !default;
10
10
 
11
11
  $layout-gap: 24px !default;
12
- $layout-widescreen-width: $breakpoint-widescreen - $layout-gap * 2 !default;
12
+ $layout-widescreen-width: breakpoints.$breakpoint-widescreen - $layout-gap * 2 !default;
13
13
  $layout-widescreen-gap: max(
14
14
  $layout-gap,
15
15
  calc(50% - #{$layout-widescreen-width} / 2)
@@ -22,7 +22,5 @@ $layout-flyout-width-name: '--layout-flyout-width' !default;
22
22
  $layout-flyout-width-desktop-custom-property-name: '--layout-flyout-width-desktop' !default;
23
23
  $layout-flyout-width-widescreen-custom-property-name: '--layout-flyout-width-widescreen' !default;
24
24
  $layout-menu-collapsed-width-name: '--layout-menu-collapsed-width' !default;
25
- $layout-menu-collapsed-spacer-desktop-width-name: '--layout-menu-collapsed-spacer-desktop-width' !default;
26
- $layout-menu-max-width-name: '--layout-menu-max-width' !default;
27
- $layout-aside-max-width-name: '--layout-aside-max-width' !default;
25
+ $layout-menu-collapsed-width-widescreen-spacer-width-name: '--layout-menu-collapsed-width-widescreen' !default;
28
26
  //@end-sass-export-section
@@ -1,13 +1,14 @@
1
- @use './colors.scss' as *;
1
+ @use './colors.scss' as colors;
2
2
 
3
3
  /**
4
4
  * @sass-export-section="shadow"
5
5
  */
6
- $box-shadow-light: 0 1.6px 3.6px 0 $box-shadow-color-medium, 0 0.3px 0.9px 0 $box-shadow-color-light !default;
7
- $box-shadow-medium: 0 3.2px 7.2px 0 $box-shadow-color-medium,
8
- 0 0.6px 1.8px 0 $box-shadow-color-light !default;
9
- $box-shadow-heavy: 0 6.4px 14.4px 0 $box-shadow-color-medium,
10
- 0 1.2px 3.6px 0 $box-shadow-color-light !default;
11
- $box-shadow-extra-heavy: 0 25.6px 57.6px 0 $box-shadow-color-extra-heavy,
12
- 0 4.8px 14.4px 0 $box-shadow-color-heavy !default;
6
+ $box-shadow-light: 0 1.6px 3.6px 0 colors.$box-shadow-color-medium,
7
+ 0 0.3px 0.9px 0 colors.$box-shadow-color-light !default;
8
+ $box-shadow-medium: 0 3.2px 7.2px 0 colors.$box-shadow-color-medium,
9
+ 0 0.6px 1.8px 0 colors.$box-shadow-color-light !default;
10
+ $box-shadow-heavy: 0 6.4px 14.4px 0 colors.$box-shadow-color-medium,
11
+ 0 1.2px 3.6px 0 colors.$box-shadow-color-light !default;
12
+ $box-shadow-extra-heavy: 0 25.6px 57.6px 0 colors.$box-shadow-color-extra-heavy,
13
+ 0 4.8px 14.4px 0 colors.$box-shadow-color-heavy !default;
13
14
  //@end-sass-export-section