igniteui-theming 22.0.0-beta.1 → 22.0.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 (34) hide show
  1. package/package.json +1 -1
  2. package/sass/themes/components/button/_contained-button-theme.scss +25 -25
  3. package/sass/themes/components/button/_fab-button-theme.scss +26 -26
  4. package/sass/themes/components/button/_flat-button-theme.scss +7 -7
  5. package/sass/themes/components/button/_outlined-button-theme.scss +8 -8
  6. package/sass/themes/components/button-group/_button-group-theme.scss +6 -6
  7. package/sass/themes/components/calendar/_calendar-theme.scss +10 -10
  8. package/sass/themes/components/card/_card-theme.scss +2 -2
  9. package/sass/themes/components/carousel/_carousel-theme.scss +3 -3
  10. package/sass/themes/components/checkbox/_checkbox-theme.scss +4 -4
  11. package/sass/themes/components/chip/_chip-theme.scss +9 -9
  12. package/sass/themes/components/combo/_combo-theme.scss +1 -1
  13. package/sass/themes/components/expansion-panel/_expansion-panel-theme.scss +1 -1
  14. package/sass/themes/components/grid/_grid-theme.scss +7 -7
  15. package/sass/themes/components/icon-button/_contained-icon-button-theme.scss +8 -8
  16. package/sass/themes/components/icon-button/_flat-icon-button-theme.scss +2 -2
  17. package/sass/themes/components/icon-button/_outlined-icon-button-theme.scss +3 -3
  18. package/sass/themes/components/input/_input-theme.scss +4 -4
  19. package/sass/themes/components/list/_list-theme.scss +1 -1
  20. package/sass/themes/components/navbar/_navbar-theme.scss +1 -1
  21. package/sass/themes/components/navdrawer/_navdrawer-theme.scss +2 -2
  22. package/sass/themes/components/query-builder/_query-builder-theme.scss +3 -3
  23. package/sass/themes/components/radio/_radio-theme.scss +4 -4
  24. package/sass/themes/components/select/_select-theme.scss +1 -1
  25. package/sass/themes/components/slider/_slider-theme.scss +5 -5
  26. package/sass/themes/components/splitter/_splitter-theme.scss +1 -1
  27. package/sass/themes/components/stepper/_stepper-theme.scss +9 -9
  28. package/sass/themes/components/switch/_switch-theme.scss +14 -14
  29. package/sass/themes/components/tabs/_tabs-theme.scss +5 -5
  30. package/sass/themes/components/tree/_tree-theme.scss +4 -4
  31. package/tailwind/utilities/bootstrap.css +1 -1
  32. package/tailwind/utilities/fluent.css +1 -1
  33. package/tailwind/utilities/indigo.css +1 -1
  34. package/tailwind/utilities/material.css +1 -1
@@ -107,7 +107,7 @@
107
107
  }
108
108
 
109
109
  @if not($hover-background) and $background {
110
- $hover-background: hsl(from var(--background) h s calc(l * 1.1));
110
+ $hover-background: dynamic-shade(var(--background));
111
111
  }
112
112
 
113
113
  @if not($focus-background) and $background {
@@ -119,11 +119,11 @@
119
119
  }
120
120
 
121
121
  @if not($focus-hover-background) and $focus-background {
122
- $focus-hover-background: hsl(from var(--focus-background) h s calc(l * 1.1));
122
+ $focus-hover-background: dynamic-shade(var(--focus-background));
123
123
  }
124
124
 
125
125
  @if not($active-background) and $background {
126
- $active-background: hsl(from var(--background) h s calc(l * 1.1));
126
+ $active-background: dynamic-shade(var(--background));
127
127
  }
128
128
  } @else {
129
129
  @if not($foreground) and $background {
@@ -131,14 +131,14 @@
131
131
  }
132
132
 
133
133
  @if not($hover-background) and $background {
134
- $hover-background: hsl(from var(--background) h s calc(l * 0.9));
134
+ $hover-background: dynamic-shade(var(--background));
135
135
  }
136
136
 
137
137
  @if not($focus-background) and $background {
138
138
  @if $variant == 'fluent' or $variant == 'bootstrap' {
139
139
  $focus-background: var(--background);
140
140
  } @else {
141
- $focus-background: hsl(from var(--background) h s calc(l * 0.8));
141
+ $focus-background: dynamic-shade(var(--background), $offset: 10);
142
142
  }
143
143
  }
144
144
 
@@ -147,11 +147,11 @@
147
147
  }
148
148
 
149
149
  @if not($focus-hover-background) and $focus-background {
150
- $focus-hover-background: hsl(from var(--focus-background) h s calc(l * 0.9));
150
+ $focus-hover-background: dynamic-shade(var(--focus-background));
151
151
  }
152
152
 
153
153
  @if not($active-background) and $background {
154
- $active-background: hsl(from var(--background) h s calc(l * 0.8));
154
+ $active-background: dynamic-shade(var(--background), $offset: 10);
155
155
  }
156
156
  }
157
157
 
@@ -177,7 +177,7 @@
177
177
  }
178
178
  } @else {
179
179
  @if not($focus-border-color) and $border-color {
180
- $focus-border-color: hsl(from var(--border-color) h s calc(l * 0.8));
180
+ $focus-border-color: dynamic-shade(var(--border-color), $offset: 10);
181
181
  }
182
182
  }
183
183
 
@@ -161,7 +161,7 @@
161
161
 
162
162
  @if $variant == 'bootstrap' or $variant == 'indigo' {
163
163
  @if not($hover-foreground) and $foreground {
164
- $hover-foreground: hsl(from var(--foreground) h s calc(l * 0.9));
164
+ $hover-foreground: dynamic-shade(var(--foreground));
165
165
  }
166
166
 
167
167
  @if not($focus-foreground) and $foreground {
@@ -178,7 +178,7 @@
178
178
 
179
179
  @if $variant == 'bootstrap' {
180
180
  @if not($active-foreground) and $foreground {
181
- $active-foreground: hsl(from var(--foreground) h s calc(l * 0.7));
181
+ $active-foreground: dynamic-shade(var(--foreground), $offset: 10);
182
182
  }
183
183
 
184
184
  @if not($shadow-color) and $foreground {
@@ -159,7 +159,7 @@
159
159
  }
160
160
 
161
161
  @if not($hover-foreground) and $foreground {
162
- $hover-foreground: hsl(from var(--foreground) h s calc(l * 0.9));
162
+ $hover-foreground: dynamic-shade(var(--foreground));
163
163
  }
164
164
 
165
165
  @if not($hover-background) and $foreground {
@@ -205,7 +205,7 @@
205
205
  }
206
206
 
207
207
  @if not($focus-hover-background) and $focus-background {
208
- $focus-hover-background: hsl(from var(--focus-background) h s calc(l * 0.9));
208
+ $focus-hover-background: dynamic-shade(var(--focus-background));
209
209
  }
210
210
 
211
211
  @if not($focus-hover-foreground) and $focus-hover-background {
@@ -213,7 +213,7 @@
213
213
  }
214
214
 
215
215
  @if not($active-background) and $foreground {
216
- $active-background: hsl(from var(--foreground) h s calc(l * 0.8));
216
+ $active-background: dynamic-shade(var(--foreground), $offset: 10);
217
217
  }
218
218
 
219
219
  @if not($active-foreground) and $active-background {
@@ -158,7 +158,7 @@
158
158
  }
159
159
 
160
160
  @if not($box-background-focus) and $box-background {
161
- $box-background-focus: hsl(from var(--box-background) h s calc(l * 0.9));
161
+ $box-background-focus: dynamic-shade(var(--box-background));
162
162
  }
163
163
 
164
164
  @if not($placeholder-color) and $box-background {
@@ -253,7 +253,7 @@
253
253
  @if $variant == 'material' or $variant == 'indigo' {
254
254
  // bottom line color
255
255
  @if not($hover-bottom-line-color) and $idle-bottom-line-color {
256
- $hover-bottom-line-color: hsl(from var(--idle-bottom-line-color) h s calc(l * 0.8));
256
+ $hover-bottom-line-color: dynamic-shade(var(--idle-bottom-line-color), $offset: 10);
257
257
  }
258
258
 
259
259
  @if not($focused-bottom-line-color) and $hover-bottom-line-color {
@@ -274,7 +274,7 @@
274
274
  // border-color
275
275
  @if $variant == 'bootstrap' {
276
276
  @if not($focused-border-color) and $border-color {
277
- $focused-border-color: hsl(from var(--border-color) h s calc(l * 0.8));
277
+ $focused-border-color: dynamic-shade(var(--border-color), $offset: 10);
278
278
  }
279
279
 
280
280
  @if not($focused-secondary-color) and $focused-border-color {
@@ -282,7 +282,7 @@
282
282
  }
283
283
  } @else {
284
284
  @if not($hover-border-color) and $border-color {
285
- $hover-border-color: hsl(from var(--border-color) h s calc(l * 0.8));
285
+ $hover-border-color: dynamic-shade(var(--border-color), $offset: 10);
286
286
  }
287
287
 
288
288
  @if not($focused-border-color) and $hover-border-color {
@@ -116,7 +116,7 @@
116
116
  }
117
117
 
118
118
  @if not($item-background-hover) and $item-background {
119
- $item-background-hover: dynamic-shade($item-background);
119
+ $item-background-hover: dynamic-shade(var(--item-background));
120
120
  }
121
121
 
122
122
  @if not($item-background-active) and $item-background-hover {
@@ -55,7 +55,7 @@
55
55
  }
56
56
 
57
57
  @if not($hover-icon-color) and $idle-icon-color {
58
- $hover-icon-color: hsl(from (var(--idle-icon-color)) h s calc(l * 1.1));
58
+ $hover-icon-color: dynamic-shade(var(--idle-icon-color));
59
59
  }
60
60
 
61
61
  @if not($idle-icon-color) and $background {
@@ -91,7 +91,7 @@
91
91
  }
92
92
 
93
93
  @if not($item-hover-background) and $background {
94
- $item-hover-background: dynamic-shade($background);
94
+ $item-hover-background: dynamic-shade(var(--background));
95
95
  }
96
96
 
97
97
  @if not($item-hover-text-color) and $background {
@@ -103,7 +103,7 @@
103
103
  }
104
104
 
105
105
  @if not($item-active-background) and $background {
106
- $item-active-background: dynamic-shade($background, $offset: 10);
106
+ $item-active-background: dynamic-shade(var(--background), $offset: 10);
107
107
  }
108
108
 
109
109
  @if not($item-active-text-color) and $item-active-background {
@@ -75,15 +75,15 @@
75
75
  }
76
76
 
77
77
  @if not($subquery-header-background) and $header-background {
78
- $subquery-header-background: hsl(from var(--header-background) h s calc(l * 0.9));
78
+ $subquery-header-background: dynamic-shade(var(--header-background));
79
79
  }
80
80
 
81
81
  @if not($subquery-border-color) and $subquery-header-background {
82
- $subquery-border-color: hsl(from var(--subquery-header-background) h s calc(l * 0.9));
82
+ $subquery-border-color: dynamic-shade(var(--subquery-header-background));
83
83
  }
84
84
 
85
85
  @if not($separator-color) and $subquery-border-color {
86
- $separator-color: hsl(from var(--subquery-border-color) h s calc(l * 0.9));
86
+ $separator-color: dynamic-shade(var(--subquery-border-color));
87
87
  }
88
88
 
89
89
  @if $variant == 'bootstrap' {
@@ -76,11 +76,11 @@
76
76
  $variant: map.get($theme, '_meta', 'theme');
77
77
 
78
78
  @if not($hover-color) and $empty-color {
79
- $hover-color: hsl(from var(--empty-color) h s calc(l * 0.9));
79
+ $hover-color: dynamic-shade(var(--empty-color));
80
80
  }
81
81
 
82
82
  @if not($fill-color-hover) and $fill-color {
83
- $fill-color-hover: hsl(from var(--fill-color) h s calc(l * 0.9));
83
+ $fill-color-hover: dynamic-shade(var(--fill-color));
84
84
  }
85
85
 
86
86
  @if $variant != 'bootstrap' {
@@ -90,11 +90,11 @@
90
90
  }
91
91
 
92
92
  @if not($label-color-hover) and $label-color {
93
- $label-color-hover: hsl(from var(--label-color) h s calc(l * 0.9));
93
+ $label-color-hover: dynamic-shade(var(--label-color));
94
94
  }
95
95
 
96
96
  @if not($error-color-hover) and $error-color {
97
- $error-color-hover: hsl(from var(--error-color) h s calc(l * 0.9));
97
+ $error-color-hover: dynamic-shade(var(--error-color));
98
98
  }
99
99
 
100
100
  @if not($focus-outline-color-error) and $error-color {
@@ -62,7 +62,7 @@
62
62
 
63
63
  @if $variant == 'material' {
64
64
  @if not($toggle-button-background-focus) and $toggle-button-background {
65
- $toggle-button-background-focus: hsl(from var(--toggle-button-background) h s calc(l * 0.9));
65
+ $toggle-button-background-focus: dynamic-shade(var(--toggle-button-background));
66
66
  }
67
67
  } @else {
68
68
  @if not($toggle-button-background-focus) and $toggle-button-background {
@@ -87,12 +87,12 @@
87
87
  }
88
88
 
89
89
  @if not($thumb-border-hover-color) and $thumb-border-color {
90
- $thumb-border-hover-color: hsl(from var(--thumb-border-color) h s calc(l * 1.1));
90
+ $thumb-border-hover-color: dynamic-shade(var(--thumb-border-color));
91
91
  }
92
92
 
93
93
  @if $variant == 'fluent' {
94
94
  @if not($thumb-focus-color) and $thumb-border-color {
95
- $thumb-focus-color: hsl(from var(--thumb-border-color) h s calc(l * 1.2));
95
+ $thumb-focus-color: dynamic-shade(var(--thumb-border-color), $offset: 10);
96
96
  }
97
97
  } @else {
98
98
  @if not($thumb-focus-color) and $thumb-border-color {
@@ -126,7 +126,7 @@
126
126
  }
127
127
 
128
128
  @if not($track-hover-color) and $track-color {
129
- $track-hover-color: hsl(from var(--track-color) h s calc(l * 1.1));
129
+ $track-hover-color: dynamic-shade(var(--track-color));
130
130
  }
131
131
 
132
132
  @if $variant != 'bootstrap' {
@@ -149,7 +149,7 @@
149
149
  }
150
150
  } @else {
151
151
  @if not($base-track-hover-color) and $base-track-color {
152
- $base-track-hover-color: hsl(from var(--base-track-color) h s calc(l * 0.8));
152
+ $base-track-hover-color: dynamic-shade(var(--base-track-color), $offset: 10);
153
153
  }
154
154
  }
155
155
 
@@ -166,7 +166,7 @@
166
166
  }
167
167
 
168
168
  @if not($disabled-thumb-color) and $thumb-color {
169
- $disabled-thumb-color: hsl(from var(--thumb-color) h calc(s * 0.5) calc(l * 1.2));
169
+ $disabled-thumb-color: hsl(from dynamic-shade(var(--thumb-color), $offset: 10) h calc(s * 0.5) l);
170
170
  }
171
171
 
172
172
  @if not($thumb-disabled-border-color) and $thumb-border-color {
@@ -58,7 +58,7 @@
58
58
 
59
59
  @if $variant != 'indigo' {
60
60
  @if not($focus-color) and $bar-color {
61
- $focus-color: hsl(from var(--bar-color) h s calc(l * 0.7));
61
+ $focus-color: dynamic-shade(var(--bar-color), $offset: 10);
62
62
  }
63
63
  } @else {
64
64
  @if not($focus-color) and $bar-color {
@@ -193,11 +193,11 @@
193
193
 
194
194
  // default step
195
195
  @if not($step-hover-background) and $step-background {
196
- $step-hover-background: hsl(from var(--step-background) h s calc(l * 0.8));
196
+ $step-hover-background: dynamic-shade(var(--step-background), $offset: 10);
197
197
  }
198
198
 
199
199
  @if not($step-focus-background) and $step-background {
200
- $step-focus-background: hsl(from var(--step-background) h s calc(l * 0.9));
200
+ $step-focus-background: dynamic-shade(var(--step-background));
201
201
  }
202
202
 
203
203
  @if not($indicator-background) and $step-background {
@@ -242,15 +242,15 @@
242
242
  }
243
243
 
244
244
  @if not($current-step-hover-background) and $current-step-background {
245
- $current-step-hover-background: hsl(from var(--current-step-background) h s calc(l * 0.8));
245
+ $current-step-hover-background: dynamic-shade(var(--current-step-background), $offset: 10);
246
246
  }
247
247
 
248
248
  @if not($current-step-focus-background) and $current-step-background {
249
- $current-step-focus-background: hsl(from var(--current-step-background) h s calc(l * 0.9));
249
+ $current-step-focus-background: dynamic-shade(var(--current-step-background));
250
250
  }
251
251
 
252
252
  @if not($current-indicator-background) and $current-step-background {
253
- $current-indicator-background: hsl(from var(--current-step-background) h s calc(l * 0.6));
253
+ $current-indicator-background: dynamic-shade(var(--current-step-background), $offset: 20);
254
254
  }
255
255
 
256
256
  @if not($current-indicator-outline) and $current-indicator-background {
@@ -291,11 +291,11 @@
291
291
  }
292
292
 
293
293
  @if not($invalid-step-hover-background) and $invalid-step-background {
294
- $invalid-step-hover-background: hsl(from var(--invalid-step-background) h s calc(l * 0.8));
294
+ $invalid-step-hover-background: dynamic-shade(var(--invalid-step-background), $offset: 8);
295
295
  }
296
296
 
297
297
  @if not($invalid-step-focus-background) and $invalid-step-background {
298
- $invalid-step-focus-background: hsl(from var(--invalid-step-background) h s calc(l * 0.9));
298
+ $invalid-step-focus-background: dynamic-shade(var(--invalid-step-background));
299
299
  }
300
300
 
301
301
  @if not($invalid-indicator-background) and not($step-background) and $invalid-step-background {
@@ -340,11 +340,11 @@
340
340
  }
341
341
 
342
342
  @if not($complete-step-hover-background) and $complete-step-background {
343
- $complete-step-hover-background: hsl(from var(--complete-step-background) h s calc(l * 0.8));
343
+ $complete-step-hover-background: dynamic-shade(var(--complete-step-background), $offset: 8);
344
344
  }
345
345
 
346
346
  @if not($complete-step-focus-background) and $complete-step-background {
347
- $complete-step-focus-background: hsl(from var(--complete-step-background) h s calc(l * 0.9));
347
+ $complete-step-focus-background: dynamic-shade(var(--complete-step-background));
348
348
  }
349
349
 
350
350
  @if not($complete-indicator-background) and $complete-step-background {
@@ -101,11 +101,11 @@
101
101
 
102
102
  @if $variant == 'material' {
103
103
  @if not($track-off-color) and $thumb-off-color {
104
- $track-off-color: hsl(from var(--thumb-off-color) h s calc(l * 0.5));
104
+ $track-off-color: dynamic-shade(var(--thumb-off-color), $offset: 20);
105
105
  }
106
106
 
107
107
  @if not($thumb-off-color) and $track-off-color {
108
- $thumb-off-color: hsl(from var(--track-off-color) h s calc(l * 1.3));
108
+ $thumb-off-color: dynamic-shade(var(--track-off-color), $offset: 20);
109
109
  }
110
110
 
111
111
  @if not($thumb-disabled-color) and $thumb-off-color {
@@ -113,15 +113,15 @@
113
113
  }
114
114
 
115
115
  @if not($track-on-color) and $thumb-on-color {
116
- $track-on-color: hsl(from var(--thumb-on-color) h s calc(l * 1.3));
116
+ $track-on-color: dynamic-shade(var(--thumb-on-color), $offset: 20);
117
117
  }
118
118
 
119
- @if not($track-on-hover-color) and $track-on-color {
120
- $track-on-hover-color: var(--track-on-color);
119
+ @if not($thumb-on-color) and $track-on-color {
120
+ $thumb-on-color: dynamic-shade(var(--track-on-color), $offset: 20);
121
121
  }
122
122
 
123
- @if not($thumb-on-color) and $track-on-color {
124
- $thumb-on-color: hsl(from var(--track-on-color) h s calc(l * 0.6));
123
+ @if not($track-on-hover-color) and $track-on-color {
124
+ $track-on-hover-color: var(--track-on-color);
125
125
  }
126
126
 
127
127
  @if not($thumb-on-disabled-color) and $thumb-on-color {
@@ -141,15 +141,15 @@
141
141
  }
142
142
 
143
143
  @if not($border-hover-color) and $track-off-color {
144
- $border-hover-color: hsla(from var(--thumb-off-color) h s l / 0.9);
144
+ $border-hover-color: dynamic-shade(var(--track-off-color));
145
145
  }
146
146
 
147
147
  @if not($border-hover-color) and $border-color {
148
- $border-hover-color: hsl(from var(--border-color) h s calc(l * 0.8));
148
+ $border-hover-color: dynamic-shade(var(--border-color));
149
149
  }
150
150
 
151
151
  @if not($thumb-off-hover-color) and $thumb-off-color {
152
- $thumb-off-hover-color: hsla(from var(--thumb-off-color) h s l / 0.9);
152
+ $thumb-off-hover-color: dynamic-shade(var(--thumb-off-color));
153
153
  }
154
154
 
155
155
  @if not($thumb-on-color) and $track-on-color {
@@ -157,7 +157,7 @@
157
157
  }
158
158
 
159
159
  @if not($track-on-hover-color) and $track-on-color {
160
- $track-on-hover-color: hsl(from var(--track-on-color) h s calc(l * 0.9));
160
+ $track-on-hover-color: dynamic-shade(var(--track-on-color));
161
161
  }
162
162
 
163
163
  @if not($border-on-color) and $track-on-color {
@@ -165,7 +165,7 @@
165
165
  }
166
166
 
167
167
  @if not($border-on-hover-color) and $border-on-color {
168
- $border-on-hover-color: hsl(from var(--border-on-color) h s calc(l * 0.9));
168
+ $border-on-hover-color: dynamic-shade(var(--border-on-color));
169
169
  }
170
170
 
171
171
  @if not($thumb-disabled-color) and $thumb-off-color {
@@ -182,7 +182,7 @@
182
182
 
183
183
  @if $variant == 'bootstrap' {
184
184
  @if not($focus-fill-color) and $track-on-color {
185
- $focus-fill-color: hsl(from var(--track-on-color) h s calc(l * 1.2));
185
+ $focus-fill-color: dynamic-shade(var(--track-on-color), $offset: 8);
186
186
  }
187
187
 
188
188
  @if not($focus-outline-color) and $focus-fill-color {
@@ -190,7 +190,7 @@
190
190
  }
191
191
 
192
192
  @if not($focus-fill-hover-color) and $focus-fill-color {
193
- $focus-fill-hover-color: hsl(from var(--focus-fill-color) h s calc(l * 0.9));
193
+ $focus-fill-hover-color: dynamic-shade(var(--focus-fill-color));
194
194
  }
195
195
  }
196
196
 
@@ -82,7 +82,7 @@
82
82
  $variant: map.get($theme, '_meta', 'theme');
83
83
 
84
84
  @if not($item-active-background) and $item-background {
85
- $item-active-background: hsl(from var(--item-background) h s calc(l * 0.9));
85
+ $item-active-background: dynamic-shade(var(--item-background));
86
86
  }
87
87
 
88
88
  @if not($item-background) {
@@ -150,7 +150,7 @@
150
150
  }
151
151
 
152
152
  @if not($item-hover-background) and $item-background {
153
- $item-hover-background: hsl(from var(--item-background) h s calc(l * 0.9));
153
+ $item-hover-background: dynamic-shade(var(--item-background));
154
154
  }
155
155
 
156
156
  @if $variant == 'bootstrap' {
@@ -188,7 +188,7 @@
188
188
  }
189
189
 
190
190
  @if not($button-hover-background) and $item-background {
191
- $button-hover-background: hsl(from var(--item-background) h s calc(l * 0.9));
191
+ $button-hover-background: dynamic-shade(var(--item-background));
192
192
  }
193
193
  } @else if not($button-background) {
194
194
  @if $variant != 'material' {
@@ -197,7 +197,7 @@
197
197
  }
198
198
 
199
199
  @if not($button-hover-color) and $button-color {
200
- $button-hover-color: hsl(from var(--button-color) h s calc(l * 0.9));
200
+ $button-hover-color: dynamic-shade(var(--button-color));
201
201
  }
202
202
 
203
203
  @if not($button-disabled-color) and $button-color {
@@ -208,7 +208,7 @@
208
208
 
209
209
  @if $button-background {
210
210
  @if not($button-hover-background) and $button-background {
211
- $button-hover-background: hsl(from var(--button-background) h s calc(l * 0.9));
211
+ $button-hover-background: dynamic-shade(var(--button-background));
212
212
  }
213
213
  }
214
214
 
@@ -72,7 +72,7 @@
72
72
  }
73
73
 
74
74
  @if not($background-selected) and $background {
75
- $background-selected: hsl(from var(--background) h s calc(l * 0.9));
75
+ $background-selected: dynamic-shade(var(--background));
76
76
  }
77
77
 
78
78
  @if not($hover-color) and $background {
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  @if not($hover-selected-color) and $background-selected {
83
- $hover-selected-color: hsl(from var(--background-selected) h s calc(l * 0.9));
83
+ $hover-selected-color: dynamic-shade(var(--background-selected));
84
84
  }
85
85
 
86
86
  @if not($foreground-selected) and $background-selected {
@@ -88,7 +88,7 @@
88
88
  }
89
89
 
90
90
  @if not($background-active) and $background {
91
- $background-active: hsl(from var(--background) h s calc(l * 0.9));
91
+ $background-active: dynamic-shade(var(--background));
92
92
  }
93
93
 
94
94
  @if not($foreground-active) and $background-active {
@@ -96,7 +96,7 @@
96
96
  }
97
97
 
98
98
  @if not($background-active-selected) and $background-active {
99
- $background-active-selected: hsl(from var(--background-active) h s calc(l * 0.9));
99
+ $background-active-selected: dynamic-shade(var(--background-active));
100
100
  }
101
101
 
102
102
  @if not($foreground-active-selected) and $background-active-selected {