Skip to content

Commit

Permalink
Apply colors to call-to-action component
Browse files Browse the repository at this point in the history
  • Loading branch information
MTRNord committed Jun 4, 2024
1 parent 7774459 commit d5b7455
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions sass/components/_call-to-action.scss
Original file line number Diff line number Diff line change
@@ -1,35 +1,37 @@
@use "../helpers/colors";

.call-to-action {
background-color: #000;
border: 2px solid #000;
color: #fff;
background-color: colors.$black;
border: 2px solid colors.$black;
color: colors.$white;
font-size: 1.125rem;
font-weight: 600;
border-radius: 1000px;
padding: .6em 2em;

&.inverted {
border: 2px solid #fff;
background-color: #fff;
color: #000;
border: 2px solid colors.$white;
background-color: colors.$white;
color: colors.$black;

&.secondary {
background-color: #000;
color: #fff;
background-color: colors.$black;
color: colors.$white;

&:hover {
background-color: #fff;
color: #000
background-color: colors.$white;
color: colors.$black;
}
}
}

&.secondary {
background-color: #fff;
color: #000;
background-color: colors.$white;
color: colors.$black;

&:hover {
background-color: #000;
color: #fff;
background-color: colors.$black;
color: colors.$white;
}
}
}
Expand Down

0 comments on commit d5b7455

Please sign in to comment.