chore: tweak types

This commit is contained in:
Cory Dransfeldt 2023-12-25 16:44:33 -08:00
parent 6a3a3dc097
commit bbf9c21477
No known key found for this signature in database
6 changed files with 48 additions and 8 deletions

View file

@ -32,6 +32,7 @@
<link href="/assets/icons/apple-touch-icon.png?v={% assetHash %}" rel="apple-touch-icon"> <link href="/assets/icons/apple-touch-icon.png?v={% assetHash %}" rel="apple-touch-icon">
{% capture css %} {% capture css %}
{% render "../assets/styles/prism.css" %} {% render "../assets/styles/prism.css" %}
{% render "../assets/styles/silka.css" %}
{% render "../assets/styles/tailwind.css" %} {% render "../assets/styles/tailwind.css" %}
{% endcapture %} {% endcapture %}
<style> <style>

File diff suppressed because one or more lines are too long

View file

@ -46,7 +46,7 @@ html,
-o-tab-size: 4; -o-tab-size: 4;
tab-size: 4; tab-size: 4;
/* 3 */ /* 3 */
font-family: system-ui, sans-serif; font-family: silka, Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, system-ui, sans-serif;
/* 4 */ /* 4 */
font-feature-settings: normal; font-feature-settings: normal;
/* 5 */ /* 5 */
@ -1651,7 +1651,7 @@ video {
} }
.font-sans { .font-sans {
font-family: system-ui, sans-serif; font-family: silka, Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, system-ui, sans-serif;
} }
.text-2xl { .text-2xl {
@ -1922,7 +1922,7 @@ body {
body, body,
html { html {
font-family: system-ui, sans-serif; font-family: silka, Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, system-ui, 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: system-ui, sans-serif; --pagefind-ui-font: 'silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', 'sans-serif';
--pagefind-ui-primary: #374151; --pagefind-ui-primary: #374151;
--pagefind-ui-text: #374151; --pagefind-ui-text: #374151;
} }

View file

@ -27,7 +27,7 @@ eleventyExcludeFromCollections: true
<!-- date --> <!-- date -->
<text <text
font-family="system-ui, sans-serif" font-family="'silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', '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="system-ui, sans-serif" font-family="'silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', '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="system-ui, sans-serif" font-family="'silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', 'sans-serif'"
font-size="24" font-size="24"
font-weight="bold" font-weight="bold"
fill="#fff" fill="#fff"

View file

@ -11,7 +11,7 @@ module.exports = {
14: '3.5rem', 14: '3.5rem',
}, },
fontFamily: { fontFamily: {
sans: ['system-ui', 'sans-serif'], sans: ['silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', 'sans-serif'],
mono: [ mono: [
'ui-monospace', 'ui-monospace',
'Cascadia Code', 'Cascadia Code',