Switch to new fonts: Fanwood Text, Didact Gothic

This commit is contained in:
Hippo 2021-12-27 22:18:32 +05:30
parent d3500615ab
commit 8bc309a936
2 changed files with 4 additions and 4 deletions

View file

@ -5,10 +5,10 @@
<title>Snipette Crowdfunding: Analog for Everyone</title>
<link rel="stylesheet" href="style.css"/>
<!-- Fonts: Crimson Text, Abhaya Libre, Open Sans -->
<!-- Fonts: Fanwood Text, Abhaya Libre, Didact Gothic -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@800&family=Crimson+Text&family=Open+Sans:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@800&family=Didact+Gothic&family=Fanwood+Text:ital@0;1&display=swap" rel="stylesheet">
</head>
<body class="bg-orange-200 font-serif">
<div class="bg-orange-600 uppercase text-lg text-orange-800 p-5 font-sans">

View file

@ -4,9 +4,9 @@ module.exports = {
darkMode: 'media',
theme: {
fontFamily: {
'serif': [ 'Crimson Text', 'Crimson Pro', 'Georgia', 'ui-serif', ],
'serif': [ 'Fanwood', 'Fanwood Text', 'Crimson Text', 'Crimson Pro', 'Georgia', 'ui-serif', ],
'heading': [ 'Abhaya Libre', 'ui-serif' ],
'sans': [ 'Open Sans', 'sans-serif' ],
'sans': [ 'Didact Gothic', 'Open Sans', 'sans-serif' ],
},
},
variants: {},