Skip to content

Commit 6602bf5

Browse files
committed
Fixed Roboto Mono font for editor view.
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent 1f67ee6 commit 6602bf5

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

ui/arduino/main.css

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@
44
55
*/
66
@font-face {
7-
font-family: "RobotoMono";
7+
font-family: "CodeFont";
88
src:
9-
url("media/roboto-regular.woff2") format("woff2");
9+
url("media/Roboto-Mono-Regular-webfont.woff") format("woff");
1010
font-weight: normal;
1111
font-style: normal;
1212
}
1313

14+
@font-face {
15+
font-family: "CodeFont";
16+
src:
17+
url("media/Roboto-Mono-Bold-webfont.woff") format("woff");
18+
font-weight: bold;
19+
font-style: normal;
20+
}
1421

1522
@font-face {
1623
font-family: "OpenSans";
@@ -151,7 +158,7 @@ button.small .icon {
151158
height: 100%;
152159
justify-content: center;
153160
align-items: center;
154-
font-family: "RobotoMono", monospace;
161+
font-family: "CodeFont", monospace;
155162
overflow: hidden;
156163
}
157164

@@ -312,7 +319,7 @@ button.small .icon {
312319
}
313320

314321
#code-editor * {
315-
font-family: "RobotoMono", monospace;
322+
font-family: "CodeFont", monospace;
316323
}
317324
#code-editor .cm-editor {
318325
width: 100%;
@@ -506,7 +513,7 @@ button.small .icon {
506513
.dialog .dialog-content #file-name {
507514
font-size: 1.3em;
508515
width:100%;
509-
font-family: "RobotoMono", monospace;
516+
font-family: "CodeFont", monospace;
510517
}
511518

512519
.dialog .dialog-content input:focus {
@@ -623,7 +630,7 @@ button.small .icon {
623630
position: relative;
624631
cursor: pointer;
625632
color: #000;
626-
font-family: "RobotoMono", monospace;
633+
font-family: "CodeFont", monospace;
627634
font-size: 14px;
628635
font-style: normal;
629636
font-weight: 400;
@@ -709,7 +716,7 @@ button.small .icon {
709716
}
710717
.file-list .item .text {
711718
color: #000;
712-
font-family: "RobotoMono", monospace;
719+
font-family: "CodeFont", monospace;
713720
font-size: 14px;
714721
font-style: normal;
715722
font-weight: 400;
26.2 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy