From c25026fe138a1e459228977fa20417b17ea68a54 Mon Sep 17 00:00:00 2001 From: vihar Date: Thu, 23 Jul 2026 20:30:53 +0530 Subject: [PATCH] fix: use neutral inline code color and github-dark syntax theme for readability --- docs/.vitepress/config.ts | 2 +- docs/.vitepress/theme/style.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 2d4d59e..f8baa91 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -786,7 +786,7 @@ if(n<200&&document.readyState==="loading")requestAnimationFrame(function(){bar(n markdown: { theme: { light: "github-light", - dark: "dracula", + dark: "github-dark", }, config(md) { md.use(tabsMarkdownPlugin); diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index 3f2134e..7727bb5 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -152,6 +152,11 @@ html.dark { --vp-c-brand-soft: rgba(0, 99, 153, 0.14); --plane-500: #006399; + /* Inline code — neutral body-text color instead of the VitePress default + (brand blue), which is hard to read on the dark pill background. + Linked code keeps --vp-code-link-color (brand) so links stay visible. */ + --vp-code-color: var(--vp-c-text-1); + /* Fonts — Inter for body and headings (override VoidZero APK Protocol) */ --font-heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;