From 2bf0b2db95b93545ae0ac0f133ced646f21c900c Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 28 Jun 2023 22:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E9=85=8D=E8=89=B2=E5=8F=98?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/themes/dark.css | 2 +- src/views/t-news.vue | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/assets/themes/dark.css b/src/assets/themes/dark.css index da72c8b8..5eeaac55 100644 --- a/src/assets/themes/dark.css +++ b/src/assets/themes/dark.css @@ -24,7 +24,7 @@ html.dark { --common-btn-bgt-2: #ece5d8; /* button 背景色对应的文本色 */ /* text */ - --common-text-title: var(--common-color-white); /* title */ + --common-text-title: #f9e9cd; /* title,米色 */ --common-text-content: var(--common-color-white); /* text */ --common-text-quote: var(--common-color-grey); /* quote */ diff --git a/src/views/t-news.vue b/src/views/t-news.vue index ab650f4f..90937572 100644 --- a/src/views/t-news.vue +++ b/src/views/t-news.vue @@ -517,6 +517,7 @@ async function searchPost() { .news-card-title { position: relative; height: 50px; + color: var(--common-text-title); transition: padding-top 0.3s linear, padding-bottom 0.3s linear, background 0.3s linear, font-size 0.3s linear, line-height 0.3s linear, white-space 0.3s linear; } @@ -546,6 +547,7 @@ async function searchPost() { max-width: 200px; height: 50px; align-items: center; + color: var(--common-text-content); } .ncu-left {