Skip to content

Commit

Permalink
darken() is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
aarmey committed Nov 29, 2024
1 parent 70ab8de commit a221dce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ hr,

blockquote {
padding: 0 30px;
border-left: 2px solid darken($site-background-color, 15%);
border-left: 2px solid color.adjust($site-background-color, $lightness: -15%, $space: hsl);
}

ul, ol {
Expand Down Expand Up @@ -93,7 +93,7 @@ table {
}

thead {
background-color: darken($site-background-color, 10%);
background-color: color.adjust($site-background-color, $lightness: -10%, $space: hsl);
}
}

Expand Down Expand Up @@ -122,7 +122,7 @@ footer {
}

/*============================================================================*/
.azul { a { color: darken($azul-accent-color, 22%);
.azul { a { color: color.adjust($azul-accent-color, $lightness: -22%, $space: hsl);
&:hover { color: $azul-accent-color;
}}}

Expand Down

0 comments on commit a221dce

Please sign in to comment.