Added the error button style

This commit is contained in:
Mathias Wagner 2023-11-14 09:42:57 +01:00
parent 672197b36b
commit 292fb0b5a7
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -1,9 +1,7 @@
@import "@/common/styles/colors" @import "@/common/styles/colors"
.btn .btn
background-color: $primary
border: none border: none
color: $text
font-weight: 600 font-weight: 600
transition: all 0.2s transition: all 0.2s
cursor: pointer cursor: pointer
@ -18,6 +16,14 @@
border-radius: 1rem border-radius: 1rem
font-size: 18pt font-size: 18pt
.btn-type-primary
background-color: $primary
color: $text
.btn-type-error
background-color: $error
color: $text
.btn:hover .btn:hover
filter: brightness(0.9) filter: brightness(0.9)