|
257 | 257 |
|
258 | 258 | @if $variant == 'fluent' { |
259 | 259 | --background: transparent; |
260 | | - --focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
| 260 | + --focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover}); |
261 | 261 | --focus-visible-background: transparent; |
262 | | - --focus-background: transparent; |
263 | | - --active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
264 | | - --hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
| 262 | + --focus-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus}); |
| 263 | + --active-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-focus}); |
| 264 | + --hover-background: hsl(from #{var-get($theme, 'color-expression-group-and')} h s l / #{$alpha-hover}); |
265 | 265 | } |
266 | 266 |
|
267 | 267 | --foreground: #{var-get($theme, 'color-expression-group-and')}; |
|
307 | 307 |
|
308 | 308 | @if $variant == 'fluent' { |
309 | 309 | --background: transparent; |
310 | | - --focus-hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
| 310 | + --focus-hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover}); |
311 | 311 | --focus-visible-background: transparent; |
312 | | - --focus-background: transparent; |
313 | | - --active-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
314 | | - --hover-background: #{color($color: 'gray', $variant: if($theme-variant == 'light', 200, 50))}; |
| 312 | + --focus-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus}); |
| 313 | + --active-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-focus}); |
| 314 | + --hover-background: hsl(from #{var-get($theme, 'color-expression-group-or')} h s l / #{$alpha-hover}); |
315 | 315 | } |
316 | 316 |
|
317 | 317 | --foreground: #{var-get($theme, 'color-expression-group-or')}; |
|
0 commit comments