Use "light" instead of @else

This commit is contained in:
daudix
2024-09-02 02:15:45 +03:00
parent ee33a73d22
commit 1b0bcfba93
2 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@ Hate the skeuomorphic edge highlight on all semi-transparent elements? Let's get
@import "../themes/duckquill/sass/_variables.scss";
@include theme-variables using ($theme) {
@else {
@if $theme == "light" {
--edge-highlight: 0 0 0 transparent;
}
}
@ -192,7 +192,7 @@ Want to set some nice image as a background? We got you covered:
@import "../themes/duckquill/sass/_variables.scss";
@include theme-variables using ($theme) {
@if $theme =="dark" {
@if $theme == "dark" {
--bg-color: linear-gradient(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.9));
}

View File

@ -15,7 +15,7 @@
}
@include theme-variables using ($theme) {
@if $theme =="dark" {
@if $theme == "dark" {
// COLORS
--bg-color: color-mix(in srgb, var(--primary-color) 10%, black);
--fg-color: rgb(255 255 255);