Skip to content

Commit

Permalink
Link text blue. Visited link text purple.
Browse files Browse the repository at this point in the history
WebsByTodd committed Jan 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent eed8a8e commit 1e4d71a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/components/mdx.tsx
Original file line number Diff line number Diff line change
@@ -96,14 +96,16 @@ export function h2({ children, ...props }: ParentComponentProps) {
export function h3({ children, ...props }: ParentComponentProps) {
return (
<>
<h3 {...props} className="text-lg">{children}</h3>
<h3 {...props} className="text-lg">
{children}
</h3>
</>
);
}

export function a({ children, ...props }: ParentComponentProps) {
return (
<a {...props} className="hover:text-purple underline">
<a {...props} className="text-blue underline visited:text-purple">
{children}
</a>
);
@@ -120,9 +122,7 @@ export function ul({ children, ...props }: ParentComponentProps) {
export function li({ children, ...props }: ParentComponentProps) {
return (
<li {...props}>
<span className="-ml-3">
{children}
</span>
<span className="-ml-3">{children}</span>
</li>
);
}
}

0 comments on commit 1e4d71a

Please sign in to comment.