-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |