Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ export default extendConfig(
withMermaid(
defineConfig({
markdown: {
theme: {
light: "github-light",
dark: "github-dark",
},
config(md) {
md.use(tabsMarkdownPlugin);
},
Expand Down
7 changes: 6 additions & 1 deletion docs/.vitepress/theme/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ html:not(.dark):not([data-theme="dark"]) {
--color-plane-500: #006399;
--color-plane-600: #005280;

/* 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);

--docs-divider: #ececec;

--vp-c-bg: #ffffff;
Expand Down Expand Up @@ -158,7 +163,7 @@ html:not(.dark):not([data-theme="dark"]) {
:root[data-variant="voidzero"]:not(.dark):not([data-theme="dark"]),
:root[data-variant="vitest"]:not(.dark):not([data-theme="dark"]) {
--color-brand: #006399;
--vp-code-color: #006399;
--vp-code-color: var(--vp-c-text-1);
}

/* --- Dark mode --- */
Expand Down
Loading