From 72164f3f18f34d0384be894ccd112cacccd335fb Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 16 Feb 2025 14:27:25 +0100 Subject: [PATCH] Migrate common components to sass-embedded --- client/src/common/components/Background/styles.sass | 2 +- client/src/common/components/Button/styles.sass | 2 +- client/src/common/components/Footer/styles.sass | 2 +- client/src/common/components/Header/styles.sass | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/client/src/common/components/Background/styles.sass b/client/src/common/components/Background/styles.sass index 411d120..65f7f00 100644 --- a/client/src/common/components/Background/styles.sass +++ b/client/src/common/components/Background/styles.sass @@ -1,4 +1,4 @@ -@import "@styles/colors" +@use "@styles/colors" as * .background svg position: absolute diff --git a/client/src/common/components/Button/styles.sass b/client/src/common/components/Button/styles.sass index bf7b8fa..3b995cf 100644 --- a/client/src/common/components/Button/styles.sass +++ b/client/src/common/components/Button/styles.sass @@ -1,4 +1,4 @@ -@import "@styles/colors" +@use "@styles/colors" as * .btn display: flex diff --git a/client/src/common/components/Footer/styles.sass b/client/src/common/components/Footer/styles.sass index bd0965d..bf95374 100644 --- a/client/src/common/components/Footer/styles.sass +++ b/client/src/common/components/Footer/styles.sass @@ -1,4 +1,4 @@ -@import "@styles/colors" +@use "@styles/colors" as * footer height: 10vh diff --git a/client/src/common/components/Header/styles.sass b/client/src/common/components/Header/styles.sass index 71334f4..c45a8d1 100644 --- a/client/src/common/components/Header/styles.sass +++ b/client/src/common/components/Header/styles.sass @@ -1,3 +1,5 @@ +@use "@styles/colors" as * + header display: flex justify-content: center @@ -8,9 +10,12 @@ header svg font-size: 26pt + background-color: $background h1 margin: 0 + padding: 2rem 1rem + background-color: $background header * z-index: 2