Skip to content

Commit 8dceeb4

Browse files
authored
docs: fix styles in dark mode (#67)
1 parent bc5323d commit 8dceeb4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const config: Config = {
232232
darkTheme: prismThemes.vsDark,
233233
},
234234
mermaid: {
235-
theme: { light: "base", dark: "base" },
235+
theme: { light: "base", dark: "dark" },
236236
options: {
237237
themeVariables: {
238238
// Light mode colors (bluish) - matches Docusaurus theme

docs/src/css/custom.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
[data-theme="dark"] {
3737
--ifm-color-primary: rgb(66, 153, 224);
3838
--docusaurus-highlighted-code-line-bg: rgb(55, 68, 79);
39+
--ifm-code-background: hsl(230, 15%, 15%);
3940
}
4041

4142
.landing-button-vertical {

0 commit comments

Comments
 (0)