Skip to content

Commit

Permalink
style(storybook): mark a with code
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Mar 7, 2025
1 parent f6b5936 commit e61990d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apps/storybook/.storybook/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,23 @@
html {
font-family: 'Inter', sans-serif;
}

a > code {
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-thickness: 0.0625em;
text-underline-offset: 0.27em; /* 5px ish */

/* Only use hover for non-touch devices to prevent sticky-hovering */
@media (hover: hover) and (pointer: fine) {
&:hover {
color: var(--ds-color-text-default);
text-decoration-thickness: 0.125em;
}
}

&:active {
background-color: var(--ds-color-surface-tinted) !important;
color: var(--ds-color-text-default) !important;
}
}

0 comments on commit e61990d

Please sign in to comment.