diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 2d638791f0..6d425887ba 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -110,7 +110,7 @@ export default { ], }, prism: { - theme: prismThemes.vsDark, + theme: prismThemes.oneLight, darkTheme: prismThemes.dracula, }, colorMode: { diff --git a/src/css/custom.css b/src/css/custom.css index 61437a1fcd..b5e2d8cdb5 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -45,13 +45,13 @@ /* Code Settings */ --ifm-font-family-monospace: "Space Mono"; - --ifm-code-font-size: 100%; --ifm-code-background: rgb(246, 247, 248); --ifm-code-border-radius: var(--ifm-global-radius); - --ifm-code-font-size: 90%; - --ifm-code-padding-horizontal: 0.2rem; - --ifm-code-padding-vertical: 0.2rem; + --ifm-code-font-size: 0.9rem; + --ifm-code-padding-horizontal: 0.5rem; + --ifm-code-padding-vertical: 0rem; --ifm-pre-background: var(--ifm-code-background); + --docusaurus-highlighted-code-line-bg: #ffeaea; } code {