From d3eb5b7ab06d8a9c51d36073992394f1219fee88 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sat, 16 Sep 2023 13:49:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E8=B0=83=E6=95=B4=E8=83=8C?= =?UTF-8?q?=E6=99=AF=E9=A2=9C=E8=89=B2=EF=BC=8C=E6=9B=B4=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E7=84=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/themes/default.css | 6 +++--- src/utils/TGShare.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/assets/themes/default.css b/src/assets/themes/default.css index 5edf0d40..61b5144e 100644 --- a/src/assets/themes/default.css +++ b/src/assets/themes/default.css @@ -2,19 +2,19 @@ * @file assets themes default.css * @description 主题样式文件-默认(浅色)主题 * @author BTMuli - * @since Beta v0.3.0 + * @since Beta v0.3.2 */ /* default(light) theme */ html.default { /* app container */ - --app-page-bg: #ffffff; + --app-page-bg: #f9f6f2; --app-page-content: #2f2f2f; --app-side-bg: #f2f2f2; --app-side-content: #222222; /* box container */ - --box-bg-1: #efefef; + --box-bg-1: #f2f9f6; --box-bg-2: #f6f8fa; --box-bg-3: #dee4e9; --box-bg-4: #f5f5f5; diff --git a/src/utils/TGShare.ts b/src/utils/TGShare.ts index 8d63678b..26bdb45f 100644 --- a/src/utils/TGShare.ts +++ b/src/utils/TGShare.ts @@ -59,7 +59,7 @@ export async function saveImgLocal(url: string): Promise { /** * @description 获取分享截图背景色 - * @since Beta v0.3.0 + * @since Beta v0.3.2 * @returns {string} 背景色 */ function getShareImgBgColor(): string { @@ -68,9 +68,9 @@ function getShareImgBgColor(): string { theme = JSON.parse(theme).theme; } if (theme === "dark") { - return "#000000"; + return "#1e1e1e"; } else { - return "#ffffff"; + return "#f9f6f2"; } }