fix(html): set default link color for safari (#11353)

This commit is contained in:
Pavel Feldman 2022-01-12 09:05:45 -08:00 committed by GitHub
parent 6f932fcb4a
commit 5751a1255b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export const Link: React.FunctionComponent<{
title?: string,
children: any,
}> = ({ href, className, children, title }) => {
return <a style={{ textDecoration: 'none', color: 'initial' }} className={`${className || ''}`} href={href} title={title}>{children}</a>;
return <a style={{ textDecoration: 'none', color: 'var(--color-fg-default)' }} className={`${className || ''}`} href={href} title={title}>{children}</a>;
};
export const ProjectLink: React.FunctionComponent<{