aboutsummaryrefslogtreecommitdiff
path: root/src/components/Forecast/ForecastDrawer.svelte
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2022-04-28 14:03:02 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-04-28 14:03:02 +0200
commit9366789872670a4fefd546bb3469def98d3e0b3d (patch)
treef036d780d8302eb3b0716a0601aab885d75a816d /src/components/Forecast/ForecastDrawer.svelte
parent382d3385c21131d9f9e6d1b3511c38e3ba9cb836 (diff)
downloadAurora-data-9366789872670a4fefd546bb3469def98d3e0b3d.tar.gz
Aurora-data-9366789872670a4fefd546bb3469def98d3e0b3d.zip
Add dark theme (no way to change to it yet)
Diffstat (limited to 'src/components/Forecast/ForecastDrawer.svelte')
-rw-r--r--src/components/Forecast/ForecastDrawer.svelte8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/Forecast/ForecastDrawer.svelte b/src/components/Forecast/ForecastDrawer.svelte
index 9f69f17..0fdab29 100644
--- a/src/components/Forecast/ForecastDrawer.svelte
+++ b/src/components/Forecast/ForecastDrawer.svelte
@@ -13,13 +13,9 @@
.drawer {
border-top-left-radius: 2rem;
border-top-right-radius: 2rem;
- --bg-opacity: 1;
- background-color: #f7fafc;
- background-color: rgba(247, 250, 252, var(--bg-opacity));
+ background-color: var(--surface, #f7fafc);
+ color: var(--on-surface, #1a202c);
padding: 1.5rem;
- --text-opacity: 1;
- color: #1a202c;
- color: rgba(26, 32, 44, var(--text-opacity));
height: 100%;
overflow: hidden;
align-self: stretch;