Skip to content

Commit 1629d10

Browse files
committed
Local fonts
1 parent 3cf9075 commit 1629d10

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

ui/arduino/main.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
1+
@font-face {
2+
font-family: "RobotoMono", monospace;
3+
src:
4+
url("media/roboto-mono-latin-ext-400-normal.woff"),
5+
url("media/roboto-mono-latin-ext-400-normal.woff2");
6+
font-weight: normal;
7+
font-style: normal;
8+
}
29

310
* {
411
/* box-sizing: border-box; */
512
-moz-user-select: none;
613
-webkit-user-select: none;
714
user-select: none;
15+
font-family: "RobotoMono", monospace;
816
}
917

1018
body, html {
@@ -99,7 +107,7 @@ button.small .icon {
99107
height: 100%;
100108
justify-content: center;
101109
align-items: center;
102-
font-family: Roboto Mono;
110+
font-family: "RobotoMono", monospace;
103111
overflow: hidden;
104112
}
105113

@@ -445,7 +453,7 @@ button.small .icon {
445453
position: relative;
446454
cursor: pointer;
447455
color: #000;
448-
font-family: Roboto Mono;
456+
font-family: "RobotoMono", monospace;
449457
font-size: 14px;
450458
font-style: normal;
451459
font-weight: 400;
@@ -528,7 +536,7 @@ button.small .icon {
528536
}
529537
.file-list .item .text {
530538
color: #000;
531-
font-family: Roboto Mono;
539+
font-family: "RobotoMono", monospace;
532540
font-size: 14px;
533541
font-style: normal;
534542
font-weight: 400;
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)