fix: rename vars
This commit is contained in:
parent
7d7633eb69
commit
91a6f04643
|
@ -54,7 +54,7 @@
|
|||
}
|
||||
|
||||
.nav-indicator {
|
||||
background: var(--nav-indicator-bg-theme);
|
||||
background: var(--nav-indicator-bg);
|
||||
}
|
||||
|
||||
.nav-indicator.animate {
|
||||
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
|
||||
.main-nav-link.selected .nav-indicator {
|
||||
background: var(--nav-indicator-bg);
|
||||
background: var(--nav-indicator-bg-active);
|
||||
}
|
||||
|
||||
/* Desktop/mouse only https://medium.com/@mezoistvan/finally-a-css-only-solution-to-hover-on-touchscreens-c498af39c31c */
|
||||
|
|
|
@ -34,9 +34,9 @@
|
|||
--nav-a-selected-active-bg: var(--nav-a-selected-bg-hover);
|
||||
--nav-svg-fill: #{$secondary-text-color};
|
||||
--nav-text-color: #{$secondary-text-color};
|
||||
--nav-indicator-bg: #{mix($secondary-text-color, $main-theme-color, 90%)};
|
||||
--nav-indicator-bg: #{$main-theme-color};
|
||||
--nav-indicator-bg-active: #{mix($secondary-text-color, $main-theme-color, 90%)};
|
||||
--nav-indicator-bg-hover: #{mix($secondary-text-color, $main-theme-color, 60%)};
|
||||
--nav-indicator-bg-theme: #{$main-theme-color};
|
||||
|
||||
--nav-a-selected-border-hover: #{$secondary-text-color};
|
||||
--nav-a-selected-bg-hover: #{lighten($main-theme-color, 4.5%)};
|
||||
|
|
|
@ -25,5 +25,5 @@ $compose-background: lighten($main-theme-color, 52%);
|
|||
--action-button-fill-color-pressed-hover: #{darken($anchor-color, 2%)};
|
||||
--action-button-fill-color-pressed-active: #{darken($anchor-color, 15%)};
|
||||
|
||||
--nav-indicator-bg-theme: #{$main-theme-color}; // special override on the nav indicator color
|
||||
--nav-indicator-bg: #{$main-theme-color}; // special override on the nav indicator color
|
||||
}
|
||||
|
|
|
@ -17,5 +17,5 @@ $compose-background: lighten($main-theme-color, 52%);
|
|||
@import "_dark_scrollbars.scss";
|
||||
|
||||
:root {
|
||||
--nav-indicator-bg-theme: #{$main-theme-color}; // special override on the nav indicator color
|
||||
--nav-indicator-bg: #{$main-theme-color}; // special override on the nav indicator color
|
||||
}
|
||||
|
|
|
@ -17,5 +17,5 @@ $compose-background: lighten($main-theme-color, 52%);
|
|||
@import "_dark_scrollbars.scss";
|
||||
|
||||
:root {
|
||||
--nav-indicator-bg-theme: #{$main-theme-color}; // special override on the nav indicator color
|
||||
--nav-indicator-bg: #{$main-theme-color}; // special override on the nav indicator color
|
||||
}
|
||||
|
|
|
@ -18,5 +18,5 @@ $compose-background: lighten($main-theme-color, 52%);
|
|||
|
||||
:root {
|
||||
accent-color: #{darken($main-theme-color, 5%)};
|
||||
--nav-indicator-bg-theme: #{$main-theme-color}; // special override on the nav indicator color
|
||||
--nav-indicator-bg: #{$main-theme-color}; // special override on the nav indicator color
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue