Add JetBrains Mono as a headline and content font option
This commit is contained in:
1 parent
1928c79b7a
commit
4e29f31aba
2 files changed
+3
-1
No files matched your search
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
<title>RSS-Reader</title>
|
<title>RSS-Reader</title>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@400;700&family=Raleway:wght@400;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,700;1,8..60,400&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=JetBrains+Mono:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@400;700&family=Raleway:wght@400;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,700;1,8..60,400&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ const HEADLINE_FONT_OPTIONS = [
|
|||||||
{ key: 'lora', label: 'Lora', value: "Lora, Georgia, serif" },
|
{ key: 'lora', label: 'Lora', value: "Lora, Georgia, serif" },
|
||||||
{ key: 'raleway', label: 'Raleway', value: "Raleway, -apple-system, sans-serif" },
|
{ key: 'raleway', label: 'Raleway', value: "Raleway, -apple-system, sans-serif" },
|
||||||
{ key: 'inter', label: 'Inter', value: "Inter, -apple-system, sans-serif" },
|
{ key: 'inter', label: 'Inter', value: "Inter, -apple-system, sans-serif" },
|
||||||
|
{ key: 'jetbrains-mono', label: 'JetBrains Mono', value: "'JetBrains Mono', 'Courier New', monospace" },
|
||||||
]
|
]
|
||||||
|
|
||||||
const CONTENT_FONT_OPTIONS = [
|
const CONTENT_FONT_OPTIONS = [
|
||||||
@@ -14,6 +15,7 @@ const CONTENT_FONT_OPTIONS = [
|
|||||||
{ key: 'source-serif', label: 'Source Serif 4', value: "'Source Serif 4', Georgia, serif" },
|
{ key: 'source-serif', label: 'Source Serif 4', value: "'Source Serif 4', Georgia, serif" },
|
||||||
{ key: 'inter', label: 'Inter', value: "Inter, -apple-system, sans-serif" },
|
{ key: 'inter', label: 'Inter', value: "Inter, -apple-system, sans-serif" },
|
||||||
{ key: 'playfair', label: 'Playfair Display', value: "'Playfair Display', Georgia, serif" },
|
{ key: 'playfair', label: 'Playfair Display', value: "'Playfair Display', Georgia, serif" },
|
||||||
|
{ key: 'jetbrains-mono', label: 'JetBrains Mono', value: "'JetBrains Mono', 'Courier New', monospace" },
|
||||||
]
|
]
|
||||||
|
|
||||||
const SIZE_STEPS = [0.85, 1, 1.2, 1.45]
|
const SIZE_STEPS = [0.85, 1, 1.2, 1.45]
|
||||||
|
|||||||
Reference in new issue
Block a user