chore: font updates

This commit is contained in:
Cory Dransfeldt 2023-12-17 17:16:52 -08:00
parent 7fb6744286
commit d50a2477ca
No known key found for this signature in database
4 changed files with 16 additions and 8 deletions

View file

@ -44,7 +44,7 @@ html {
-o-tab-size: 4; -o-tab-size: 4;
tab-size: 4; tab-size: 4;
/* 3 */ /* 3 */
font-family: Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif; font-family: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;
/* 4 */ /* 4 */
font-feature-settings: normal; font-feature-settings: normal;
/* 5 */ /* 5 */
@ -1656,7 +1656,7 @@ video {
} }
.font-sans { .font-sans {
font-family: Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif; font-family: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;
} }
.text-2xl { .text-2xl {
@ -1927,7 +1927,7 @@ body {
body, body,
html { html {
font-family: Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif; font-family: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;
color: #111827; color: #111827;
} }

View file

@ -8,7 +8,7 @@ permalink: /search.html
<link href="https://coryd.dev/pagefind/pagefind-ui.css" rel="stylesheet" /> <link href="https://coryd.dev/pagefind/pagefind-ui.css" rel="stylesheet" />
<style> <style>
:root { :root {
--pagefind-ui-font: 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif', --pagefind-ui-font: 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif',
Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji,
Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
--pagefind-ui-primary: #374151; --pagefind-ui-primary: #374151;

View file

@ -27,7 +27,7 @@ eleventyExcludeFromCollections: true
<!-- date --> <!-- date -->
<text <text
font-family="'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'" font-family="'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'"
font-size="24" font-size="24"
font-weight="bold" font-weight="bold"
fill="#fff" fill="#fff"
@ -40,7 +40,7 @@ eleventyExcludeFromCollections: true
<!-- title --> <!-- title -->
<text <text
id="text" id="text"
font-family="'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'" font-family="'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'"
font-size="40" font-size="40"
font-weight="900" font-weight="900"
fill="#fff" fill="#fff"
@ -55,7 +55,7 @@ eleventyExcludeFromCollections: true
<!-- sitename --> <!-- sitename -->
<text <text
font-family="'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'" font-family="'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'"
font-size="24" font-size="24"
font-weight="bold" font-weight="bold"
fill="#fff" fill="#fff"

View file

@ -13,7 +13,15 @@ module.exports = {
14: '3.5rem', 14: '3.5rem',
}, },
fontFamily: { fontFamily: {
sans: ['Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'sans-serif'], sans: [
'Inter',
'Roboto',
'Helvetica Neue',
'Arial Nova',
'Nimbus Sans',
'Arial',
'sans-serif',
],
mono: ['ml', ...defaultTheme.fontFamily.mono], mono: ['ml', ...defaultTheme.fontFamily.mono],
}, },
backgroundImage: { backgroundImage: {