Skip to content

Commit 0128e4e

Browse files
committed
Update font stack
1 parent b68a4fa commit 0128e4e

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

tools/playground.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,14 @@
464464

465465
<style>
466466

467+
:root {
468+
--font-stack-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospace;
469+
}
470+
471+
.ace_editor {
472+
font-family: var(--font-stack-mono);
473+
}
474+
467475
body {
468476
margin: 0;
469477
padding: 0;
@@ -476,7 +484,7 @@
476484

477485
margin: 14px 15px 14px 0;
478486
font-family: system-ui;
479-
font-weight: bold;
487+
font-weight: 600;
480488
font-size: 10pt;
481489

482490
appearance: none;
@@ -492,7 +500,7 @@
492500
background: #fff;
493501

494502
font-family: system-ui;
495-
font-weight: bold;
503+
font-weight: 600;
496504
font-size: 10pt;
497505

498506
display: flex;
@@ -652,7 +660,7 @@
652660
#errors .error {
653661
background: #f0f0f0;
654662
border-radius: 6px;
655-
font-family: monospace;
663+
font-family: var(--font-stack-mono);
656664
margin: 8px;
657665
padding: 6px 8px 6px 24px;
658666
font-size: 11px;
@@ -715,7 +723,7 @@
715723
position: relative;
716724
background: #ddd;
717725
border-radius: 5px;
718-
font-family: monospace;
726+
font-family: var(--font-stack-mono);
719727
margin-right: 8px;
720728
margin-bottom: 8px;
721729
color: #000;
@@ -791,7 +799,7 @@
791799

792800
display: flex;
793801
flex-wrap: wrap;
794-
font-family: monospace;
802+
font-family: var(--font-stack-mono);
795803
text-wrap: nowrap;
796804
min-height: var(--height);
797805
margin-bottom: calc(var(--height-a) / 4);

0 commit comments

Comments
 (0)