Improve activated rate button contrast

Signed-off-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
Chocobozzz 2024-11-26 15:38:18 +01:00
parent 148641d197
commit f36244b787
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 13 additions and 1 deletions

View File

@ -10,4 +10,10 @@
.activated {
color: pvar(--fg) !important;
my-global-icon {
color: pvar(--active-icon-color) !important;
@include fill-svg-color(pvar(--active-icon-bg));
}
}

View File

@ -69,7 +69,8 @@ body {
--main-col-width: calc(100vw - #{$menu-width});
--secondary-icon-color: #{pvar(--fg-50)};
--secondary-fg: #{pvar(--fg-50)};
--active-icon-color: #{pvar(--on-primary)};
--active-icon-bg: #{pvar(--primary)};
--border-primary: #{pvar(--primary)};
@ -136,6 +137,9 @@ body {
--alert-primary-fg: #{pvar(--primary-650)};
--alert-primary-bg: #{pvar(--primary-100)};
--alert-primary-border-color: #{pvar(--primary-300)};
--active-icon-color: #{pvar(--fg-450)};
--active-icon-bg: #{pvar(--bg-secondary-600)};
}
& {

View File

@ -117,6 +117,8 @@ $variables: (
--support-btn-heart-bg: var(--support-btn-heart-bg),
--secondary-icon-color: var(--secondary-icon-color),
--active-icon-color: var(--active-icon-color),
--active-icon-bg: var(--active-icon-bg),
--fg-500: var(--fg-500),
--fg-450: var(--fg-450),