From 292fb0b5a73531c190406da4c33591f02fb8ac43 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 14 Nov 2023 09:42:57 +0100 Subject: [PATCH] Added the error button style --- src/common/components/Button/styles.sass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/common/components/Button/styles.sass b/src/common/components/Button/styles.sass index 031e707..7e810dd 100644 --- a/src/common/components/Button/styles.sass +++ b/src/common/components/Button/styles.sass @@ -1,9 +1,7 @@ @import "@/common/styles/colors" .btn - background-color: $primary border: none - color: $text font-weight: 600 transition: all 0.2s cursor: pointer @@ -18,6 +16,14 @@ border-radius: 1rem font-size: 18pt +.btn-type-primary + background-color: $primary + color: $text + +.btn-type-error + background-color: $error + color: $text + .btn:hover filter: brightness(0.9)