Commit 53949246 authored by Dan Allen's avatar Dan Allen Committed by Guillaume Grossetie
Browse files

resolves #10 set font family on playground editor; move declaration to CSS var

parent 5714c0e0
......@@ -20,6 +20,7 @@
--gray-color-900: #18191f;
--brand-font-primary: "Inter__subset", "Inter", blinkmacsystemfont, -apple-system, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
--brand-font-secondary: "Urbanist__subset", "Urbanist", blinkmacsystemfont, -apple-system, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
--monospace-font: "Source Code Pro__subset", "Source Code Pro", monospace;
}
html {
......@@ -572,6 +573,7 @@ section.try .toggle {
#editorCode .cm-scroller {
border-radius: 5px;
font-family: var(--monospace-font);
}
#editorCode .cm-scroller::-webkit-scrollbar {
......@@ -1760,7 +1762,7 @@ code,
kbd,
pre,
samp {
font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-family: var(--monospace-font);
font-weight: 400;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment