Skip to content

Commit

Permalink
(#8) Styling: Button Mixin-lize
Browse files Browse the repository at this point in the history
  • Loading branch information
betarixm committed Mar 29, 2022
1 parent 2146aa0 commit a1ff1a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions styles/Home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
font-size: $text-lg-font-size;
font-weight: 500;
background-color: $color-primary;
cursor: pointer;
}
}
10 changes: 10 additions & 0 deletions styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ $breakpoint-desktop: 1024px;
}
}

@mixin buttonMixin {
padding: 1rem 2.5rem;
border-radius: 1rem;
border: none;
font-size: $text-lg-font-size;
font-weight: 500;
background-color: $color-primary;
cursor: pointer;
}

@keyframes shake {
0% {
transform: rotate(0deg);
Expand Down

0 comments on commit a1ff1a7

Please sign in to comment.