aboutsummaryrefslogtreecommitdiffstats
path: root/src/scss/components/_buttons.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-30 22:11:00 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-30 22:52:23 +0200
commit3a3baddad1c801d77dc398d2c6980f3c14f4a47c (patch)
tree9e06aef730504470111c010e53a1857f7b01ab83 /src/scss/components/_buttons.scss
parentc3045b163e74b42c0a0e71c646740c76d3bb5ba1 (diff)
chore: move htdocs to repo root
Diffstat (limited to 'src/scss/components/_buttons.scss')
-rw-r--r--src/scss/components/_buttons.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/scss/components/_buttons.scss b/src/scss/components/_buttons.scss
new file mode 100644
index 0000000..bc7959e
--- /dev/null
+++ b/src/scss/components/_buttons.scss
@@ -0,0 +1,21 @@
+@use "../abstracts/functions" as fun;
+
+.btn {
+ background: fun.get-var(color-bg);
+ border: 0;
+ color: fun.get-var(color-primary);
+ cursor: pointer;
+ display: block;
+ font-weight: 600;
+
+ &:hover,
+ &:focus {
+ background: fun.get-var(color-primary);
+ color: fun.get-var(color-fg-inverted);
+ }
+
+ &:active {
+ background: fun.get-var(color-bg);
+ color: fun.get-var(color-primary);
+ }
+}