1
0
Fork 0

chore(fs.dev): Tweaks to dark theme

This commit is contained in:
Joost De Cock 2021-12-18 15:48:01 +01:00
parent d1f53b78b6
commit ea46bc019d
2 changed files with 3 additions and 3 deletions

View file

@ -72,7 +72,7 @@ const MdxWrapper = ({mdx, components={}}) => {
const MdxContent = mdxModule ? mdxModule.default : Fragment const MdxContent = mdxModule ? mdxModule.default : Fragment
return ( return (
<div className="prose lg:prose-xl prose-pre:bg-primary"> <div className="prose lg:prose-xl prose-pre:bg-primary text-primary">
<MdxContent components={allComponents}/> <MdxContent components={allComponents}/>
</div> </div>
) )

View file

@ -21,7 +21,7 @@ module.exports = {
'neutral-focus': gray['800'], 'neutral-focus': gray['800'],
'neutral-content': gray['300'], 'neutral-content': gray['300'],
'base-100': gray['800'], 'base-100': gray['900'],
'base-200': gray['700'], 'base-200': gray['700'],
'base-300': gray['600'], 'base-300': gray['600'],
'base-content': gray['300'], 'base-content': gray['300'],
@ -31,7 +31,7 @@ module.exports = {
'warning': colors.amber['500'], 'warning': colors.amber['500'],
'error': colors.red['400'], 'error': colors.red['400'],
'--code-background-color': colors.neutral['900'], '--code-background-color': '#111',
'--code-border-color': colors.neutral['800'], '--code-border-color': colors.neutral['800'],
'--code-color': colors.neutral['300'], '--code-color': colors.neutral['300'],
'--code-font-family': `"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace`, '--code-font-family': `"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace`,