Skip to content

Commit

Permalink
fix: #216 - link color
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud committed Oct 10, 2023
1 parent 6c3518e commit ed269a8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/theme/src/link.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@use './common/typography.scss';

.puik-link {
@apply relative text-blue transition m-0.5 p-0.5 py-[4px] decoration-1;
@apply relative text-primary transition m-0.5 p-0.5 py-[4px] decoration-1;
&:before {
content: '';
@apply opacity-0 absolute h-[1px] bg-primary-800 bottom-0 left-[50%] translate-x-[-50%] transition-all ease-in-out duration-200;
width: calc(100% - 8px);
@apply absolute h-[1px] bg-primary-500 bottom-[1px] left-[50%] translate-x-[-50%] transition-all ease-in-out duration-150;
width: calc(100% - 4px);
}
&:hover,
&:active {
@apply text-blue-700 cursor-pointer;
@apply cursor-pointer;
&:before {
@apply opacity-100 bottom-[3px] transition-all ease-in-out duration-300;
@apply bg-primary-800 bottom-[3px] transition-all ease-in-out duration-150;
}
&:before:visited {
@apply bg-primary-500;
@apply bg-primary-800;
}
}
&:focus-visible {
Expand Down

0 comments on commit ed269a8

Please sign in to comment.