Skip to content

Commit

Permalink
Trying to make Noto Serif work (CF Fonts test)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycewray committed Oct 16, 2023
1 parent 56fb0bb commit 53970fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion assets/css/partials/010-variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
/* Note from the relevant GitHub SCSS file: "SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome" */
--sans-serif: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, Ubuntu, Roboto, "Noto Sans", Noto, sans-serif;
--serif: "Noto Serif", ui-serif, Georgia, Cambria, "Bitstream Charter", serif;
--serif: noto-serif, "Noto Serif", ui-serif, Georgia, Cambria, "Bitstream Charter", serif;
--monospaced: ui-monospace, SFMono-Regular, "SF Mono", "Source Code Pro", Menlo, Consolas, monospace;
/* --social-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; */
/* --emojis: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; */
Expand Down
2 changes: 0 additions & 2 deletions layouts/partials/head-criticalcss-cfftest.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{{/*
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
*/}}
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<style media="screen">{{ .Content | safeCSS }}</style>
{{- $css := resources.Get "css/critical.css" | postCSS }}
Expand Down

0 comments on commit 53970fa

Please sign in to comment.