chore: tweak types
This commit is contained in:
parent
6a3a3dc097
commit
bbf9c21477
6 changed files with 48 additions and 8 deletions
|
@ -32,6 +32,7 @@
|
|||
<link href="/assets/icons/apple-touch-icon.png?v={% assetHash %}" rel="apple-touch-icon">
|
||||
{% capture css %}
|
||||
{% render "../assets/styles/prism.css" %}
|
||||
{% render "../assets/styles/silka.css" %}
|
||||
{% render "../assets/styles/tailwind.css" %}
|
||||
{% endcapture %}
|
||||
<style>
|
||||
|
|
39
src/assets/styles/silka.css
Normal file
39
src/assets/styles/silka.css
Normal file
File diff suppressed because one or more lines are too long
|
@ -46,7 +46,7 @@ html,
|
|||
-o-tab-size: 4;
|
||||
tab-size: 4;
|
||||
/* 3 */
|
||||
font-family: system-ui, sans-serif;
|
||||
font-family: silka, Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, system-ui, sans-serif;
|
||||
/* 4 */
|
||||
font-feature-settings: normal;
|
||||
/* 5 */
|
||||
|
@ -1651,7 +1651,7 @@ video {
|
|||
}
|
||||
|
||||
.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 {
|
||||
|
@ -1922,7 +1922,7 @@ body {
|
|||
|
||||
body,
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ permalink: /search.html
|
|||
<link href="https://coryd.dev/pagefind/pagefind-ui.css" rel="stylesheet" />
|
||||
<style>
|
||||
: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-text: #374151;
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ eleventyExcludeFromCollections: true
|
|||
|
||||
<!-- date -->
|
||||
<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-weight="bold"
|
||||
fill="#fff"
|
||||
|
@ -40,7 +40,7 @@ eleventyExcludeFromCollections: true
|
|||
<!-- title -->
|
||||
<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-weight="900"
|
||||
fill="#fff"
|
||||
|
@ -55,7 +55,7 @@ eleventyExcludeFromCollections: true
|
|||
|
||||
<!-- sitename -->
|
||||
<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-weight="bold"
|
||||
fill="#fff"
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
14: '3.5rem',
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['system-ui', 'sans-serif'],
|
||||
sans: ['silka', 'Inter', 'Roboto', 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', 'Arial', 'system-ui', 'sans-serif'],
|
||||
mono: [
|
||||
'ui-monospace',
|
||||
'Cascadia Code',
|
||||
|
|
Reference in a new issue