fix sass darken() deprecation
This commit is contained in:
parent
e48b0c54b6
commit
103d0c652d
1 changed files with 2 additions and 1 deletions
|
|
@ -1023,6 +1023,7 @@
|
|||
/>
|
||||
|
||||
<style lang="scss">
|
||||
@use 'sass:color';
|
||||
@use '$src/themes/typography' as *;
|
||||
@use '$src/themes/colors' as *;
|
||||
@use '$src/themes/spacing' as *;
|
||||
|
|
@ -1145,7 +1146,7 @@
|
|||
border: none;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: darken($error, 10%);
|
||||
background: color.adjust($error, $lightness: -10%);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue