[#773,website][m]: mdx pages now use a lighter color on dark mode, increased the contrast on the navbar links, fixed # headings color

This commit is contained in:
deme
2023-04-19 10:43:12 -03:00
parent e26ee8ea1e
commit 8c8674c4ef
5 changed files with 11 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ import rehypeAutolinkHeadings from "rehype-autolink-headings";
import rehypeKatex from "rehype-katex";
import rehypeSlug from "rehype-slug";
import rehypePrismPlus from "rehype-prism-plus";
import * as tw from "../tailwind.config";
import { serialize } from "next-mdx-remote/serialize";
@@ -65,7 +66,7 @@ const parse = async function (source, format, scope) {
"svg",
{
xmlns: "http:www.w3.org/2000/svg",
fill: "#ab2b65",
fill: tw.theme.extend.colors.secondary.DEFAULT,
viewBox: "0 0 20 20",
className: "w-5 h-5",
},