From 9e4c3122f6c3ea1cac02d738235c2fcbfa472529 Mon Sep 17 00:00:00 2001 From: eggy Date: Mon, 15 Apr 2024 23:43:55 -0400 Subject: [PATCH] feat: add domine --- assets/css/base.scss | 10 ++++++---- assets/css/main.scss | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/assets/css/base.scss b/assets/css/base.scss index b663392..2ecf7e7 100644 --- a/assets/css/base.scss +++ b/assets/css/base.scss @@ -1,4 +1,4 @@ -@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;600;700;800;900&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;600;700;800;900&family=Domine:wght@400..700&&display=swap"); @mixin headings { h1, @@ -42,11 +42,13 @@ main { font-family: Bitter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", "Helvetica Neue", sans-serif; + font-optical-sizing: auto; } .text-article { - font-family: "Source Serif Pro", serif; + font-family: "Domine", serif; line-height: 1.8; - color: #111; - font-size: 1.25rem; + font-size: 1.1rem; + font-weight: 500; + color: var(--text-color); } diff --git a/assets/css/main.scss b/assets/css/main.scss index 66b37ec..ac95622 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -19,4 +19,8 @@ a:hover { @apply hover:text-blue-700 dark:hover:text-blue-400; } + + p { + @apply text-article; + } }