Skip to content

Commit 0604f60

Browse files
committed
Update font handling
1 parent d1c36ef commit 0604f60

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

style/variables.css

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ Material Design when selecting colors. We are not, however, following
2424
all of MD as it is not optimized for dense, information rich UIs.
2525
*/
2626

27-
@font-face {
28-
font-family: 'JetBrains Mono';
29-
src: url('JetBrainsMonoNL-Regular.ttf') format('truetype');
30-
}
31-
3227
:root {
3328
/* Elevation
3429
*
@@ -121,7 +116,8 @@ all of MD as it is not optimized for dense, information rich UIs.
121116
--jp-ui-font-size2: 1.2em;
122117
--jp-ui-font-size3: 1.44em;
123118

124-
--jp-ui-font-family: 'JetBrains Mono';
119+
--jp-ui-font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', helvetica,
120+
arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
125121

126122
/*
127123
* Use these font colors against the corresponding main layout colors.
@@ -183,7 +179,8 @@ all of MD as it is not optimized for dense, information rich UIs.
183179
--jp-content-font-color3: rgba(0, 0, 0, 0.5);
184180
--jp-content-link-color: var(--jp-day-blue);
185181

186-
--jp-content-font-family: 'JetBrains Mono';
182+
--jp-content-font-family: -apple-system, blinkmacsystemfont, 'Segoe UI', helvetica,
183+
arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
187184

188185
/*
189186
* Code Fonts
@@ -194,7 +191,7 @@ all of MD as it is not optimized for dense, information rich UIs.
194191
--jp-code-font-size: 13px;
195192
--jp-code-line-height: 1.3077; /* 17px for 13px base */
196193
--jp-code-padding: 0.385em; /* 5px for 13px base */
197-
--jp-code-font-family-default: 'JetBrains Mono';
194+
--jp-code-font-family-default: menlo, consolas, 'DejaVu Sans Mono', monospace;
198195
--jp-code-font-family: var(--jp-code-font-family-default);
199196

200197
/* This gives a magnification of about 125% in presentation mode over normal. */
@@ -278,7 +275,7 @@ all of MD as it is not optimized for dense, information rich UIs.
278275
--jp-cell-editor-active-border-color: var(--jp-brand-color1);
279276

280277
--jp-cell-prompt-width: 64px;
281-
--jp-cell-prompt-font-family: 'JetBrains Mono';
278+
--jp-cell-prompt-font-family: 'Source Code Pro', monospace;
282279
--jp-cell-prompt-letter-spacing: 0px;
283280
--jp-cell-prompt-opacity: 1;
284281
--jp-cell-prompt-not-active-opacity: 0.8;

0 commit comments

Comments
 (0)