Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
colours now use ass variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tycrek committed Jul 8, 2021
1 parent 1fcbb40 commit 07cf843
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions views/__main.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
:root {
--color-primary: #fd842d;
}


button {
color: #EEE !important;
background-color: var(--color-primary);
Expand All @@ -16,7 +11,7 @@ button {
margin-right: 16px;
display: inline-block;
box-sizing: border-box;
box-shadow: inset 0 0 0 0 #793301, inset 0 -4px 0 0 #B64D02;
box-shadow: inset 0 0 0 0 var(--color-primary-dark), inset 0 -4px 0 0 var(--color-primary-dim);

border: none;
border-radius: 8px;
Expand All @@ -25,8 +20,8 @@ button {
transition: box-shadow 150ms;
}

button:hover { box-shadow: inset 0 0 0 0 #793301, inset 0 -8px 0 0 #B64D02; }
button:active { box-shadow: inset 0 -8px 0 0 #793301, inset 0 -64px 0 0 #B64D02; }
button:hover { box-shadow: inset 0 0 0 0 var(--color-primary-dark), inset 0 -8px 0 0 var(--color-primary-dim); }
button:active { box-shadow: inset 0 -8px 0 0 var(--color-primary-dark), inset 0 -64px 0 0 var(--color-primary-dim); }

#brand {
border-top: 2px solid #323232;
Expand Down

0 comments on commit 07cf843

Please sign in to comment.