Skip to content

Commit

Permalink
style changes to underlines
Browse files Browse the repository at this point in the history
  • Loading branch information
donjo committed Jun 10, 2024
1 parent 4b3fe37 commit 30f5971
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/APIReferenceIndex/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const APIReferenceIndex: React.FC<APIReferenceIndexProps> = ({ apiLinks }) => {
<li className="list-none flex flex-col gap-1" key={link.id}>
<a
href={link.url}
className="text-inherit text-lg underline underline-offset-4 decoration-gray-300 dark:decoration-gray-600"
className="text-lg link underline underline-offset-4 text-[--ifm-color-primary] decoration-[--deploy-medium] dark:decoration-[--runtime-dark]"
title={link.description}
>
{link.title}
Expand Down
6 changes: 5 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ html:root {
--subhosting: #ff8a01;
--subhosting-dark: #251c11;

--gray-000: #e3e5e9;
--gray-00: #cfd1d6;
--gray-0: #9ea0a5;
--gray-1: #868789;
Expand Down Expand Up @@ -156,7 +157,7 @@ html[data-theme="dark"] .secondary-navbar {
/* Multiple selectors to override defaults in light mode */

html[data-theme="light"] .secondary-navbar {
border-top: 1px solid var(--gray-00);
border-top: 1px solid var(--gray-000);
}

html[data-theme="light"] kbd.DocSearch-Button-Key,
Expand Down Expand Up @@ -234,6 +235,9 @@ code {

.markdown a {
text-decoration: underline;
text-decoration-color: var(--ifm-color-primary);
text-underline-offset: 0.25rem;
text-decoration-thickness: 0.05rem;
}

td p:last-child {
Expand Down

0 comments on commit 30f5971

Please sign in to comment.