use JuliaMono and Roboto as fonts consistently #192

pull/251/merge
Jon Eugster 2 years ago
parent 2a070332f2
commit 17d2ba5a2c

@ -210,6 +210,7 @@ export function Typewriter({disabled}: {disabled?: boolean}) {
}, },
overviewRulerBorder: false, overviewRulerBorder: false,
theme: 'vs-code-theme-converted', theme: 'vs-code-theme-converted',
fontFamily: "JuliaMono",
contextmenu: false contextmenu: false
}) })

@ -656,6 +656,7 @@ function useLevelEditor(codeviewRef, initialCode, initialSelections, onDidChange
lineNumbersMinChars: 3, lineNumbersMinChars: 3,
tabSize: 2, tabSize: 2,
'semanticHighlighting.enabled': true, 'semanticHighlighting.enabled': true,
fontFamily: "JuliaMono",
theme: 'vs-code-theme-converted' theme: 'vs-code-theme-converted'
}) })
if (onDidChangeSelection) { if (onDidChangeSelection) {

@ -169,8 +169,8 @@
.exercise .command-text { .exercise .command-text {
flex: 1; flex: 1;
background-color: #fff; background-color: #fff;
font-family: "Droid Sans Mono", "monospace", monospace;
font-size: 14px; font-size: 14px;
font-family: "JuliaMono", monospace;
padding: 0.4em .6em 0; padding: 0.4em .6em 0;
} }
@ -195,6 +195,11 @@
/* border: 2px dotted darkgreen; */ /* border: 2px dotted darkgreen; */
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-family: "JuliaMono", monospace;
}
.goal-tab .hyp-group-title {
font-family: "Roboto", sans-serif;
} }
.goal-tab .goal, .goal-tab .hypotheses { .goal-tab .goal, .goal-tab .hypotheses {

@ -10,6 +10,7 @@
.documentation h1 { .documentation h1 {
font-weight: 900; font-weight: 900;
font-family: "JuliaMono", monospace;
} }
.documentation.hidden { .documentation.hidden {
@ -33,6 +34,11 @@
position: relative; position: relative;
} }
.inventory .item, .inventory .tab-bar:not(.major) .tab {
font-family: "JuliaMono", monospace;
font-size: .9rem;
}
.inventory .item.locked { .inventory .item.locked {
border: solid 1px #ccc; border: solid 1px #ccc;
color: #ccc; color: #ccc;

@ -174,6 +174,7 @@ td code {
.exercise { .exercise {
height: 100%; height: 100%;
width: 100%;
} }
.exercise-content { .exercise-content {

Loading…
Cancel
Save