Skip to content

Commit

Permalink
docs: fix code fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-ellington committed Feb 26, 2025
1 parent ee5a8e0 commit 1b19856
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packages/documentation/src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ body {
--ifm-code-background: var(--theme-color-2);
--ifm-code-border-radius: 0px;
--ifm-code-font-size: var(--theme-ms-1);
--ifm-code-font-family: (JetBrainsMono, Courier New, monospace);
--ifm-code-font-family: (
JetBrainsMono,
Courier New,
monospace,
Siemens Sans,
Arial,
Helvetica,
sans-serif
);
--ifm-pre-background: var(--theme-color-1);
--ifm-color-emphasis-200: var(--theme-color-2);
--ifm-color-content: var(--theme-color-std-text);
Expand All @@ -45,8 +53,13 @@ body {
--bs-alert-bg: var(--theme-color-alarm) !important;
}

pre {
font-family: unset;
}

code {
font-size: var(--ifm-code-font-size) !important;
font-family: var(--ifm-code-font-family) !important;
font-size: var(--ifm-code-font-size) !important;
}

.theme-admonition-note {
Expand Down

0 comments on commit 1b19856

Please sign in to comment.