Skip to content

Commit

Permalink
chore: apply color variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sounmind committed Jul 18, 2024
1 parent df3b1c0 commit b0b3338
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions components/button-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ButtonLink extends HTMLElement {
}
a.primary {
color: white;
color: var(--bg-100);
font-weight: 500;
background-color: var(--bg-400);
}
Expand All @@ -88,8 +88,8 @@ class ButtonLink extends HTMLElement {
}
a.primary:active {
background-color: #160b46;
color: white;
background-color: var(--text-900);
color: var(--bg-100);
}
a.ghost {
Expand Down Expand Up @@ -118,19 +118,19 @@ class ButtonLink extends HTMLElement {
}
a.small.ghost:active {
color: #846de9;
color: var(--primary);
}
a.big.ghost {
padding: auto;
color: black;
color: var(--text-900);
font-weight: normal;
border-radius: 10px;
background: white;
background: var(--bg-100);
border: 3px solid transparent;
background-clip: padding-box, border-box;
background-origin: padding-box, border-box;
background-image: linear-gradient(white, white),
background-image: linear-gradient(var(--bg-100), var(--bg-100)),
linear-gradient(135deg, var(--secondary), var(--primary));
@media only screen and (min-width: 768px) {
Expand Down
2 changes: 1 addition & 1 deletion components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Footer extends HTMLElement {
:host {
display: block;
height: 400px;
color: white;
color: var(--bg-100);
background-color: var(--text-900);
padding: 80px 27px;
Expand Down

0 comments on commit b0b3338

Please sign in to comment.