Skip to content

Commit

Permalink
Add Noto Sans as compliant font
Browse files Browse the repository at this point in the history
  • Loading branch information
hstandaert committed Apr 22, 2024
1 parent 5d82e7b commit 66eb122
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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=Poppins: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"
href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins: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">
</head>

Expand Down
4 changes: 2 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

@layer base {
body {
@apply min-h-screen bg-background text-white;
@apply min-h-screen bg-background text-white font-poppins;
}

body.compliant {
@apply font-poppins;
@apply font-noto;
}

body.compliant p {
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default {
fontFamily: {
default: ["ui-sans-serif", "system-ui"],
poppins: ["Poppins", "ui-sans-serif", "system-ui"],
noto: ["Noto Sans", "ui-sans-serif", "system-ui"],
},
},
plugins: [],
Expand Down

0 comments on commit 66eb122

Please sign in to comment.