Skip to content

Commit

Permalink
Merge branch 'main' into improvement/snackbar-add-a-success-state
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgoud authored Oct 11, 2023
2 parents 17bd226 + fb51f2f commit 897d62a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
7 changes: 1 addition & 6 deletions packages/components/icon/src/icon.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<template>
<component
:is="nodeType"
class="puik-icon"
:class="`material-icons-round`"
:style="style"
>
<component :is="nodeType" class="puik-icon" :style="style">
{{ icon }}
</component>
</template>
Expand Down
3 changes: 0 additions & 3 deletions packages/theme/src/breadcrumb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
&-link {
@extend .puik-body-small;
@apply text-primary font-normal;
&:hover {
@apply text-blue;
}
}

&--last {
Expand Down
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 897d62a

Please sign in to comment.