Skip to content

Commit

Permalink
sans-serif backup for system-ui (fix #630) (#631)
Browse files Browse the repository at this point in the history
* fix #538: plugin for CT scan of <head>

* fix #630 - give system-ui font fallbacks like label.element.css does
  • Loading branch information
hchiam authored Jun 26, 2024
1 parent 939e85a commit 8efc01e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/components/hotkey-map/base.element.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
background: var(--theme-bd-2);
backdrop-filter: blur(5px);
font-size: 16px;
font-family: system-ui;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
cursor: initial;

--light-grey: hsl(0 0% 90%);
Expand Down
4 changes: 2 additions & 2 deletions app/components/metatip/metatip.element.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
all: initial;
direction: ltr;
font-size: 16px;
font-family: system-ui;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
max-width: 90vw;
color: var(--theme-text_color);
line-height: initial;
Expand Down Expand Up @@ -225,7 +225,7 @@
}

:host [longform] {
font-family: system-ui;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
text-wrap: pretty;
text-align: left;
line-height: 1.5;
Expand Down
2 changes: 1 addition & 1 deletion app/components/selection/distance.element.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
font-size: 0.7em;
font-weight: bold;
line-height: 1.1;
font-family: system-ui;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
padding: 0 1ex;
}

Expand Down
2 changes: 1 addition & 1 deletion app/components/vis-bug/vis-bug.element.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
all: initial;
cursor: inherit;
font-size: 16px;
font-family: system-ui;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
display: flex;
flex-direction: column;
margin: 1em 0 0.5em 1em;
Expand Down

0 comments on commit 8efc01e

Please sign in to comment.