From 60e6907469d165c36c6192c85578e931ee049586 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Sat, 18 Nov 2023 17:47:01 +0200 Subject: [PATCH] Make weather black --- src/components/ui/Box.module.css | 5 ++--- src/components/widgets/Weather.module.css | 6 +++--- src/components/widgets/Weather.tsx | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/ui/Box.module.css b/src/components/ui/Box.module.css index d9f3b7f..3735689 100644 --- a/src/components/ui/Box.module.css +++ b/src/components/ui/Box.module.css @@ -1,8 +1,7 @@ .Box { - background-color: rgba(255, 255, 255, 0.75); + background-color: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px); - color: #333; - border-radius: 1rem; + color: #bbb; transition: background-color 0.2s ease-in-out; } diff --git a/src/components/widgets/Weather.module.css b/src/components/widgets/Weather.module.css index 6a8a3ea..28bd256 100644 --- a/src/components/widgets/Weather.module.css +++ b/src/components/widgets/Weather.module.css @@ -15,16 +15,16 @@ gap: .5rem; margin-left: .5rem; font-size: 1.3rem; - color: #333; + color: #ddd; } .FeelsLike :last-child { font-size: 1rem; - color: var(--color-secondary); + color: #bbb; } .Delimiter { - border-bottom: 1px solid #333; + border-bottom: 1px solid #bbb ; padding-bottom: 1.2rem; margin-bottom: .8rem; } diff --git a/src/components/widgets/Weather.tsx b/src/components/widgets/Weather.tsx index 5ecef0d..7e9986e 100644 --- a/src/components/widgets/Weather.tsx +++ b/src/components/widgets/Weather.tsx @@ -25,8 +25,8 @@ export function Weather() {
- - {weather()?.temp_min}° {weather()?.temp_max} + + {weather()?.temp_min}° {weather()?.temp_max} ° {weather()?.humidity}%