From 04b466067bf4815204d0af86622a41255136e5da Mon Sep 17 00:00:00 2001
From: Dominik Hebeler <dominik@hebeler.club>
Date: Fri, 24 Feb 2023 15:59:58 +0100
Subject: [PATCH] secondary color

---
 pass/public/styles/base.less      | 15 ++++-----------
 pass/public/styles/misc/vars.less |  2 +-
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/pass/public/styles/base.less b/pass/public/styles/base.less
index a0f73d4..ca1ffde 100644
--- a/pass/public/styles/base.less
+++ b/pass/public/styles/base.less
@@ -83,7 +83,7 @@ button {
   &.download {
     display: flex;
     img {
-      height: 1.5em;
+      height: 1.3em;
     }
   }
 
@@ -103,13 +103,13 @@ button {
 
   img {
     filter: brightness(0) invert();
-    height: 1.5rem;
+    height: 1.3rem;
   }
 }
 
 .button {
   display: block;
-  border: 1px solid #777;
+  border: 1px solid darken(@color-secondary, 5%);
   padding: 1rem;
   color: white;
   text-decoration: none;
@@ -118,16 +118,9 @@ button {
   &:hover {
     color: inherit;
     background-color: fade(@color-secondary, 70%);
-    border-color: @color-main;
+    border-color: fade(darken(@color-secondary, 5%), 70%);
     color: fade(white, 90%);
   }
-  &.negative {
-    background-color: @color-negative;
-    &:hover {
-      background-color: fade(@color-negative, 70%);
-      color: white;
-    }
-  }
 }
 
 nav#primary-nav {
diff --git a/pass/public/styles/misc/vars.less b/pass/public/styles/misc/vars.less
index 4b7053f..ae313c8 100644
--- a/pass/public/styles/misc/vars.less
+++ b/pass/public/styles/misc/vars.less
@@ -1,5 +1,5 @@
 @color-main: #ef7700;
-@color-secondary: #3a3af9;
+@color-secondary: #0000da;
 @color-main-hover: lighten(@color-main, 5%);
 @color-main-font-color: white;
 @color-negative: rgba(255, 0, 0, 0.432);
-- 
GitLab