Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alianza committed May 31, 2024
1 parent f67b588 commit 3ea7573
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions styles/utils.module.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.button {
@apply rounded px-5 py-2.5 text-sm font-medium text-center focus:outline-none focus:ring-4 transition-colors hover:duration-75 underline decoration-transparent duration-300 ease-in-out;

&:hover {
@apply duration-100 decoration-inherit;
}

&.green {
@apply text-neutral-100 bg-green-600 hover:bg-green-700 focus:ring-green-600/50;
}

&.blue {
@apply text-neutral-100 bg-blue-600 hover:bg-blue-700 focus:ring-blue-600/50;
}

&.red {
@apply text-neutral-100 bg-red-700 hover:bg-red-800 focus:ring-red-700/50; // For accessibility reasons, the red button is darker than the others
}
}
.button {
@apply rounded px-5 py-2.5 text-sm font-medium text-center focus:outline-none focus:ring-4 transition-colors hover:duration-75 underline decoration-transparent duration-300 ease-in-out;

&:hover {
@apply duration-100 decoration-inherit;
}

&.green {
@apply text-neutral-100 bg-green-600 hover:bg-green-700 focus:ring-green-600/50;
}

&.blue {
@apply text-neutral-100 bg-blue-600 hover:bg-blue-700 focus:ring-blue-600/50;
}

&.red {
@apply text-neutral-100 bg-red-700 hover:bg-red-800 focus:ring-red-700/50; // For accessibility reasons, the red button is darker than the others
}
}

0 comments on commit 3ea7573

Please sign in to comment.