mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-09 12:13:10 -05:00
improve link color contrast in light mode
This commit is contained in:
parent
1a5a95df97
commit
462d38ef6b
|
|
@ -20,6 +20,7 @@ import {
|
|||
import { useMyTheme } from "lib/useMyTheme";
|
||||
import ReactMarkdown from "react-markdown";
|
||||
import reactStringReplace from "react-string-replace";
|
||||
import MyLink from "./MyLink";
|
||||
|
||||
interface MarkdownProps {
|
||||
value: string;
|
||||
|
|
@ -68,9 +69,9 @@ const Markdown: React.FC<MarkdownProps> = ({ value }) => {
|
|||
link: (props: any) => {
|
||||
const { children } = props;
|
||||
return (
|
||||
<Link color={themeColor} {...props}>
|
||||
<MyLink isExternal {...props}>
|
||||
{children}
|
||||
</Link>
|
||||
</MyLink>
|
||||
);
|
||||
},
|
||||
linkReference: (props: any) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user