Skip to content

Commit

Permalink
add new serif font
Browse files Browse the repository at this point in the history
  • Loading branch information
edmadrid committed Mar 8, 2024
1 parent 8ecde58 commit 54a5c5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion site/_includes/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ <h1 class="tracking-tight">{{ title }}</h1>
{% if author %}
<div class="mt-4 italic">By {{ author }}</div>
{% endif %}
{{ content }}
<div class="font-serif my-8">{{ content }}</div>
</article>
2 changes: 1 addition & 1 deletion site/css/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');

@tailwind base;
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
theme: {
extend: {
fontFamily: {
serif: ["Alegreya", "serif"],
serif: ["Lora", "serif"],
sans: ["DM Sans", "sans"]
}
},
Expand Down

0 comments on commit 54a5c5a

Please sign in to comment.