switch monospace font to Source Code Pro

This commit is contained in:
2022-11-12 13:09:32 -05:00
parent d297a26628
commit 279688b89f
6 changed files with 10 additions and 7 deletions
-1
View File
@@ -1,7 +1,6 @@
import { styled, theme } from "../../lib/styles/stitches.config";
const Code = styled("code", {
fontSize: "0.925em",
backgroundColor: theme.colors.codeBackground,
border: `1px solid ${theme.colors.kindaLight}`,
borderRadius: theme.radii.corner,
+1
View File
@@ -13,6 +13,7 @@ const Block = styled("div", {
display: "block",
overflowX: "auto",
padding: "1em",
fontSize: "0.925em",
tabSize: 2,
// optional line numbers added at time of prism compilation
+2 -1
View File
@@ -2,7 +2,8 @@ import Code from "../Code";
import { styled } from "../../lib/styles/stitches.config";
const CodeInline = styled(Code, {
padding: "0.2em 0.3em",
padding: "0.175em 0.3em",
fontSize: "0.975em",
pageBreakInside: "avoid",
});