Skip to content

Commit c87275a

Browse files
authored
Merge pull request #1522 from drwpow/docs-style-fixes
Docs style fixes
2 parents 438a129 + 3eb40d1 commit c87275a

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

docs/.vitepress/theme/style.css

+27-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@
88
*/
99

1010
@font-face {
11-
font-family: "Geist";
12-
src: url("/assets/GeistVariableVF.woff2") format("woff2");
11+
font-family: "Inter";
12+
font-style: normal;
13+
font-display: swap;
14+
src: url("/assets/InterVariable.woff2") format("woff2");
15+
}
16+
17+
@font-face {
18+
font-family: "Inter";
19+
font-style: italic;
20+
font-display: swap;
21+
src: url("/assets/InterVariable-Italic.woff2") format("woff2");
1322
}
1423

1524
@font-face {
@@ -18,6 +27,10 @@
1827
}
1928

2029
:root {
30+
--vp-font-family-base: "Chinese Quotes", "Inter", ui-sans-serif, system-ui,
31+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
32+
Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
33+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
2134
--vp-font-family-mono: ui-monospace, "Geist Mono", SFMono-Regular, "SF Mono",
2235
Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
2336
}
@@ -87,6 +100,18 @@
87100
--vp-c-danger-2: var(--vp-c-red-2);
88101
--vp-c-danger-3: var(--vp-c-red-3);
89102
--vp-c-danger-soft: var(--vp-c-red-soft);
103+
104+
--vp-code-color: var(--vp-c-text-2);
105+
106+
--vp-c-tip-1: var(--vp-c-text-1);
107+
}
108+
109+
/**
110+
* Base styles
111+
* -------------------------------------------------------------------------- */
112+
pre,
113+
code {
114+
font-variant-ligatures: none;
90115
}
91116

92117
/**
-43.2 KB
Binary file not shown.
372 KB
Binary file not shown.
337 KB
Binary file not shown.

0 commit comments

Comments
 (0)