chore: font updates

This commit is contained in:
Cory Dransfeldt 2023-12-18 08:23:23 -08:00
parent b1a10f4008
commit dd67b01961
No known key found for this signature in database
4 changed files with 11 additions and 21 deletions

View file

@ -33,7 +33,6 @@
<link href="/assets/icons/apple-touch-icon.png?v={% version %}" rel="apple-touch-icon"> <link href="/assets/icons/apple-touch-icon.png?v={% version %}" rel="apple-touch-icon">
{% capture css %} {% capture css %}
{% render "../assets/styles/prism.css" %} {% render "../assets/styles/prism.css" %}
{% render "../assets/styles/ml.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

@ -131,7 +131,7 @@ code,
kbd, kbd,
samp, samp,
pre { pre {
font-family: ml, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-family: ui-monospace, Cascadia Code, Source Code Pro, Menlo, Consolas, DejaVu Sans Mono, monospace;
/* 1 */ /* 1 */
font-feature-settings: normal; font-feature-settings: normal;
/* 2 */ /* 2 */
@ -1990,7 +1990,7 @@ li > a {
} }
code { code {
font-family: ml, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-family: ui-monospace, Cascadia Code, Source Code Pro, Menlo, Consolas, DejaVu Sans Mono, monospace;
--tw-text-opacity: 1; --tw-text-opacity: 1;
color: rgb(249 250 251 / var(--tw-text-opacity)); color: rgb(249 250 251 / var(--tw-text-opacity));
padding: 0.25rem; padding: 0.25rem;

View file

@ -1,5 +1,3 @@
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = { module.exports = {
theme: { theme: {
extend: { extend: {
@ -22,7 +20,15 @@ module.exports = {
'source-sans-pro', 'source-sans-pro',
'sans-serif', 'sans-serif',
], ],
mono: ['ml', ...defaultTheme.fontFamily.mono], mono: [
'ui-monospace',
'Cascadia Code',
'Source Code Pro',
'Menlo',
'Consolas',
'DejaVu Sans Mono',
'monospace',
],
}, },
backgroundImage: { backgroundImage: {
'cover-gradient': 'cover-gradient':