[#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:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user