@breadstone/mosaik-themes 0.0.206 → 0.0.210

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