Skip to content

Commit

Permalink
Update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
alianza committed May 24, 2024
1 parent 7b73b75 commit a46f68e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
@apply decoration-inherit;
}
}

.hover-focus-visible {
@apply visible opacity-100 scale-y-100 [transition:opacity_300ms,visibility_300ms,transform_0s_0s];
}

.hover-focus-transition {
@apply [transition:opacity_350ms,visibility_350ms,transform_0ms_350ms];
}
}

.no-scroll {
Expand Down
2 changes: 1 addition & 1 deletion styles/utils.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.button {
@apply rounded-lg px-5 py-2.5 text-sm font-medium focus:outline-none focus:ring-4 transition-colors hover:duration-75 underline decoration-transparent duration-300 ease-in-out;
@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;
Expand Down

0 comments on commit a46f68e

Please sign in to comment.