From bd422a9d3e4d9ea48ddc3c5ec185d4e309df9fb5 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Wed, 5 Jul 2023 16:59:54 +0800 Subject: [PATCH] refine ui --- assets/app.css | 2 +- assets/main.css | 2 +- layouts/_default/baseof.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/app.css b/assets/app.css index 8347854..5785865 100644 --- a/assets/app.css +++ b/assets/app.css @@ -72,7 +72,7 @@ } article { - @apply text-lg leading-[1.9] text-black dark:text-white; + @apply text-lg leading-[1.8] text-black dark:text-white; } article pre { diff --git a/assets/main.css b/assets/main.css index f864fec..8b02730 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1613,7 +1613,7 @@ body { article { font-size: 1.125rem; line-height: 1.75rem; - line-height: 1.9; + line-height: 1.8; --tw-text-opacity: 1; color: rgb(0 0 0 / var(--tw-text-opacity)); } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dec7d8d..c3820f7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -5,7 +5,7 @@ {{ $.Scratch.Delete "avatar_url" }} -{{ $color_map := dict "linen" "#faf6f1" "wheat" "#f8f5d7" "gray" "#fbfbfb" +{{ $color_map := dict "linen" "#faf8f1" "wheat" "#f8f5d7" "gray" "#fbfbfb" "light" "#fff" }} {{ $.Scratch.Set "bg_color" (index $color_map (site.Params.color | default (print "linen"))) }}