Skip to content

Commit 8efc01e

Browse files
authored
sans-serif backup for system-ui (fix GoogleChromeLabs#630) (GoogleChromeLabs#631)
* fix GoogleChromeLabs#538: plugin for CT scan of <head> * fix GoogleChromeLabs#630 - give system-ui font fallbacks like label.element.css does
1 parent 939e85a commit 8efc01e

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/components/hotkey-map/base.element.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
background: var(--theme-bd-2);
1414
backdrop-filter: blur(5px);
1515
font-size: 16px;
16-
font-family: system-ui;
16+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
1717
cursor: initial;
1818

1919
--light-grey: hsl(0 0% 90%);

app/components/metatip/metatip.element.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
all: initial;
3838
direction: ltr;
3939
font-size: 16px;
40-
font-family: system-ui;
40+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
4141
max-width: 90vw;
4242
color: var(--theme-text_color);
4343
line-height: initial;
@@ -225,7 +225,7 @@
225225
}
226226

227227
:host [longform] {
228-
font-family: system-ui;
228+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
229229
text-wrap: pretty;
230230
text-align: left;
231231
line-height: 1.5;

app/components/selection/distance.element.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
font-size: 0.7em;
4848
font-weight: bold;
4949
line-height: 1.1;
50-
font-family: system-ui;
50+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
5151
padding: 0 1ex;
5252
}
5353

app/components/vis-bug/vis-bug.element.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
all: initial;
2828
cursor: inherit;
2929
font-size: 16px;
30-
font-family: system-ui;
30+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
3131
display: flex;
3232
flex-direction: column;
3333
margin: 1em 0 0.5em 1em;

0 commit comments

Comments
 (0)