From 17b59213d31695a096ab68dd3cf7d6591c9e217b Mon Sep 17 00:00:00 2001 From: Kazgatari <56477241+Kazgatari@users.noreply.github.com> Date: Sat, 1 Aug 2026 15:12:59 +0200 Subject: [PATCH] changed static color to use dynamic theme --- .../shared/ui/loading/loading.component.html | 2 +- .../location-selector.component.html | 8 +++- .../location-selector.component.scss | 41 +++++++++++-------- .../ui/news-card/news-card.component.scss | 20 ++++----- .../weights-sliders.component.scss | 24 +++++------ .../year-range-slider.component.scss | 30 +++++++------- 6 files changed, 67 insertions(+), 58 deletions(-) diff --git a/webapp/src/app/shared/ui/loading/loading.component.html b/webapp/src/app/shared/ui/loading/loading.component.html index e8f07ec6..590bb580 100644 --- a/webapp/src/app/shared/ui/loading/loading.component.html +++ b/webapp/src/app/shared/ui/loading/loading.component.html @@ -3,7 +3,7 @@ - + {{ icon }} diff --git a/webapp/src/app/shared/ui/location-selector/location-selector.component.html b/webapp/src/app/shared/ui/location-selector/location-selector.component.html index 9b3d6550..c477e509 100644 --- a/webapp/src/app/shared/ui/location-selector/location-selector.component.html +++ b/webapp/src/app/shared/ui/location-selector/location-selector.component.html @@ -50,7 +50,9 @@ class="comparison-item location-item" [style.border-color]="getEntityColor()(c.id)" [style.background]=" - 'color-mix(in srgb, ' + getEntityColor()(c.id) + ' 8%, #ffffff)' + 'color-mix(in srgb, ' + + getEntityColor()(c.id) + + ' 8%, var(--sg-color-mix-base))' " [style.color]="getEntityColor()(c.id)">