feat: Replace deprecated sass things
- Global built-in functions - Color functions
This commit is contained in:
parent
225c1dd55c
commit
b739ddefda
13 changed files with 96 additions and 81 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@charset "UTF-8";
|
||||
@use "sass:color";
|
||||
|
||||
// Mixes a color with black.
|
||||
//
|
||||
|
|
@ -20,5 +20,5 @@
|
|||
// @return {Color}
|
||||
|
||||
@function shade($color, $percent) {
|
||||
@return mix(#000, $color, $percent);
|
||||
@return color.mix(#000, $color, $percent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue