style: update font sizes and typefaces

This commit is contained in:
Kerby Martino (aider) committed 2025-05-01 02:55:03 +08:00
1 parent 96bb23b436
commit d9101a5668
1 file changed
+19 -6
+19 -6
View File
@@ -2,7 +2,7 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ page.title }}</title> <title>{{ page.title }}</title>
<link href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;600;700&family=Monad:wght@400;500;600;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
<script> <script>
tailwind.config = { tailwind.config = {
@@ -25,7 +25,20 @@
}, },
fontFamily: { fontFamily: {
sans: [ sans: [
'Work Sans', 'Arimo',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'Helvetica',
'Arial',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"'
],
action: [
'Monad',
'-apple-system', '-apple-system',
'BlinkMacSystemFont', 'BlinkMacSystemFont',
'"Segoe UI"', '"Segoe UI"',
@@ -39,10 +52,10 @@
], ],
}, },
fontSize: { fontSize: {
'xs': '0.75rem', // Very small text (like "reply") 'xs': '1rem', // Very small text (like "reply")
'sm': '0.875rem', // Small text (like meta info) 'sm': '1.125rem', // Small text (like meta info)
'base': '1rem', // Base text size (like post titles) 'base': '1.25rem', // Base text size (like post titles)
'lg': '1.125rem', // Section headers 'lg': '1.5rem', // Section headers
}, },
spacing: { spacing: {
'navbar-height': '2.5rem', // Height of the navbar 'navbar-height': '2.5rem', // Height of the navbar