@breadstone/mosaik-themes 0.0.12-beta.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 (143) hide show
  1. package/Index.d.ts +25 -0
  2. package/Index.d.ts.map +1 -0
  3. package/Index.js +16 -0
  4. package/Index.js.map +1 -0
  5. package/LICENSE +21 -0
  6. package/Themes/___bootstrap-tokens.css +80 -0
  7. package/Themes/___cosmopolitan-tokens.css +208 -0
  8. package/Themes/___default-tokens.css +8 -0
  9. package/Themes/___fluent-tokens.css +19 -0
  10. package/Themes/___joy-tokens.css +496 -0
  11. package/Themes/___material-tokens.css +11 -0
  12. package/Themes/___retro-tokens.css +386 -0
  13. package/Themes/bootstrap-tokens.scss +78 -0
  14. package/Themes/bootstrap.scss +167 -0
  15. package/Themes/cosmopolitan-tokens.scss +206 -0
  16. package/Themes/cosmopolitan.scss +6362 -0
  17. package/Themes/default-tokens.scss +6 -0
  18. package/Themes/default.scss +5589 -0
  19. package/Themes/fluent-tokens.scss +17 -0
  20. package/Themes/fluent.scss +1641 -0
  21. package/Themes/joy-tokens.scss +494 -0
  22. package/Themes/joy.scss +7093 -0
  23. package/Themes/material-tokens.scss +9 -0
  24. package/Themes/material.scss +98 -0
  25. package/Themes/retro-tokens.scss +384 -0
  26. package/Themes/retro.scss +6856 -0
  27. package/Theming/BootstrapTheme.d.ts +10 -0
  28. package/Theming/BootstrapTheme.d.ts.map +1 -0
  29. package/Theming/BootstrapTheme.js +135 -0
  30. package/Theming/BootstrapTheme.js.map +1 -0
  31. package/Theming/CosmopolitanTheme.d.ts +11 -0
  32. package/Theming/CosmopolitanTheme.d.ts.map +1 -0
  33. package/Theming/CosmopolitanTheme.js +124 -0
  34. package/Theming/CosmopolitanTheme.js.map +1 -0
  35. package/Theming/FluentTheme.d.ts +2 -0
  36. package/Theming/FluentTheme.d.ts.map +1 -0
  37. package/Theming/FluentTheme.js +9 -0
  38. package/Theming/FluentTheme.js.map +1 -0
  39. package/Theming/JoyTheme.d.ts +11 -0
  40. package/Theming/JoyTheme.d.ts.map +1 -0
  41. package/Theming/JoyTheme.js +434 -0
  42. package/Theming/JoyTheme.js.map +1 -0
  43. package/Theming/MaterialTheme.d.ts +2 -0
  44. package/Theming/MaterialTheme.d.ts.map +1 -0
  45. package/Theming/MaterialTheme.js +9 -0
  46. package/Theming/MaterialTheme.js.map +1 -0
  47. package/Theming/RetroTheme.d.ts +11 -0
  48. package/Theming/RetroTheme.d.ts.map +1 -0
  49. package/Theming/RetroTheme.js +380 -0
  50. package/Theming/RetroTheme.js.map +1 -0
  51. package/Theming/ThemeFactory.d.ts +38 -0
  52. package/Theming/ThemeFactory.d.ts.map +1 -0
  53. package/Theming/ThemeFactory.js +58 -0
  54. package/Theming/ThemeFactory.js.map +1 -0
  55. package/Theming/ThemeGenerator.d.ts +27 -0
  56. package/Theming/ThemeGenerator.d.ts.map +1 -0
  57. package/Theming/ThemeGenerator.js +179 -0
  58. package/Theming/ThemeGenerator.js.map +1 -0
  59. package/Theming/ThemeObserver.d.ts +56 -0
  60. package/Theming/ThemeObserver.d.ts.map +1 -0
  61. package/Theming/ThemeObserver.js +134 -0
  62. package/Theming/ThemeObserver.js.map +1 -0
  63. package/Theming/Tokens/BootstrapTokens.d.ts +82 -0
  64. package/Theming/Tokens/BootstrapTokens.d.ts.map +1 -0
  65. package/Theming/Tokens/BootstrapTokens.js +82 -0
  66. package/Theming/Tokens/BootstrapTokens.js.map +1 -0
  67. package/Theming/Tokens/CosmopolitanTokens.d.ts +210 -0
  68. package/Theming/Tokens/CosmopolitanTokens.d.ts.map +1 -0
  69. package/Theming/Tokens/CosmopolitanTokens.js +210 -0
  70. package/Theming/Tokens/CosmopolitanTokens.js.map +1 -0
  71. package/Theming/Tokens/DefaultTokens.d.ts +10 -0
  72. package/Theming/Tokens/DefaultTokens.d.ts.map +1 -0
  73. package/Theming/Tokens/DefaultTokens.js +10 -0
  74. package/Theming/Tokens/DefaultTokens.js.map +1 -0
  75. package/Theming/Tokens/FluentTokens.d.ts +21 -0
  76. package/Theming/Tokens/FluentTokens.d.ts.map +1 -0
  77. package/Theming/Tokens/FluentTokens.js +21 -0
  78. package/Theming/Tokens/FluentTokens.js.map +1 -0
  79. package/Theming/Tokens/JoyTokens.d.ts +498 -0
  80. package/Theming/Tokens/JoyTokens.d.ts.map +1 -0
  81. package/Theming/Tokens/JoyTokens.js +498 -0
  82. package/Theming/Tokens/JoyTokens.js.map +1 -0
  83. package/Theming/Tokens/MaterialTokens.d.ts +13 -0
  84. package/Theming/Tokens/MaterialTokens.d.ts.map +1 -0
  85. package/Theming/Tokens/MaterialTokens.js +13 -0
  86. package/Theming/Tokens/MaterialTokens.js.map +1 -0
  87. package/Theming/Tokens/RetroTokens.d.ts +388 -0
  88. package/Theming/Tokens/RetroTokens.d.ts.map +1 -0
  89. package/Theming/Tokens/RetroTokens.js +388 -0
  90. package/Theming/Tokens/RetroTokens.js.map +1 -0
  91. package/Theming/Utils/CssAspectRatio.d.ts +14 -0
  92. package/Theming/Utils/CssAspectRatio.d.ts.map +1 -0
  93. package/Theming/Utils/CssAspectRatio.js +31 -0
  94. package/Theming/Utils/CssAspectRatio.js.map +1 -0
  95. package/Theming/Utils/CssColor.d.ts +21 -0
  96. package/Theming/Utils/CssColor.d.ts.map +1 -0
  97. package/Theming/Utils/CssColor.js +16 -0
  98. package/Theming/Utils/CssColor.js.map +1 -0
  99. package/Theming/Utils/CssLength.d.ts +47 -0
  100. package/Theming/Utils/CssLength.d.ts.map +1 -0
  101. package/Theming/Utils/CssLength.js +116 -0
  102. package/Theming/Utils/CssLength.js.map +1 -0
  103. package/Theming/Utils/CssShadow.d.ts +27 -0
  104. package/Theming/Utils/CssShadow.d.ts.map +1 -0
  105. package/Theming/Utils/CssShadow.js +45 -0
  106. package/Theming/Utils/CssShadow.js.map +1 -0
  107. package/Theming/Utils/CssTime.d.ts +18 -0
  108. package/Theming/Utils/CssTime.d.ts.map +1 -0
  109. package/Theming/Utils/CssTime.js +24 -0
  110. package/Theming/Utils/CssTime.js.map +1 -0
  111. package/Theming/Utils/ITheme.d.ts +27 -0
  112. package/Theming/Utils/ITheme.d.ts.map +1 -0
  113. package/Theming/Utils/ITheme.js +34 -0
  114. package/Theming/Utils/ITheme.js.map +1 -0
  115. package/Theming/Utils/IThemeElevation.d.ts +10 -0
  116. package/Theming/Utils/IThemeElevation.d.ts.map +1 -0
  117. package/Theming/Utils/IThemeElevation.js +3 -0
  118. package/Theming/Utils/IThemeElevation.js.map +1 -0
  119. package/Theming/Utils/IThemeLayout.d.ts +12 -0
  120. package/Theming/Utils/IThemeLayout.d.ts.map +1 -0
  121. package/Theming/Utils/IThemeLayout.js +3 -0
  122. package/Theming/Utils/IThemeLayout.js.map +1 -0
  123. package/Theming/Utils/IThemeMetadata.d.ts +15 -0
  124. package/Theming/Utils/IThemeMetadata.d.ts.map +1 -0
  125. package/Theming/Utils/IThemeMetadata.js +3 -0
  126. package/Theming/Utils/IThemeMetadata.js.map +1 -0
  127. package/Theming/Utils/IThemePalette.d.ts +17 -0
  128. package/Theming/Utils/IThemePalette.d.ts.map +1 -0
  129. package/Theming/Utils/IThemePalette.js +15 -0
  130. package/Theming/Utils/IThemePalette.js.map +1 -0
  131. package/Theming/Utils/IThemeScheme.d.ts +10 -0
  132. package/Theming/Utils/IThemeScheme.d.ts.map +1 -0
  133. package/Theming/Utils/IThemeScheme.js +3 -0
  134. package/Theming/Utils/IThemeScheme.js.map +1 -0
  135. package/Theming/Utils/IThemeTypography.d.ts +10 -0
  136. package/Theming/Utils/IThemeTypography.d.ts.map +1 -0
  137. package/Theming/Utils/IThemeTypography.js +3 -0
  138. package/Theming/Utils/IThemeTypography.js.map +1 -0
  139. package/Theming/Utils/IThemeTypographyFontType.d.ts +16 -0
  140. package/Theming/Utils/IThemeTypographyFontType.d.ts.map +1 -0
  141. package/Theming/Utils/IThemeTypographyFontType.js +3 -0
  142. package/Theming/Utils/IThemeTypographyFontType.js.map +1 -0
  143. package/package.json +29 -0
@@ -0,0 +1,1641 @@
1
+ @use 'sass:map';
2
+ @use 'sass:list';
3
+ @use 'sass:meta';
4
+
5
+ @mixin _generate-elevation-vars($map, $prefix, $mode) {
6
+ @each $key, $value in $map {
7
+ @if meta.type-of($value) == 'map' {
8
+ @each $level-key, $level-value in $value {
9
+ @each $part, $val in $level-value {
10
+ #{'--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$level-key}'}: #{$val};
11
+ }
12
+ }
13
+ } @else {
14
+ #{'--#{$prefix}-elevation-#{$mode}-#{$key}'}: #{$value};
15
+ }
16
+ }
17
+ }
18
+
19
+ @mixin _generate-elevation-composite($map, $prefix, $mode) {
20
+ @each $key, $value in $map {
21
+ @if meta.type-of($value) == 'map' {
22
+ $layers: ();
23
+ @each $layer-idx, $layer-token in $value {
24
+ $shadow: ();
25
+ @each $part in (offset-x, offset-y, blur, spread, color) {
26
+ $shadow: list.append($shadow, var(--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$layer-idx}), $separator: space);
27
+ }
28
+ $layers: list.append($layers, list.join($shadow, (), $separator: space), $separator: comma);
29
+ }
30
+ #{'--#{$prefix}-elevation-#{$mode}-#{$key}'}: #{$layers};
31
+ }
32
+ }
33
+ }
34
+
35
+ @mixin _remap-elevation-vars($map, $prefix, $mode) {
36
+ @each $key, $value in $map {
37
+ @if meta.type-of($value) == 'map' {
38
+ @each $level-key, $level-value in $value {
39
+ @each $part, $val in $level-value {
40
+ #{'--#{$prefix}-elevation-#{$key}-#{$part}-#{$level-key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$level-key});
41
+ }
42
+ }
43
+ #{'--#{$prefix}-elevation-#{$key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key});
44
+ } @else {
45
+ #{'--#{$prefix}-elevation-#{$key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key});
46
+ }
47
+ }
48
+ }
49
+
50
+ @function box-shadow($x: 0px, $y: 0px, $blur: 0px, $spread: 0px, $color: rgba(0, 0, 0, 0.5), $inset: false) {
51
+ $shadow: #{$x} #{$y} #{$blur} #{$spread} #{$color};
52
+
53
+ @if $inset {
54
+ $shadow: inset $shadow;
55
+ }
56
+
57
+ @return $shadow;
58
+ }
59
+
60
+ @function box-shadow-with-color($shadows, $new-color) {
61
+ $output: ();
62
+
63
+ @each $shadow in $shadows {
64
+ $parts: ();
65
+ $color: null;
66
+
67
+ // break apart the shadow into components
68
+ @each $part in $shadow {
69
+ @if type-of($part) == 'color' {
70
+ $color: $part;
71
+ } @else {
72
+ $parts: append($parts, $part);
73
+ }
74
+ }
75
+
76
+ // append the new color in place of the original
77
+ $parts: append($parts, $new-color);
78
+ $output: append($output, $parts, comma);
79
+ }
80
+
81
+ @return $output;
82
+ }
83
+
84
+ $name: "fluent";
85
+ $font-family: 'Inter', Roboto, Helvetica, sans-serif;
86
+ $layout-radius: 12px;
87
+ $layout-space: 8px;
88
+ $layout-thickness: 2px;
89
+ $color-light-primary: #0078D4;
90
+ $color-light-secondary: #005A9E;
91
+ $color-light-tertiary: #003E6B;
92
+ $elevation-none: none;
93
+ $duration-duration-ultra-fast: 50ms;
94
+ $duration-duration-faster: 100ms;
95
+ $duration-duration-fast: 150ms;
96
+ $duration-duration-normal: 200ms;
97
+ $duration-duration-gentle: 250ms;
98
+ $duration-duration-slow: 300ms;
99
+ $duration-duration-slower: 400ms;
100
+ $duration-duration-ultra-slow: 500ms;
101
+
102
+
103
+
104
+ $_light-colors-map: (
105
+ colorNeutralForeground1: var(--fluent-grey-14-color),
106
+ colorNeutralForeground1Hover: var(--fluent-grey-14-color),
107
+ colorNeutralForeground1Pressed: var(--fluent-grey-14-color),
108
+ colorNeutralForeground1Selected: var(--fluent-grey-14-color),
109
+ colorNeutralForeground2: var(--fluent-grey-26-color),
110
+ colorNeutralForeground2Hover: var(--fluent-grey-14-color),
111
+ colorNeutralForeground2Pressed: var(--fluent-grey-14-color),
112
+ colorNeutralForeground2Selected: var(--fluent-grey-14-color),
113
+ colorNeutralForeground2BrandHover: var(--fluent-primary-80-color),
114
+ colorNeutralForeground2BrandPressed: var(--fluent-primary-70-color),
115
+ colorNeutralForeground2BrandSelected: var(--fluent-primary-80-color),
116
+ colorNeutralForeground3: var(--fluent-grey-38-color),
117
+ colorNeutralForeground3Hover: var(--fluent-grey-26-color),
118
+ colorNeutralForeground3Pressed: var(--fluent-grey-26-color),
119
+ colorNeutralForeground3Selected: var(--fluent-grey-26-color),
120
+ colorNeutralForeground3BrandHover: var(--fluent-primary-80-color),
121
+ colorNeutralForeground3BrandPressed: var(--fluent-primary-70-color),
122
+ colorNeutralForeground3BrandSelected: var(--fluent-primary-80-color),
123
+ colorNeutralForeground4: var(--fluent-grey-44-color),
124
+ colorNeutralForegroundDisabled: var(--fluent-grey-74-color),
125
+ colorNeutralForegroundInvertedDisabled: var(--fluent-Alpha40-color),
126
+ colorBrandForegroundLink: var(--fluent-primary-70-color),
127
+ colorBrandForegroundLinkHover: var(--fluent-primary-60-color),
128
+ colorBrandForegroundLinkPressed: var(--fluent-primary-40-color),
129
+ colorBrandForegroundLinkSelected: var(--fluent-primary-70-color),
130
+ colorNeutralForeground2Link: var(--fluent-grey-26-color),
131
+ colorNeutralForeground2LinkHover: var(--fluent-grey-14-color),
132
+ colorNeutralForeground2LinkPressed: var(--fluent-grey-14-color),
133
+ colorNeutralForeground2LinkSelected: var(--fluent-grey-14-color),
134
+ colorCompoundBrandForeground1: var(--fluent-primary-80-color),
135
+ colorCompoundBrandForeground1Hover: var(--fluent-primary-70-color),
136
+ colorCompoundBrandForeground1Pressed: var(--fluent-primary-60-color),
137
+ colorBrandForeground1: var(--fluent-primary-80-color),
138
+ colorBrandForeground2: var(--fluent-primary-70-color),
139
+ colorBrandForeground2Hover: var(--fluent-primary-60-color),
140
+ colorBrandForeground2Pressed: var(--fluent-primary-30-color),
141
+ colorNeutralForeground1Static: var(--fluent-grey-14-color),
142
+ colorNeutralForegroundStaticInverted: var(--fluent-white-color),
143
+ colorNeutralForegroundInverted: var(--fluent-white-color),
144
+ colorNeutralForegroundInvertedHover: var(--fluent-white-color),
145
+ colorNeutralForegroundInvertedPressed: var(--fluent-white-color),
146
+ colorNeutralForegroundInvertedSelected: var(--fluent-white-color),
147
+ colorNeutralForegroundInverted2: var(--fluent-white-color),
148
+ colorNeutralForegroundOnBrand: var(--fluent-white-color),
149
+ colorNeutralForegroundInvertedLink: var(--fluent-white-color),
150
+ colorNeutralForegroundInvertedLinkHover: var(--fluent-white-color),
151
+ colorNeutralForegroundInvertedLinkPressed: var(--fluent-white-color),
152
+ colorNeutralForegroundInvertedLinkSelected: var(--fluent-white-color),
153
+ colorBrandForegroundInverted: var(--fluent-primary-100-color),
154
+ colorBrandForegroundInvertedHover: var(--fluent-primary-110-color),
155
+ colorBrandForegroundInvertedPressed: var(--fluent-primary-100-color),
156
+ colorBrandForegroundOnLight: var(--fluent-primary-80-color),
157
+ colorBrandForegroundOnLightHover: var(--fluent-primary-70-color),
158
+ colorBrandForegroundOnLightPressed: var(--fluent-primary-50-color),
159
+ colorBrandForegroundOnLightSelected: var(--fluent-primary-60-color),
160
+ colorNeutralBackground1: var(--fluent-white-color),
161
+ colorNeutralBackground1Hover: var(--fluent-grey-96-color),
162
+ colorNeutralBackground1Pressed: var(--fluent-grey-88-color),
163
+ colorNeutralBackground1Selected: var(--fluent-grey-92-color),
164
+ colorNeutralBackground2: var(--fluent-grey-98-color),
165
+ colorNeutralBackground2Hover: var(--fluent-grey-94-color),
166
+ colorNeutralBackground2Pressed: var(--fluent-grey-86-color),
167
+ colorNeutralBackground2Selected: var(--fluent-grey-90-color),
168
+ colorNeutralBackground3: var(--fluent-grey-96-color),
169
+ colorNeutralBackground3Hover: var(--fluent-grey-92-color),
170
+ colorNeutralBackground3Pressed: var(--fluent-grey-84-color),
171
+ colorNeutralBackground3Selected: var(--fluent-grey-88-color),
172
+ colorNeutralBackground4: var(--fluent-grey-94-color),
173
+ colorNeutralBackground4Hover: var(--fluent-grey-98-color),
174
+ colorNeutralBackground4Pressed: var(--fluent-grey-96-color),
175
+ colorNeutralBackground4Selected: var(--fluent-white-color),
176
+ colorNeutralBackground5: var(--fluent-grey-92-color),
177
+ colorNeutralBackground5Hover: var(--fluent-grey-96-color),
178
+ colorNeutralBackground5Pressed: var(--fluent-grey-94-color),
179
+ colorNeutralBackground5Selected: var(--fluent-grey-98-color),
180
+ colorNeutralBackground6: var(--fluent-grey-90-color),
181
+ colorNeutralBackgroundInverted: var(--fluent-grey-16-color),
182
+ colorNeutralBackgroundStatic: var(--fluent-grey-20-color),
183
+ colorNeutralBackgroundAlpha: var(--fluent-Alpha50-color),
184
+ colorNeutralBackgroundAlpha2: var(--fluent-Alpha80-color),
185
+ colorSubtleBackground: 'transparent',
186
+ colorSubtleBackgroundHover: var(--fluent-grey-96-color),
187
+ colorSubtleBackgroundPressed: var(--fluent-grey-88-color),
188
+ colorSubtleBackgroundSelected: var(--fluent-grey-92-color),
189
+ colorSubtleBackgroundLightAlphaHover: var(--fluent-Alpha70-color),
190
+ colorSubtleBackgroundLightAlphaPressed: var(--fluent-Alpha50-color),
191
+ colorSubtleBackgroundLightAlphaSelected: 'transparent',
192
+ colorSubtleBackgroundInverted: 'transparent',
193
+ colorSubtleBackgroundInvertedHover: var(--fluent-blackAlpha10-color),
194
+ colorSubtleBackgroundInvertedPressed: var(--fluent-blackAlpha30-color),
195
+ colorSubtleBackgroundInvertedSelected: var(--fluent-blackAlpha20-color),
196
+ colorTransparentBackground: 'transparent',
197
+ colorTransparentBackgroundHover: 'transparent',
198
+ colorTransparentBackgroundPressed: 'transparent',
199
+ colorTransparentBackgroundSelected: 'transparent',
200
+ colorNeutralBackgroundDisabled: var(--fluent-grey-94-color),
201
+ colorNeutralBackgroundInvertedDisabled: var(--fluent-Alpha10-color),
202
+ colorNeutralStencil1: var(--fluent-grey-90-color),
203
+ colorNeutralStencil2: var(--fluent-grey-98-color),
204
+ colorNeutralStencil1Alpha: var(--fluent-blackAlpha10-color),
205
+ colorNeutralStencil2Alpha: var(--fluent-blackAlpha5-color),
206
+ colorBackgroundOverlay: var(--fluent-blackAlpha40-color),
207
+ colorScrollbarOverlay: var(--fluent-blackAlpha50-color),
208
+ colorBrandBackground: var(--fluent-primary-80-color),
209
+ colorBrandBackgroundHover: var(--fluent-primary-70-color),
210
+ colorBrandBackgroundPressed: var(--fluent-primary-40-color),
211
+ colorBrandBackgroundSelected: var(--fluent-primary-60-color),
212
+ colorCompoundBrandBackground: var(--fluent-primary-80-color),
213
+ colorCompoundBrandBackgroundHover: var(--fluent-primary-70-color),
214
+ colorCompoundBrandBackgroundPressed: var(--fluent-primary-60-color),
215
+ colorBrandBackgroundStatic: var(--fluent-primary-80-color),
216
+ colorBrandBackground2: var(--fluent-primary-160-color),
217
+ colorBrandBackground2Hover: var(--fluent-primary-150-color),
218
+ colorBrandBackground2Pressed: var(--fluent-primary-130-color),
219
+ colorBrandBackground3Static: var(--fluent-primary-60-color),
220
+ colorBrandBackground4Static: var(--fluent-primary-40-color),
221
+ colorBrandBackgroundInverted: var(--fluent-white-color),
222
+ colorBrandBackgroundInvertedHover: var(--fluent-primary-160-color),
223
+ colorBrandBackgroundInvertedPressed: var(--fluent-primary-140-color),
224
+ colorBrandBackgroundInvertedSelected: var(--fluent-primary-150-color),
225
+ colorNeutralCardBackground: var(--fluent-grey-98-color),
226
+ colorNeutralCardBackgroundHover: var(--fluent-white-color),
227
+ colorNeutralCardBackgroundPressed: var(--fluent-grey-96-color),
228
+ colorNeutralCardBackgroundSelected: var(--fluent-grey-92-color),
229
+ colorNeutralCardBackgroundDisabled: var(--fluent-grey-94-color),
230
+ colorNeutralStrokeAccessible: var(--fluent-grey-38-color),
231
+ colorNeutralStrokeAccessibleHover: var(--fluent-grey-34-color),
232
+ colorNeutralStrokeAccessiblePressed: var(--fluent-grey-30-color),
233
+ colorNeutralStrokeAccessibleSelected: var(--fluent-primary-80-color),
234
+ colorNeutralStroke1: var(--fluent-grey-82-color),
235
+ colorNeutralStroke1Hover: var(--fluent-grey-78-color),
236
+ colorNeutralStroke1Pressed: var(--fluent-grey-70-color),
237
+ colorNeutralStroke1Selected: var(--fluent-grey-74-color),
238
+ colorNeutralStroke2: var(--fluent-grey-88-color),
239
+ colorNeutralStroke3: var(--fluent-grey-94-color),
240
+ colorNeutralStrokeSubtle: var(--fluent-grey-88-color),
241
+ colorNeutralStrokeOnBrand: var(--fluent-white-color),
242
+ colorNeutralStrokeOnBrand2: var(--fluent-white-color),
243
+ colorNeutralStrokeOnBrand2Hover: var(--fluent-white-color),
244
+ colorNeutralStrokeOnBrand2Pressed: var(--fluent-white-color),
245
+ colorNeutralStrokeOnBrand2Selected: var(--fluent-white-color),
246
+ colorBrandStroke1: var(--fluent-primary-80-color),
247
+ colorBrandStroke2: var(--fluent-primary-140-color),
248
+ colorBrandStroke2Hover: var(--fluent-primary-120-color),
249
+ colorBrandStroke2Pressed: var(--fluent-primary-80-color),
250
+ colorBrandStroke2Contrast: var(--fluent-primary-140-color),
251
+ colorCompoundBrandStroke: var(--fluent-primary-80-color),
252
+ colorCompoundBrandStrokeHover: var(--fluent-primary-70-color),
253
+ colorCompoundBrandStrokePressed: var(--fluent-primary-60-color),
254
+ colorNeutralStrokeDisabled: var(--fluent-grey-88-color),
255
+ colorNeutralStrokeInvertedDisabled: var(--fluent-Alpha40-color),
256
+ colorTransparentStroke: 'transparent',
257
+ colorTransparentStrokeInteractive: 'transparent',
258
+ colorTransparentStrokeDisabled: 'transparent',
259
+ colorNeutralStrokeAlpha: var(--fluent-blackAlpha5-color),
260
+ colorNeutralStrokeAlpha2: var(--fluent-Alpha20-color),
261
+ colorStrokeFocus1: var(--fluent-white-color),
262
+ colorStrokeFocus2: var(--fluent-black-color),
263
+ colorNeutralShadowAmbient: 'rgba(0,0,0,0.12)',
264
+ colorNeutralShadowKey: 'rgba(0,0,0,0.14)',
265
+ colorNeutralShadowAmbientLighter: 'rgba(0,0,0,0.06)',
266
+ colorNeutralShadowKeyLighter: 'rgba(0,0,0,0.07)',
267
+ colorNeutralShadowAmbientDarker: 'rgba(0,0,0,0.20)',
268
+ colorNeutralShadowKeyDarker: 'rgba(0,0,0,0.24)',
269
+ colorBrandShadowAmbient: 'rgba(0,0,0,0.30)',
270
+ colorBrandShadowKey: 'rgba(0,0,0,0.25)'
271
+ );
272
+
273
+ $_dark-colors-map: (
274
+ colorNeutralForeground1: var(--fluent-white-color),
275
+ colorNeutralForeground1Hover: var(--fluent-white-color),
276
+ colorNeutralForeground1Pressed: var(--fluent-white-color),
277
+ colorNeutralForeground1Selected: var(--fluent-white-color),
278
+ colorNeutralForeground2: var(--fluent-grey-84-color),
279
+ colorNeutralForeground2Hover: var(--fluent-white-color),
280
+ colorNeutralForeground2Pressed: var(--fluent-white-color),
281
+ colorNeutralForeground2Selected: var(--fluent-white-color),
282
+ colorNeutralForeground2BrandHover: var(--fluent-primary-100-color),
283
+ colorNeutralForeground2BrandPressed: var(--fluent-primary-90-color),
284
+ colorNeutralForeground2BrandSelected: var(--fluent-primary-100-color),
285
+ colorNeutralForeground3: var(--fluent-grey-68-color),
286
+ colorNeutralForeground3Hover: var(--fluent-grey-84-color),
287
+ colorNeutralForeground3Pressed: var(--fluent-grey-84-color),
288
+ colorNeutralForeground3Selected: var(--fluent-grey-84-color),
289
+ colorNeutralForeground3BrandHover: var(--fluent-primary-100-color),
290
+ colorNeutralForeground3BrandPressed: var(--fluent-primary-90-color),
291
+ colorNeutralForeground3BrandSelected: var(--fluent-primary-100-color),
292
+ colorNeutralForeground4: var(--fluent-grey-60-color),
293
+ colorNeutralForegroundDisabled: var(--fluent-grey-36-color),
294
+ colorNeutralForegroundInvertedDisabled: var(--fluent-whiteAlpha-40-color),
295
+ colorBrandForegroundLink: var(--fluent-primary-100-color),
296
+ colorBrandForegroundLinkHover: var(--fluent-primary-110-color),
297
+ colorBrandForegroundLinkPressed: var(--fluent-primary-90-color),
298
+ colorBrandForegroundLinkSelected: var(--fluent-primary-100-color),
299
+ colorNeutralForeground2Link: var(--fluent-grey-84-color),
300
+ colorNeutralForeground2LinkHover: var(--fluent-white-color),
301
+ colorNeutralForeground2LinkPressed: var(--fluent-white-color),
302
+ colorNeutralForeground2LinkSelected: var(--fluent-white-color),
303
+ colorCompoundBrandForeground1: var(--fluent-primary-100-color),
304
+ colorCompoundBrandForeground1Hover: var(--fluent-primary-110-color),
305
+ colorCompoundBrandForeground1Pressed: var(--fluent-primary-90-color),
306
+ colorBrandForeground1: var(--fluent-primary-100-color),
307
+ colorBrandForeground2: var(--fluent-primary-110-color),
308
+ colorBrandForeground2Hover: var(--fluent-primary-130-color),
309
+ colorBrandForeground2Pressed: var(--fluent-primary-160-color),
310
+ colorNeutralForeground1Static: var(--fluent-grey-14-color),
311
+ colorNeutralForegroundStaticInverted: var(--fluent-white-color),
312
+ colorNeutralForegroundInverted: var(--fluent-grey-14-color),
313
+ colorNeutralForegroundInvertedHover: var(--fluent-grey-14-color),
314
+ colorNeutralForegroundInvertedPressed: var(--fluent-grey-14-color),
315
+ colorNeutralForegroundInvertedSelected: var(--fluent-grey-14-color),
316
+ colorNeutralForegroundInverted2: var(--fluent-grey-14-color),
317
+ colorNeutralForegroundOnBrand: var(--fluent-white-color),
318
+ colorNeutralForegroundInvertedLink: var(--fluent-white-color),
319
+ colorNeutralForegroundInvertedLinkHover: var(--fluent-white-color),
320
+ colorNeutralForegroundInvertedLinkPressed: var(--fluent-white-color),
321
+ colorNeutralForegroundInvertedLinkSelected: var(--fluent-white-color),
322
+ colorBrandForegroundInverted: var(--fluent-primary-80-color),
323
+ colorBrandForegroundInvertedHover: var(--fluent-primary-70-color),
324
+ colorBrandForegroundInvertedPressed: var(--fluent-primary-60-color),
325
+ colorBrandForegroundOnLight: var(--fluent-primary-80-color),
326
+ colorBrandForegroundOnLightHover: var(--fluent-primary-70-color),
327
+ colorBrandForegroundOnLightPressed: var(--fluent-primary-50-color),
328
+ colorBrandForegroundOnLightSelected: var(--fluent-primary-60-color),
329
+ colorNeutralBackground1: var(--fluent-grey-16-color),
330
+ colorNeutralBackground1Hover: var(--fluent-grey-24-color),
331
+ colorNeutralBackground1Pressed: var(--fluent-grey-12-color),
332
+ colorNeutralBackground1Selected: var(--fluent-grey-22-color),
333
+ colorNeutralBackground2: var(--fluent-grey-12-color),
334
+ colorNeutralBackground2Hover: var(--fluent-grey-20-color),
335
+ colorNeutralBackground2Pressed: var(--fluent-grey-8-color),
336
+ colorNeutralBackground2Selected: var(--fluent-grey-18-color),
337
+ colorNeutralBackground3: var(--fluent-grey-8-color),
338
+ colorNeutralBackground3Hover: var(--fluent-grey-16-color),
339
+ colorNeutralBackground3Pressed: var(--fluent-grey-4-color),
340
+ colorNeutralBackground3Selected: var(--fluent-grey-14-color),
341
+ colorNeutralBackground4: var(--fluent-grey-4-color),
342
+ colorNeutralBackground4Hover: var(--fluent-grey-12-color),
343
+ colorNeutralBackground4Pressed: var(--fluent-black-color),
344
+ colorNeutralBackground4Selected: var(--fluent-grey-10-color),
345
+ colorNeutralBackground5: var(--fluent-black-color),
346
+ colorNeutralBackground5Hover: var(--fluent-grey-8-color),
347
+ colorNeutralBackground5Pressed: var(--fluent-grey-2-color),
348
+ colorNeutralBackground5Selected: var(--fluent-grey-6-color),
349
+ colorNeutralBackground6: var(--fluent-grey-20-color),
350
+ colorNeutralBackgroundInverted: var(--fluent-white-color),
351
+ colorNeutralBackgroundStatic: var(--fluent-grey-24-color),
352
+ colorNeutralBackgroundAlpha: var(--fluent-grey10Alpha-50-color),
353
+ colorNeutralBackgroundAlpha2: var(--fluent-grey12Alpha-70-color),
354
+ colorSubtleBackground: 'transparent',
355
+ colorSubtleBackgroundHover: var(--fluent-grey-22-color),
356
+ colorSubtleBackgroundPressed: var(--fluent-grey-18-color),
357
+ colorSubtleBackgroundSelected: var(--fluent-grey-20-color),
358
+ colorSubtleBackgroundLightAlphaHover: var(--fluent-grey14Alpha-80-color),
359
+ colorSubtleBackgroundLightAlphaPressed: var(--fluent-grey14Alpha-50-color),
360
+ colorSubtleBackgroundLightAlphaSelected: 'transparent',
361
+ colorSubtleBackgroundInverted: 'transparent',
362
+ colorSubtleBackgroundInvertedHover: var(--fluent-blackAlpha-10-color),
363
+ colorSubtleBackgroundInvertedPressed: var(--fluent-blackAlpha-30-color),
364
+ colorSubtleBackgroundInvertedSelected: var(--fluent-blackAlpha-20-color),
365
+ colorTransparentBackground: 'transparent',
366
+ colorTransparentBackgroundHover: 'transparent',
367
+ colorTransparentBackgroundPressed: 'transparent',
368
+ colorTransparentBackgroundSelected: 'transparent',
369
+ colorNeutralBackgroundDisabled: var(--fluent-grey-8-color),
370
+ colorNeutralBackgroundInvertedDisabled: var(--fluent-whiteAlpha-10-color),
371
+ colorNeutralStencil1: var(--fluent-grey-34-color),
372
+ colorNeutralStencil2: var(--fluent-grey-20-color),
373
+ colorNeutralStencil1Alpha: var(--fluent-whiteAlpha-10-color),
374
+ colorNeutralStencil2Alpha: var(--fluent-whiteAlpha-5-color),
375
+ colorBackgroundOverlay: var(--fluent-blackAlpha-50-color),
376
+ colorScrollbarOverlay: var(--fluent-whiteAlpha-60-color),
377
+ colorBrandBackground: var(--fluent-primary-70-color),
378
+ colorBrandBackgroundHover: var(--fluent-primary-80-color),
379
+ colorBrandBackgroundPressed: var(--fluent-primary-40-color),
380
+ colorBrandBackgroundSelected: var(--fluent-primary-60-color),
381
+ colorCompoundBrandBackground: var(--fluent-primary-100-color),
382
+ colorCompoundBrandBackgroundHover: var(--fluent-primary-110-color),
383
+ colorCompoundBrandBackgroundPressed: var(--fluent-primary-90-color),
384
+ colorBrandBackgroundStatic: var(--fluent-primary-80-color),
385
+ colorBrandBackground2: var(--fluent-primary-20-color),
386
+ colorBrandBackground2Hover: var(--fluent-primary-40-color),
387
+ colorBrandBackground2Pressed: var(--fluent-primary-10-color),
388
+ colorBrandBackground3Static: var(--fluent-primary-60-color),
389
+ colorBrandBackground4Static: var(--fluent-primary-40-color),
390
+ colorBrandBackgroundInverted: var(--fluent-white-color),
391
+ colorBrandBackgroundInvertedHover: var(--fluent-primary-160-color),
392
+ colorBrandBackgroundInvertedPressed: var(--fluent-primary-140-color),
393
+ colorBrandBackgroundInvertedSelected: var(--fluent-primary-150-color),
394
+ colorNeutralCardBackground: var(--fluent-grey-20-color),
395
+ colorNeutralCardBackgroundHover: var(--fluent-grey-24-color),
396
+ colorNeutralCardBackgroundPressed: var(--fluent-grey-18-color),
397
+ colorNeutralCardBackgroundSelected: var(--fluent-grey-22-color),
398
+ colorNeutralCardBackgroundDisabled: var(--fluent-grey-8-color),
399
+ colorNeutralStrokeAccessible: var(--fluent-grey-68-color),
400
+ colorNeutralStrokeAccessibleHover: var(--fluent-grey-74-color),
401
+ colorNeutralStrokeAccessiblePressed: var(--fluent-grey-70-color),
402
+ colorNeutralStrokeAccessibleSelected: var(--fluent-primary-100-color),
403
+ colorNeutralStroke1: var(--fluent-grey-40-color),
404
+ colorNeutralStroke1Hover: var(--fluent-grey-46-color),
405
+ colorNeutralStroke1Pressed: var(--fluent-grey-42-color),
406
+ colorNeutralStroke1Selected: var(--fluent-grey-44-color),
407
+ colorNeutralStroke2: var(--fluent-grey-32-color),
408
+ colorNeutralStroke3: var(--fluent-grey-24-color),
409
+ colorNeutralStrokeSubtle: var(--fluent-grey-4-color),
410
+ colorNeutralStrokeOnBrand: var(--fluent-grey-16-color),
411
+ colorNeutralStrokeOnBrand2: var(--fluent-white-color),
412
+ colorNeutralStrokeOnBrand2Hover: var(--fluent-white-color),
413
+ colorNeutralStrokeOnBrand2Pressed: var(--fluent-white-color),
414
+ colorNeutralStrokeOnBrand2Selected: var(--fluent-white-color),
415
+ colorBrandStroke1: var(--fluent-primary-100-color),
416
+ colorBrandStroke2: var(--fluent-primary-50-color),
417
+ colorBrandStroke2Hover: var(--fluent-primary-50-color),
418
+ colorBrandStroke2Pressed: var(--fluent-primary-30-color),
419
+ colorBrandStroke2Contrast: var(--fluent-primary-50-color),
420
+ colorCompoundBrandStroke: var(--fluent-primary-100-color),
421
+ colorCompoundBrandStrokeHover: var(--fluent-primary-110-color),
422
+ colorCompoundBrandStrokePressed: var(--fluent-primary-90-color),
423
+ colorNeutralStrokeDisabled: var(--fluent-grey-26-color),
424
+ colorNeutralStrokeInvertedDisabled: var(--fluent-whiteAlpha-40-color),
425
+ colorTransparentStroke: 'transparent',
426
+ colorTransparentStrokeInteractive: 'transparent',
427
+ colorTransparentStrokeDisabled: 'transparent',
428
+ colorNeutralStrokeAlpha: var(--fluent-whiteAlpha-10-color),
429
+ colorNeutralStrokeAlpha2: var(--fluent-whiteAlpha-20-color),
430
+ colorStrokeFocus1: var(--fluent-black-color),
431
+ colorStrokeFocus2: var(--fluent-white-color),
432
+ colorNeutralShadowAmbient: 'rgba(0,0,0,0.24)',
433
+ colorNeutralShadowKey: 'rgba(0,0,0,0.28)',
434
+ colorNeutralShadowAmbientLighter: 'rgba(0,0,0,0.12)',
435
+ colorNeutralShadowKeyLighter: 'rgba(0,0,0,0.14)',
436
+ colorNeutralShadowAmbientDarker: 'rgba(0,0,0,0.40)',
437
+ colorNeutralShadowKeyDarker: 'rgba(0,0,0,0.48)',
438
+ colorBrandShadowAmbient: 'rgba(0,0,0,0.30)',
439
+ colorBrandShadowKey: 'rgba(0,0,0,0.25)'
440
+ );
441
+
442
+ @mixin alias-style($prefix) {
443
+ :root,
444
+ :host {
445
+ @each $alias, $value in $_light-colors-map {
446
+ #{'--#{$prefix}-#{$alias}'}: #{$value};
447
+ }
448
+
449
+ // @media (prefers-color-scheme: dark) {
450
+ // @each $alias, $value in $_dark-colors-map {
451
+ // #{'--#{$prefix}-#{$alias}'}: #{$value};
452
+ // }
453
+ // }
454
+ }
455
+ }
456
+
457
+ $_border-radius: (
458
+ borderRadiusNone: '0',
459
+ borderRadiusSmall: '2px',
460
+ borderRadiusMedium: '4px',
461
+ borderRadiusLarge: '6px',
462
+ borderRadiusXLarge: '8px',
463
+ borderRadiusCircular: '10000px'
464
+ );
465
+
466
+ @mixin border-radius-style($prefix) {
467
+ :root,
468
+ :host {
469
+ @each $radius, $value in $_border-radius {
470
+ --#{$prefix}-#{$radius}: #{$value};
471
+ }
472
+ }
473
+ }
474
+
475
+ $_colors-map: (
476
+ primary: (
477
+ 10: #061724,
478
+ 20: #082338,
479
+ 30: #0a2e4a,
480
+ 40: #0c3b5e,
481
+ 50: #0e4775,
482
+ 60: #0f548c,
483
+ 70: #115ea3,
484
+ 80: #0f6cbd,
485
+ 90: #2886de,
486
+ 100: #479ef5,
487
+ 110: #62abf5,
488
+ 120: #77b7f7,
489
+ 130: #96c6fa,
490
+ 140: #b4d6fa,
491
+ 150: #cfe4fa,
492
+ 160: #ebf3fc,
493
+ primary: #115ea3
494
+ ),
495
+ secondary: (
496
+ 10: #2b2b40,
497
+ 20: #2f2f4a,
498
+ 30: #333357,
499
+ 40: #383966,
500
+ 50: #3d3e78,
501
+ 60: #444791,
502
+ 70: #4f52b2,
503
+ 80: #5b5fc7,
504
+ 90: #7579eb,
505
+ 100: #7f85f5,
506
+ 110: #9299f7,
507
+ 120: #aab1fa,
508
+ 130: #b6bcfa,
509
+ 140: #c5cbfa,
510
+ 150: #dce0fa,
511
+ 160: #e8ebfa,
512
+ primary: #4f52b2
513
+ ),
514
+ tertiary: (
515
+ 10: #29130b,
516
+ 20: #4d2415,
517
+ 30: #792000,
518
+ 40: #99482b,
519
+ 50: #a52c00,
520
+ 60: #c33400,
521
+ 70: #e06a3f,
522
+ 80: #d83b01,
523
+ 90: #dd4f1b,
524
+ 100: #fe7948,
525
+ 110: #ff865a,
526
+ 120: #ff9973,
527
+ 130: #e8825d,
528
+ 140: #ffb498,
529
+ 150: #f4beaa,
530
+ 160: #f9dcd1,
531
+ primary: #e06a3f
532
+ )
533
+ );
534
+
535
+ @mixin brand-color-style($prefix) {
536
+ :root,
537
+ :host {
538
+ @each $name, $tones in $_colors-map {
539
+ @each $key, $value in $tones {
540
+ #{'--#{$prefix}-#{$name}-#{$key}-color'}: #{$value};
541
+ }
542
+ }
543
+ }
544
+ }
545
+
546
+
547
+
548
+ $_colors: (
549
+ grey: (
550
+ 2: #050505,
551
+ 4: #0a0a0a,
552
+ 6: #0f0f0f,
553
+ 8: #141414,
554
+ 10: #1a1a1a,
555
+ 12: #1f1f1f,
556
+ 14: #242424,
557
+ 16: #292929,
558
+ 18: #2e2e2e,
559
+ 20: #333333,
560
+ 22: #383838,
561
+ 24: #3d3d3d,
562
+ 26: #424242,
563
+ 28: #474747,
564
+ 30: #4d4d4d,
565
+ 32: #525252,
566
+ 34: #575757,
567
+ 36: #5c5c5c,
568
+ 38: #616161,
569
+ 40: #666666,
570
+ 42: #6b6b6b,
571
+ 44: #707070,
572
+ 46: #757575,
573
+ 48: #7a7a7a,
574
+ 50: #808080,
575
+ 52: #858585,
576
+ 54: #8a8a8a,
577
+ 56: #8f8f8f,
578
+ 58: #949494,
579
+ 60: #999999,
580
+ 62: #9e9e9e,
581
+ 64: #a3a3a3,
582
+ 66: #a8a8a8,
583
+ 68: #adadad,
584
+ 70: #b3b3b3,
585
+ 72: #b8b8b8,
586
+ 74: #bdbdbd,
587
+ 76: #c2c2c2,
588
+ 78: #c7c7c7,
589
+ 80: #cccccc,
590
+ 82: #d1d1d1,
591
+ 84: #d6d6d6,
592
+ 86: #dbdbdb,
593
+ 88: #e0e0e0,
594
+ 90: #e6e6e6,
595
+ 92: #ebebeb,
596
+ 94: #f0f0f0,
597
+ 96: #f5f5f5,
598
+ 98: #fafafa
599
+ ),
600
+ whiteAlpha: (
601
+ 5: rgba(255, 255, 255, 0.05),
602
+ 10: rgba(255, 255, 255, 0.1),
603
+ 20: rgba(255, 255, 255, 0.2),
604
+ 30: rgba(255, 255, 255, 0.3),
605
+ 40: rgba(255, 255, 255, 0.4),
606
+ 50: rgba(255, 255, 255, 0.5),
607
+ 60: rgba(255, 255, 255, 0.6),
608
+ 70: rgba(255, 255, 255, 0.7),
609
+ 80: rgba(255, 255, 255, 0.8),
610
+ 90: rgba(255, 255, 255, 0.9)
611
+ ),
612
+ blackAlpha: (
613
+ 5: rgba(0, 0, 0, 0.05),
614
+ 10: rgba(0, 0, 0, 0.1),
615
+ 20: rgba(0, 0, 0, 0.2),
616
+ 30: rgba(0, 0, 0, 0.3),
617
+ 40: rgba(0, 0, 0, 0.4),
618
+ 50: rgba(0, 0, 0, 0.5),
619
+ 60: rgba(0, 0, 0, 0.6),
620
+ 70: rgba(0, 0, 0, 0.7),
621
+ 80: rgba(0, 0, 0, 0.8),
622
+ 90: rgba(0, 0, 0, 0.9)
623
+ ),
624
+ grey10Alpha: (
625
+ 5: rgba(26, 26, 26, 0.05),
626
+ 10: rgba(26, 26, 26, 0.1),
627
+ 20: rgba(26, 26, 26, 0.2),
628
+ 30: rgba(26, 26, 26, 0.3),
629
+ 40: rgba(26, 26, 26, 0.4),
630
+ 50: rgba(26, 26, 26, 0.5),
631
+ 60: rgba(26, 26, 26, 0.6),
632
+ 70: rgba(26, 26, 26, 0.7),
633
+ 80: rgba(26, 26, 26, 0.8),
634
+ 90: rgba(26, 26, 26, 0.9)
635
+ ),
636
+ grey12Alpha: (
637
+ 5: rgba(31, 31, 31, 0.05),
638
+ 10: rgba(31, 31, 31, 0.1),
639
+ 20: rgba(31, 31, 31, 0.2),
640
+ 30: rgba(31, 31, 31, 0.3),
641
+ 40: rgba(31, 31, 31, 0.4),
642
+ 50: rgba(31, 31, 31, 0.5),
643
+ 60: rgba(31, 31, 31, 0.6),
644
+ 70: rgba(31, 31, 31, 0.7),
645
+ 80: rgba(31, 31, 31, 0.8),
646
+ 90: rgba(31, 31, 31, 0.9)
647
+ ),
648
+ grey14Alpha: (
649
+ 5: rgba(36, 36, 36, 0.05),
650
+ 10: rgba(36, 36, 36, 0.1),
651
+ 20: rgba(36, 36, 36, 0.2),
652
+ 30: rgba(36, 36, 36, 0.3),
653
+ 40: rgba(36, 36, 36, 0.4),
654
+ 50: rgba(36, 36, 36, 0.5),
655
+ 60: rgba(36, 36, 36, 0.6),
656
+ 70: rgba(36, 36, 36, 0.7),
657
+ 80: rgba(36, 36, 36, 0.8),
658
+ 90: rgba(36, 36, 36, 0.9)
659
+ ),
660
+ white: #ffffff,
661
+ black: #000000,
662
+ hcHyperlink: #ffff00,
663
+ hcHighlight: #1aebff,
664
+ hcDisabled: #3ff23f,
665
+ hcCanvas: #000000,
666
+ hcCanvasText: #ffffff,
667
+ hcHighlightText: #000000,
668
+ hcButtonText: #000000,
669
+ hcButtonFace: #ffffff,
670
+ darkRed: (
671
+ shade50: #130204,
672
+ shade40: #230308,
673
+ shade30: #420610,
674
+ shade20: #590815,
675
+ shade10: #690a19,
676
+ primary: #750b1c,
677
+ tint10: #861b2c,
678
+ tint20: #962f3f,
679
+ tint30: #ac4f5e,
680
+ tint40: #d69ca5,
681
+ tint50: #e9c7cd,
682
+ tint60: #f9f0f2
683
+ ),
684
+ burgundy: (
685
+ shade50: #1a0607,
686
+ shade40: #310b0d,
687
+ shade30: #5c1519,
688
+ shade20: #7d1d21,
689
+ shade10: #942228,
690
+ primary: #a4262c,
691
+ tint10: #af393e,
692
+ tint20: #ba4d52,
693
+ tint30: #c86c70,
694
+ tint40: #e4afb2,
695
+ tint50: #f0d3d4,
696
+ tint60: #fbf4f4
697
+ ),
698
+ cranberry: (
699
+ shade50: #200205,
700
+ shade40: #3b0509,
701
+ shade30: #6e0811,
702
+ shade20: #960b18,
703
+ shade10: #b10e1c,
704
+ primary: #c50f1f,
705
+ tint10: #cc2635,
706
+ tint20: #d33f4c,
707
+ tint30: #dc626d,
708
+ tint40: #eeacb2,
709
+ tint50: #f6d1d5,
710
+ tint60: #fdf3f4
711
+ ),
712
+ red: (
713
+ shade50: #210809,
714
+ shade40: #3f1011,
715
+ shade30: #751d1f,
716
+ shade20: #9f282b,
717
+ shade10: #bc2f32,
718
+ primary: #d13438,
719
+ tint10: #d7494c,
720
+ tint20: #dc5e62,
721
+ tint30: #e37d80,
722
+ tint40: #f1bbbc,
723
+ tint50: #f8dadb,
724
+ tint60: #fdf6f6
725
+ ),
726
+ darkOrange: (
727
+ shade50: #230900,
728
+ shade40: #411200,
729
+ shade30: #7a2101,
730
+ shade20: #a62d01,
731
+ shade10: #c43501,
732
+ primary: #da3b01,
733
+ tint10: #de501c,
734
+ tint20: #e36537,
735
+ tint30: #e9835e,
736
+ tint40: #f4bfab,
737
+ tint50: #f9dcd1,
738
+ tint60: #fdf6f3
739
+ ),
740
+ bronze: (
741
+ shade50: #1b0a01,
742
+ shade40: #321303,
743
+ shade30: #5e2405,
744
+ shade20: #7f3107,
745
+ shade10: #963a08,
746
+ primary: #a74109,
747
+ tint10: #b2521e,
748
+ tint20: #bc6535,
749
+ tint30: #ca8057,
750
+ tint40: #e5bba4,
751
+ tint50: #f1d9cc,
752
+ tint60: #fbf5f2
753
+ ),
754
+ pumpkin: (
755
+ shade50: #200d03,
756
+ shade40: #3d1805,
757
+ shade30: #712d09,
758
+ shade20: #9a3d0c,
759
+ shade10: #b6480e,
760
+ primary: #ca5010,
761
+ tint10: #d06228,
762
+ tint20: #d77440,
763
+ tint30: #df8e64,
764
+ tint40: #efc4ad,
765
+ tint50: #f7dfd2,
766
+ tint60: #fdf7f4
767
+ ),
768
+ orange: (
769
+ shade50: #271002,
770
+ shade40: #4a1e04,
771
+ shade30: #8a3707,
772
+ shade20: #bc4b09,
773
+ shade10: #de590b,
774
+ primary: #f7630c,
775
+ tint10: #f87528,
776
+ tint20: #f98845,
777
+ tint30: #faa06b,
778
+ tint40: #fdcfb4,
779
+ tint50: #fee5d7,
780
+ tint60: #fff9f5
781
+ ),
782
+ peach: (
783
+ shade50: #291600,
784
+ shade40: #4d2a00,
785
+ shade30: #8f4e00,
786
+ shade20: #c26a00,
787
+ shade10: #e67e00,
788
+ primary: #ff8c00,
789
+ tint10: #ff9a1f,
790
+ tint20: #ffa83d,
791
+ tint30: #ffba66,
792
+ tint40: #ffddb3,
793
+ tint50: #ffedd6,
794
+ tint60: #fffaf5
795
+ ),
796
+ marigold: (
797
+ shade50: #251a00,
798
+ shade40: #463100,
799
+ shade30: #835b00,
800
+ shade20: #b27c00,
801
+ shade10: #d39300,
802
+ primary: #eaa300,
803
+ tint10: #edad1c,
804
+ tint20: #efb839,
805
+ tint30: #f2c661,
806
+ tint40: #f9e2ae,
807
+ tint50: #fcefd3,
808
+ tint60: #fefbf4
809
+ ),
810
+ yellow: (
811
+ shade50: #282400,
812
+ shade40: #4c4400,
813
+ shade30: #817400,
814
+ shade20: #c0ad00,
815
+ shade10: #e4cc00,
816
+ primary: #fde300,
817
+ tint10: #fde61e,
818
+ tint20: #fdea3d,
819
+ tint30: #feee66,
820
+ tint40: #fef7b2,
821
+ tint50: #fffad6,
822
+ tint60: #fffef5
823
+ ),
824
+ gold: (
825
+ shade50: #1f1900,
826
+ shade40: #3a2f00,
827
+ shade30: #6c5700,
828
+ shade20: #937700,
829
+ shade10: #ae8c00,
830
+ primary: #c19c00,
831
+ tint10: #c8a718,
832
+ tint20: #d0b232,
833
+ tint30: #dac157,
834
+ tint40: #ecdfa5,
835
+ tint50: #f5eece,
836
+ tint60: #fdfbf2
837
+ ),
838
+ brass: (
839
+ shade50: #181202,
840
+ shade40: #2e2103,
841
+ shade30: #553e06,
842
+ shade20: #745408,
843
+ shade10: #89640a,
844
+ primary: #986f0b,
845
+ tint10: #a47d1e,
846
+ tint20: #b18c34,
847
+ tint30: #c1a256,
848
+ tint40: #e0cea2,
849
+ tint50: #efe4cb,
850
+ tint60: #fbf8f2
851
+ ),
852
+ brown: (
853
+ shade50: #170e07,
854
+ shade40: #2b1a0e,
855
+ shade30: #50301a,
856
+ shade20: #6c4123,
857
+ shade10: #804d29,
858
+ primary: #8e562e,
859
+ tint10: #9c663f,
860
+ tint20: #a97652,
861
+ tint30: #bb8f6f,
862
+ tint40: #ddc3b0,
863
+ tint50: #edded3,
864
+ tint60: #faf7f4
865
+ ),
866
+ darkBrown: (
867
+ shade50: #0c0704,
868
+ shade40: #170c08,
869
+ shade30: #2b1710,
870
+ shade20: #3a1f15,
871
+ shade10: #452519,
872
+ primary: #4d291c,
873
+ tint10: #623a2b,
874
+ tint20: #784d3e,
875
+ tint30: #946b5c,
876
+ tint40: #caada3,
877
+ tint50: #e3d2cb,
878
+ tint60: #f8f3f2
879
+ ),
880
+ lime: (
881
+ shade50: #121b06,
882
+ shade40: #23330b,
883
+ shade30: #405f14,
884
+ shade20: #57811b,
885
+ shade10: #689920,
886
+ primary: #73aa24,
887
+ tint10: #81b437,
888
+ tint20: #90be4c,
889
+ tint30: #a4cc6c,
890
+ tint40: #cfe5af,
891
+ tint50: #e5f1d3,
892
+ tint60: #f8fcf4
893
+ ),
894
+ forest: (
895
+ shade50: #0c1501,
896
+ shade40: #162702,
897
+ shade30: #294903,
898
+ shade20: #376304,
899
+ shade10: #427505,
900
+ primary: #498205,
901
+ tint10: #599116,
902
+ tint20: #6ba02b,
903
+ tint30: #85b44c,
904
+ tint40: #bdd99b,
905
+ tint50: #dbebc7,
906
+ tint60: #f6faf0
907
+ ),
908
+ seafoam: (
909
+ shade50: #002111,
910
+ shade40: #003d20,
911
+ shade30: #00723b,
912
+ shade20: #009b51,
913
+ shade10: #00b85f,
914
+ primary: #00cc6a,
915
+ tint10: #19d279,
916
+ tint20: #34d889,
917
+ tint30: #5ae0a0,
918
+ tint40: #a8f0cd,
919
+ tint50: #cff7e4,
920
+ tint60: #f3fdf8
921
+ ),
922
+ lightGreen: (
923
+ shade50: #031a02,
924
+ shade40: #063004,
925
+ shade30: #0b5a08,
926
+ shade20: #0e7a0b,
927
+ shade10: #11910d,
928
+ primary: #13a10e,
929
+ tint10: #27ac22,
930
+ tint20: #3db838,
931
+ tint30: #5ec75a,
932
+ tint40: #a7e3a5,
933
+ tint50: #cef0cd,
934
+ tint60: #f2fbf2
935
+ ),
936
+ green: (
937
+ shade50: #031403,
938
+ shade40: #052505,
939
+ shade30: #094509,
940
+ shade20: #0c5e0c,
941
+ shade10: #0e700e,
942
+ primary: #107c10,
943
+ tint10: #218c21,
944
+ tint20: #359b35,
945
+ tint30: #54b054,
946
+ tint40: #9fd89f,
947
+ tint50: #c9eac9,
948
+ tint60: #f1faf1
949
+ ),
950
+ darkGreen: (
951
+ shade50: #021102,
952
+ shade40: #032003,
953
+ shade30: #063b06,
954
+ shade20: #085108,
955
+ shade10: #0a5f0a,
956
+ primary: #0b6a0b,
957
+ tint10: #1a7c1a,
958
+ tint20: #2d8e2d,
959
+ tint30: #4da64d,
960
+ tint40: #9ad29a,
961
+ tint50: #c6e7c6,
962
+ tint60: #f0f9f0
963
+ ),
964
+ lightTeal: (
965
+ shade50: #001d1f,
966
+ shade40: #00373a,
967
+ shade30: #00666d,
968
+ shade20: #008b94,
969
+ shade10: #00a5af,
970
+ primary: #00b7c3,
971
+ tint10: #18bfca,
972
+ tint20: #32c8d1,
973
+ tint30: #58d3db,
974
+ tint40: #a6e9ed,
975
+ tint50: #cef3f5,
976
+ tint60: #f2fcfd
977
+ ),
978
+ teal: (
979
+ shade50: #001516,
980
+ shade40: #012728,
981
+ shade30: #02494c,
982
+ shade20: #026467,
983
+ shade10: #037679,
984
+ primary: #038387,
985
+ tint10: #159195,
986
+ tint20: #2aa0a4,
987
+ tint30: #4cb4b7,
988
+ tint40: #9bd9db,
989
+ tint50: #c7ebec,
990
+ tint60: #f0fafa
991
+ ),
992
+ darkTeal: (
993
+ shade50: #001010,
994
+ shade40: #001f1f,
995
+ shade30: #003939,
996
+ shade20: #004e4e,
997
+ shade10: #005c5c,
998
+ primary: #006666,
999
+ tint10: #0e7878,
1000
+ tint20: #218b8b,
1001
+ tint30: #41a3a3,
1002
+ tint40: #92d1d1,
1003
+ tint50: #c2e7e7,
1004
+ tint60: #eff9f9
1005
+ ),
1006
+ cyan: (
1007
+ shade50: #00181e,
1008
+ shade40: #002e38,
1009
+ shade30: #005669,
1010
+ shade20: #00748f,
1011
+ shade10: #008aa9,
1012
+ primary: #0099bc,
1013
+ tint10: #18a4c4,
1014
+ tint20: #31afcc,
1015
+ tint30: #56bfd7,
1016
+ tint40: #a4deeb,
1017
+ tint50: #cdedf4,
1018
+ tint60: #f2fafc
1019
+ ),
1020
+ steel: (
1021
+ shade50: #000f12,
1022
+ shade40: #001b22,
1023
+ shade30: #00333f,
1024
+ shade20: #004555,
1025
+ shade10: #005265,
1026
+ primary: #005b70,
1027
+ tint10: #0f6c81,
1028
+ tint20: #237d92,
1029
+ tint30: #4496a9,
1030
+ tint40: #94c8d4,
1031
+ tint50: #c3e1e8,
1032
+ tint60: #eff7f9
1033
+ ),
1034
+ lightBlue: (
1035
+ shade50: #091823,
1036
+ shade40: #112d42,
1037
+ shade30: #20547c,
1038
+ shade20: #2c72a8,
1039
+ shade10: #3487c7,
1040
+ primary: #3a96dd,
1041
+ tint10: #4fa1e1,
1042
+ tint20: #65ade5,
1043
+ tint30: #83bdeb,
1044
+ tint40: #bfddf5,
1045
+ tint50: #dcedfa,
1046
+ tint60: #f6fafe
1047
+ ),
1048
+ blue: (
1049
+ shade50: #001322,
1050
+ shade40: #002440,
1051
+ shade30: #004377,
1052
+ shade20: #005ba1,
1053
+ shade10: #006cbf,
1054
+ primary: #0078d4,
1055
+ tint10: #1a86d9,
1056
+ tint20: #3595de,
1057
+ tint30: #5caae5,
1058
+ tint40: #a9d3f2,
1059
+ tint50: #d0e7f8,
1060
+ tint60: #f3f9fd
1061
+ ),
1062
+ royalBlue: (
1063
+ shade50: #000c16,
1064
+ shade40: #00172a,
1065
+ shade30: #002c4e,
1066
+ shade20: #003b6a,
1067
+ shade10: #00467e,
1068
+ primary: #004e8c,
1069
+ tint10: #125e9a,
1070
+ tint20: #286fa8,
1071
+ tint30: #4a89ba,
1072
+ tint40: #9abfdc,
1073
+ tint50: #c7dced,
1074
+ tint60: #f0f6fa
1075
+ ),
1076
+ darkBlue: (
1077
+ shade50: #000910,
1078
+ shade40: #00111f,
1079
+ shade30: #002039,
1080
+ shade20: #002b4e,
1081
+ shade10: #00335c,
1082
+ primary: #003966,
1083
+ tint10: #0e4a78,
1084
+ tint20: #215c8b,
1085
+ tint30: #4178a3,
1086
+ tint40: #92b5d1,
1087
+ tint50: #c2d6e7,
1088
+ tint60: #eff4f9
1089
+ ),
1090
+ cornflower: (
1091
+ shade50: #0d1126,
1092
+ shade40: #182047,
1093
+ shade30: #2c3c85,
1094
+ shade20: #3c51b4,
1095
+ shade10: #4760d5,
1096
+ primary: #4f6bed,
1097
+ tint10: #637cef,
1098
+ tint20: #778df1,
1099
+ tint30: #93a4f4,
1100
+ tint40: #c8d1fa,
1101
+ tint50: #e1e6fc,
1102
+ tint60: #f7f9fe
1103
+ ),
1104
+ navy: (
1105
+ shade50: #00061d,
1106
+ shade40: #000c36,
1107
+ shade30: #001665,
1108
+ shade20: #001e89,
1109
+ shade10: #0023a2,
1110
+ primary: #0027b4,
1111
+ tint10: #173bbd,
1112
+ tint20: #3050c6,
1113
+ tint30: #546fd2,
1114
+ tint40: #a3b2e8,
1115
+ tint50: #ccd5f3,
1116
+ tint60: #f2f4fc
1117
+ ),
1118
+ lavender: (
1119
+ shade50: #120f25,
1120
+ shade40: #221d46,
1121
+ shade30: #3f3682,
1122
+ shade20: #5649b0,
1123
+ shade10: #6656d1,
1124
+ primary: #7160e8,
1125
+ tint10: #8172eb,
1126
+ tint20: #9184ee,
1127
+ tint30: #a79cf1,
1128
+ tint40: #d2ccf8,
1129
+ tint50: #e7e4fb,
1130
+ tint60: #f9f8fe
1131
+ ),
1132
+ purple: (
1133
+ shade50: #0f0717,
1134
+ shade40: #1c0e2b,
1135
+ shade30: #341a51,
1136
+ shade20: #46236e,
1137
+ shade10: #532982,
1138
+ primary: #5c2e91,
1139
+ tint10: #6b3f9e,
1140
+ tint20: #7c52ab,
1141
+ tint30: #9470bd,
1142
+ tint40: #c6b1de,
1143
+ tint50: #e0d3ed,
1144
+ tint60: #f7f4fb
1145
+ ),
1146
+ darkPurple: (
1147
+ shade50: #0a0411,
1148
+ shade40: #130820,
1149
+ shade30: #240f3c,
1150
+ shade20: #311552,
1151
+ shade10: #3a1861,
1152
+ primary: #401b6c,
1153
+ tint10: #512b7e,
1154
+ tint20: #633e8f,
1155
+ tint30: #7e5ca7,
1156
+ tint40: #b9a3d3,
1157
+ tint50: #d8cce7,
1158
+ tint60: #f5f2f9
1159
+ ),
1160
+ orchid: (
1161
+ shade50: #16101d,
1162
+ shade40: #281e37,
1163
+ shade30: #4c3867,
1164
+ shade20: #674c8c,
1165
+ shade10: #795aa6,
1166
+ primary: #8764b8,
1167
+ tint10: #9373c0,
1168
+ tint20: #a083c9,
1169
+ tint30: #b29ad4,
1170
+ tint40: #d7caea,
1171
+ tint50: #e9e2f4,
1172
+ tint60: #f9f8fc
1173
+ ),
1174
+ grape: (
1175
+ shade50: #160418,
1176
+ shade40: #29072e,
1177
+ shade30: #4c0d55,
1178
+ shade20: #671174,
1179
+ shade10: #7a1589,
1180
+ primary: #881798,
1181
+ tint10: #952aa4,
1182
+ tint20: #a33fb1,
1183
+ tint30: #b55fc1,
1184
+ tint40: #d9a7e0,
1185
+ tint50: #eaceef,
1186
+ tint60: #faf2fb
1187
+ ),
1188
+ berry: (
1189
+ shade50: #1f091d,
1190
+ shade40: #3a1136,
1191
+ shade30: #6d2064,
1192
+ shade20: #932b88,
1193
+ shade10: #af33a1,
1194
+ primary: #c239b3,
1195
+ tint10: #c94cbc,
1196
+ tint20: #d161c4,
1197
+ tint30: #da7ed0,
1198
+ tint40: #edbbe7,
1199
+ tint50: #f5daf2,
1200
+ tint60: #fdf5fc
1201
+ ),
1202
+ lilac: (
1203
+ shade50: #1c0b1f,
1204
+ shade40: #35153a,
1205
+ shade30: #63276d,
1206
+ shade20: #863593,
1207
+ shade10: #9f3faf,
1208
+ primary: #b146c2,
1209
+ tint10: #ba58c9,
1210
+ tint20: #c36bd1,
1211
+ tint30: #cf87da,
1212
+ tint40: #e6bfed,
1213
+ tint50: #f2dcf5,
1214
+ tint60: #fcf6fd
1215
+ ),
1216
+ pink: (
1217
+ shade50: #24091b,
1218
+ shade40: #441232,
1219
+ shade30: #80215d,
1220
+ shade20: #ad2d7e,
1221
+ shade10: #cd3595,
1222
+ primary: #e43ba6,
1223
+ tint10: #e750b0,
1224
+ tint20: #ea66ba,
1225
+ tint30: #ef85c8,
1226
+ tint40: #f7c0e3,
1227
+ tint50: #fbddf0,
1228
+ tint60: #fef6fb
1229
+ ),
1230
+ hotPink: (
1231
+ shade50: #240016,
1232
+ shade40: #44002a,
1233
+ shade30: #7f004e,
1234
+ shade20: #ad006a,
1235
+ shade10: #cc007e,
1236
+ primary: #e3008c,
1237
+ tint10: #e61c99,
1238
+ tint20: #ea38a6,
1239
+ tint30: #ee5fb7,
1240
+ tint40: #f7adda,
1241
+ tint50: #fbd2eb,
1242
+ tint60: #fef4fa
1243
+ ),
1244
+ magenta: (
1245
+ shade50: #1f0013,
1246
+ shade40: #390024,
1247
+ shade30: #6b0043,
1248
+ shade20: #91005a,
1249
+ shade10: #ac006b,
1250
+ primary: #bf0077,
1251
+ tint10: #c71885,
1252
+ tint20: #ce3293,
1253
+ tint30: #d957a8,
1254
+ tint40: #eca5d1,
1255
+ tint50: #f5cee6,
1256
+ tint60: #fcf2f9
1257
+ ),
1258
+ plum: (
1259
+ shade50: #13000c,
1260
+ shade40: #240017,
1261
+ shade30: #43002b,
1262
+ shade20: #5a003b,
1263
+ shade10: #6b0045,
1264
+ primary: #77004d,
1265
+ tint10: #87105d,
1266
+ tint20: #98246f,
1267
+ tint30: #ad4589,
1268
+ tint40: #d696c0,
1269
+ tint50: #e9c4dc,
1270
+ tint60: #faf0f6
1271
+ ),
1272
+ beige: (
1273
+ shade50: #141313,
1274
+ shade40: #252323,
1275
+ shade30: #444241,
1276
+ shade20: #5d5958,
1277
+ shade10: #6e6968,
1278
+ primary: #7a7574,
1279
+ tint10: #8a8584,
1280
+ tint20: #9a9594,
1281
+ tint30: #afabaa,
1282
+ tint40: #d7d4d4,
1283
+ tint50: #eae8e8,
1284
+ tint60: #faf9f9
1285
+ ),
1286
+ mink: (
1287
+ shade50: #0f0e0e,
1288
+ shade40: #1c1b1a,
1289
+ shade30: #343231,
1290
+ shade20: #474443,
1291
+ shade10: #54514f,
1292
+ primary: #5d5a58,
1293
+ tint10: #706d6b,
1294
+ tint20: #84817e,
1295
+ tint30: #9e9b99,
1296
+ tint40: #cecccb,
1297
+ tint50: #e5e4e3,
1298
+ tint60: #f8f8f8
1299
+ ),
1300
+ silver: (
1301
+ shade50: #151818,
1302
+ shade40: #282d2e,
1303
+ shade30: #4a5356,
1304
+ shade20: #657174,
1305
+ shade10: #78868a,
1306
+ primary: #859599,
1307
+ tint10: #92a1a5,
1308
+ tint20: #a0aeb1,
1309
+ tint30: #b3bfc2,
1310
+ tint40: #d8dfe0,
1311
+ tint50: #eaeeef,
1312
+ tint60: #fafbfb
1313
+ ),
1314
+ platinum: (
1315
+ shade50: #111314,
1316
+ shade40: #1f2426,
1317
+ shade30: #3b4447,
1318
+ shade20: #505c60,
1319
+ shade10: #5f6d71,
1320
+ primary: #69797e,
1321
+ tint10: #79898d,
1322
+ tint20: #89989d,
1323
+ tint30: #a0adb2,
1324
+ tint40: #cdd6d8,
1325
+ tint50: #e4e9ea,
1326
+ tint60: #f8f9fa
1327
+ ),
1328
+ anchor: (
1329
+ shade50: #090a0b,
1330
+ shade40: #111315,
1331
+ shade30: #202427,
1332
+ shade20: #2b3135,
1333
+ shade10: #333a3f,
1334
+ primary: #394146,
1335
+ tint10: #4d565c,
1336
+ tint20: #626c72,
1337
+ tint30: #808a90,
1338
+ tint40: #bcc3c7,
1339
+ tint50: #dbdfe1,
1340
+ tint60: #f6f7f8
1341
+ ),
1342
+ charcoal: (
1343
+ shade50: #090909,
1344
+ shade40: #111111,
1345
+ shade30: #202020,
1346
+ shade20: #2b2b2b,
1347
+ shade10: #333333,
1348
+ primary: #393939,
1349
+ tint10: #515151,
1350
+ tint20: #686868,
1351
+ tint30: #888888,
1352
+ tint40: #c4c4c4,
1353
+ tint50: #dfdfdf,
1354
+ tint60: #f7f7f7
1355
+ )
1356
+ );
1357
+
1358
+ @mixin color-style($prefix) {
1359
+ :root,
1360
+ :host {
1361
+ @each $name, $tones in $_colors {
1362
+ @if (meta.type-of($tones) == map) {
1363
+ @each $key, $value in $tones {
1364
+ #{'--#{$prefix}-#{$name}-#{$key}-color'}: #{$value};
1365
+ }
1366
+ } @else {
1367
+ #{'--#{$prefix}-#{$name}-color'}: #{$tones};
1368
+ }
1369
+ }
1370
+ }
1371
+ }
1372
+
1373
+ $_curves: (
1374
+ curveAccelerateMax: 'cubic-bezier(0.9,0.1,1,0.2)',
1375
+ curveAccelerateMid: 'cubic-bezier(1,0,1,1)',
1376
+ curveAccelerateMin: 'cubic-bezier(0.8,0,0.78,1)',
1377
+ curveDecelerateMax: 'cubic-bezier(0.1,0.9,0.2,1)',
1378
+ curveDecelerateMid: 'cubic-bezier(0,0,0,1)',
1379
+ curveDecelerateMin: 'cubic-bezier(0.33,0,0.1,1)',
1380
+ curveEasyEaseMax: 'cubic-bezier(0.8,0,0.2,1)',
1381
+ curveEasyEase: 'cubic-bezier(0.33,0,0.67,1)',
1382
+ curveLinear: 'cubic-bezier(0,0,1,1)'
1383
+ );
1384
+
1385
+ @mixin curve-style($prefix) {
1386
+ :root,
1387
+ :host {
1388
+ @each $curve, $value in $_curves {
1389
+ --#{$prefix}-#{$curve}: #{$value};
1390
+ }
1391
+ }
1392
+ }
1393
+
1394
+ $_durations: (
1395
+ durationUltraFast: '50ms',
1396
+ durationFaster: '100ms',
1397
+ durationFast: '150ms',
1398
+ durationNormal: '200ms',
1399
+ durationGentle: '250ms',
1400
+ durationSlow: '300ms',
1401
+ durationSlower: '400ms',
1402
+ durationUltraSlow: '500ms'
1403
+ );
1404
+
1405
+ @mixin duration-style($prefix) {
1406
+ :root,
1407
+ :host {
1408
+ @each $duration, $value in $_durations {
1409
+ --#{$prefix}-#{$duration}: #{$value};
1410
+ }
1411
+ }
1412
+ }
1413
+
1414
+
1415
+
1416
+
1417
+
1418
+
1419
+ $thickness-factor: $layout-thickness;
1420
+ $radius-factor: $layout-radius;
1421
+ $space-factor: $layout-space;
1422
+ $transition: $duration-duration-normal;
1423
+
1424
+ @function _layout-palette($prefix, $radius, $thickness, $space, $transition: $transition) {
1425
+ $layouts: ();
1426
+ $layouts: map.merge(
1427
+ $layouts,
1428
+ (
1429
+ // legacy
1430
+ '#{$prefix}-radius-factor': #{px-to-rem($radius)},
1431
+ '#{$prefix}-layout-thickness': #{px-to-rem($radius)}
1432
+ )
1433
+ );
1434
+ $layouts: map.merge(
1435
+ $layouts,
1436
+ (
1437
+ // legacy
1438
+ '#{$prefix}-thickness-factor': #{px-to-rem($thickness)},
1439
+ '#{$prefix}-layout-radius': #{px-to-rem($thickness)}
1440
+ )
1441
+ );
1442
+ $layouts: map.merge(
1443
+ $layouts,
1444
+ (
1445
+ // legacy
1446
+ '#{$prefix}-space-factor': #{px-to-rem($space)},
1447
+ '#{$prefix}-layout-space': #{px-to-rem($space)}
1448
+ )
1449
+ );
1450
+ $layouts: map.merge(
1451
+ $layouts,
1452
+ (
1453
+ // legacy
1454
+ '#{$prefix}-transition-duration': $transition,
1455
+ '#{$prefix}-layout-transition': $transition
1456
+ )
1457
+ );
1458
+
1459
+ @return $layouts;
1460
+ }
1461
+
1462
+ /// @access private
1463
+ /// @group Layout
1464
+ /// @requires {function} empty
1465
+ @mixin _layout-style($prefix, $radius, $thickness, $space) {
1466
+ $palette: _layout-palette($prefix, $radius, $thickness, $space);
1467
+
1468
+ @if list.length($palette) {
1469
+ :root,
1470
+ :host {
1471
+ @each $key, $value in $palette {
1472
+ #{'--#{$key}'}: #{$value};
1473
+ }
1474
+ }
1475
+ }
1476
+ }
1477
+
1478
+ /// @access public
1479
+ /// @group Layout
1480
+ /// @requires {mixin} _layout-style
1481
+ @mixin layout-style($prefix, $radius: $radius-factor, $thickness: $thickness-factor, $space: $space-factor) {
1482
+ @include _layout-style($prefix, $radius, $thickness, $space);
1483
+ }
1484
+
1485
+
1486
+
1487
+ $_spacings-map: (
1488
+ none: '0',
1489
+ xxs: '2px',
1490
+ xs: '4px',
1491
+ sNudge: '6px',
1492
+ s: '8px',
1493
+ mNudge: '10px',
1494
+ m: '12px',
1495
+ l: '16px',
1496
+ xl: '20px',
1497
+ xxl: '24px',
1498
+ xxxl: '32px'
1499
+ );
1500
+
1501
+ $_horizontal-spacings: (
1502
+ spacingHorizontalNone: map.get($_spacings-map, none),
1503
+ spacingHorizontalXXS: map.get($_spacings-map, xxs),
1504
+ spacingHorizontalXS: map.get($_spacings-map, xs),
1505
+ spacingHorizontalSNudge: map.get($_spacings-map, sNudge),
1506
+ spacingHorizontalS: map.get($_spacings-map, s),
1507
+ spacingHorizontalMNudge: map.get($_spacings-map, mNudge),
1508
+ spacingHorizontalM: map.get($_spacings-map, m),
1509
+ spacingHorizontalL: map.get($_spacings-map, l),
1510
+ spacingHorizontalXL: map.get($_spacings-map, xl),
1511
+ spacingHorizontalXXL: map.get($_spacings-map, xxl),
1512
+ spacingHorizontalXXXL: map.get($_spacings-map, xxxl)
1513
+ );
1514
+
1515
+ $_vertical-spacings: (
1516
+ spacingVerticalNone: map.get($_spacings-map, none),
1517
+ spacingVerticalXXS: map.get($_spacings-map, xxs),
1518
+ spacingVerticalXS: map.get($_spacings-map, xs),
1519
+ spacingVerticalSNudge: map.get($_spacings-map, sNudge),
1520
+ spacingVerticalS: map.get($_spacings-map, s),
1521
+ spacingVerticalMNudge: map.get($_spacings-map, mNudge),
1522
+ spacingVerticalM: map.get($_spacings-map, m),
1523
+ spacingVerticalL: map.get($_spacings-map, l),
1524
+ spacingVerticalXL: map.get($_spacings-map, xl),
1525
+ spacingVerticalXXL: map.get($_spacings-map, xxl),
1526
+ spacingVerticalXXXL: map.get($_spacings-map, xxxl)
1527
+ );
1528
+
1529
+ @mixin spacing-style($prefix) {
1530
+ $spacings: map.merge($_horizontal-spacings, $_vertical-spacings);
1531
+
1532
+ :root,
1533
+ :host {
1534
+ @each $spacing, $value in $spacings {
1535
+ --#{$prefix}-#{$spacing}: #{$value};
1536
+ }
1537
+ }
1538
+ }
1539
+
1540
+ $_stroke-widths: (
1541
+ strokeWidthThin: '1px',
1542
+ strokeWidthThick: '2px',
1543
+ strokeWidthThicker: '3px',
1544
+ strokeWidthThickest: '4px'
1545
+ );
1546
+
1547
+ @mixin stroke-width-style($prefix) {
1548
+ :root,
1549
+ :host {
1550
+ @each $stroke, $value in $_stroke-widths {
1551
+ --#{$prefix}-#{$stroke}: #{$value};
1552
+ }
1553
+ }
1554
+ }
1555
+
1556
+
1557
+
1558
+
1559
+
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+ @mixin fluent-style($radius: $layout-radius, $thickness: $layout-thickness, $space: $layout-space) {
1568
+ $theme: 'fluent';
1569
+
1570
+ // @include layout-style($radius, $thickness, $space);
1571
+ @include color-style($theme);
1572
+ @include spacing-style($theme);
1573
+ @include stroke-width-style($theme);
1574
+ @include border-radius-style($theme);
1575
+ @include alias-style($theme);
1576
+ @include brand-color-style($theme);
1577
+ @include duration-style($theme);
1578
+ @include curve-style($theme);
1579
+
1580
+ :root,
1581
+ :host {
1582
+ @content;
1583
+ }
1584
+ }
1585
+
1586
+
1587
+ $button-props: (
1588
+ 'font-family': var(--unknown),
1589
+ 'font-size': var(--unknown),
1590
+ 'font-line-height': var(--unknown),
1591
+ 'font-weight': var(--unknown),
1592
+ 'font-letter-spacing': var(--unknown),
1593
+ 'font-text-decoration': var(--unknown),
1594
+ 'font-text-transform': var(--unknown),
1595
+ 'padding-top': var(--unknown),
1596
+ 'padding-right': var(--unknown),
1597
+ 'padding-bottom': var(--unknown),
1598
+ 'padding-left': var(--unknown),
1599
+ 'gap': var(--unknown),
1600
+ 'transition-duration': var(--unknown),
1601
+ 'transition-mode': var(--unknown),
1602
+ 'transition-property': unknown,
1603
+ 'translate': var(--unknown),
1604
+ 'background-color': var(--unknown),
1605
+ 'foreground-color': var(--unknown),
1606
+ 'border-color': var(--unknown),
1607
+ 'border-width': var(--unknown),
1608
+ 'border-radius': var(--unknown),
1609
+ 'border-style': var(--unknown),
1610
+ 'width': var(--unknown),
1611
+ 'height': var(--unknown),
1612
+ 'progress-thickness': var(--unknown)
1613
+ );
1614
+
1615
+ $text-box-props: (
1616
+ 'font-family': var(--theme-typography),
1617
+ 'font-size': 16px,
1618
+ 'font-line-height': "unset",
1619
+ 'font-weight': normal,
1620
+ 'font-letter-spacing': "unset",
1621
+ 'font-text-decoration': "unset",
1622
+ 'font-text-transform': "unset",
1623
+ 'padding-top': 8px,
1624
+ 'padding-right': 12px,
1625
+ 'padding-bottom': 8px,
1626
+ 'padding-left': 12px,
1627
+ 'gap': 8px,
1628
+ 'transition-duration': .2s,
1629
+ 'transition-mode': ease,
1630
+ 'transition-property': (background-color, color, border-color, opacity, box-shadow),
1631
+ 'translate': "unset",
1632
+ 'background-color': var(--theme-background-color),
1633
+ 'foreground-color': var(--theme-foreground-color),
1634
+ 'border-color': var(--theme-highlight-color),
1635
+ 'border-width': var(--theme-thickness-factor),
1636
+ 'border-radius': var(--theme-radius-factor),
1637
+ 'border-style': solid,
1638
+ 'shadow': var(--theme-elevation-none),
1639
+ 'height': 56px,
1640
+ 'focus-ring-width': 0px
1641
+ );