style: update font sizes and typefaces
This commit is contained in:
1 parent
96bb23b436
commit
d9101a5668
1 file changed
+19
-6
+19
-6
@@ -2,7 +2,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<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>
|
||||
tailwind.config = {
|
||||
@@ -25,7 +25,20 @@
|
||||
},
|
||||
fontFamily: {
|
||||
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',
|
||||
'BlinkMacSystemFont',
|
||||
'"Segoe UI"',
|
||||
@@ -39,10 +52,10 @@
|
||||
],
|
||||
},
|
||||
fontSize: {
|
||||
'xs': '0.75rem', // Very small text (like "reply")
|
||||
'sm': '0.875rem', // Small text (like meta info)
|
||||
'base': '1rem', // Base text size (like post titles)
|
||||
'lg': '1.125rem', // Section headers
|
||||
'xs': '1rem', // Very small text (like "reply")
|
||||
'sm': '1.125rem', // Small text (like meta info)
|
||||
'base': '1.25rem', // Base text size (like post titles)
|
||||
'lg': '1.5rem', // Section headers
|
||||
},
|
||||
spacing: {
|
||||
'navbar-height': '2.5rem', // Height of the navbar
|
||||
|
||||
Reference in new issue
Block a user