diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-28 14:03:02 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-04-28 14:03:02 +0200 |
commit | 9366789872670a4fefd546bb3469def98d3e0b3d (patch) | |
tree | f036d780d8302eb3b0716a0601aab885d75a816d /src/components/Forecast/ForecastDrawer.svelte | |
parent | 382d3385c21131d9f9e6d1b3511c38e3ba9cb836 (diff) | |
download | Aurora-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.svelte | 8 |
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; |