feat: Replace deprecated sass color functions
This commit is contained in:
parent
41c5757790
commit
50b0d864c2
5 changed files with 15 additions and 7 deletions
|
|
@ -1,3 +1,5 @@
|
|||
@use "sass:color";
|
||||
|
||||
@mixin nav-spacer($name, $size, $orientation) {
|
||||
.spacer.#{$name} {
|
||||
width: $size;
|
||||
|
|
@ -35,7 +37,7 @@
|
|||
|
||||
&>header,
|
||||
&>footer {
|
||||
background-color: transparentize($color_back_io, .5);
|
||||
background-color: color.adjust($color_back_io, $alpha: -.5);
|
||||
|
||||
&:hover {
|
||||
background-color: $color_back_io;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
@use "sass:color";
|
||||
|
||||
$module_top_height: 32px;
|
||||
$body_top_space: $module_top_height + $space_basic;
|
||||
|
||||
|
|
@ -26,7 +28,7 @@ $body_top_space: $module_top_height + $space_basic;
|
|||
|
||||
.item {
|
||||
// height: unset;
|
||||
border-color: darken($color_back_basic, $color_diff_tiny);
|
||||
border-color: color.scale($color_back_basic, $lightness: -$color_diff_tiny);
|
||||
border-style: dotted;
|
||||
border-width: $width_border_8;
|
||||
border-radius: $width_border_8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue