Skip to content

Commit 81e13c0

Browse files
committed
style: align readme links with regular links
1 parent df6ecb0 commit 81e13c0

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

app/components/Readme.vue

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,24 @@ defineProps<{
7979
}
8080
8181
.readme :deep(a) {
82-
color: var(--fg);
83-
text-decoration: underline;
84-
text-underline-offset: 4px;
85-
text-decoration-color: var(--fg-subtle);
86-
transition: text-decoration-color 0.2s ease;
82+
@apply underline-offset-[0.2rem]
83+
@apply underline
84+
@apply decoration-1
85+
@apply decoration-fg/30
86+
@apply font-mono
87+
@apply text-fg
88+
@apply transition-colors
89+
@apply duration-200;
8790
}
8891
8992
.readme :deep(a:hover) {
90-
text-decoration-color: var(--accent);
93+
@apply decoration-accent
94+
@apply text-accent;
95+
}
96+
97+
.readme :deep(a:focus-visible) {
98+
@apply decoration-accent
99+
@apply text-accent;
91100
}
92101
93102
.readme :deep(code) {

0 commit comments

Comments
 (0)