Skip to content

Commit

Permalink
Add: Fallback font for symbols (#268)
Browse files Browse the repository at this point in the history
* Add: Fallback font for symbols

Fixes #256.

* Change: Make fallback font static

See <#268 (comment)>.
  • Loading branch information
alphapapa authored Sep 27, 2023
1 parent 6bddff1 commit a95cc57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion assets/theme-css/vars.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* prettier-ignore */
:root {
--fontFamily: {{ .Site.Params.font.name }};
--fontFamily: {{ .Site.Params.font.name }}, "Noto Sans Symbols 2";

--colorPrimaryDark: rgb(1, 50, 67);
--colorPrimary: rgb(77, 119, 207);
Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

<link rel="icon" href="{{ "images/favicon.ico" | relURL }}" />
<link rel="stylesheet" href="{{ $fontUrl }}">

<!-- Fallback font for symbols (such as "🛈"). -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+Symbols+2">

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">

<!-- SASS --- currently only for fresh -->
Expand Down

0 comments on commit a95cc57

Please sign in to comment.