Skip to content

Commit

Permalink
Further CF Fonts test (one-word fonts?)
Browse files Browse the repository at this point in the history
  • Loading branch information
brycewray committed Oct 16, 2023
1 parent 53970fa commit 3ae9faf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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, "Noto Serif", ui-serif, Georgia, Cambria, "Bitstream Charter", serif;
--serif: "Bitter", 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
7 changes: 4 additions & 3 deletions layouts/partials/head-criticalcss-cfftest.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<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">
<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=Bitter: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 }}
{{- with $css }}
Expand Down

0 comments on commit 3ae9faf

Please sign in to comment.