From 05df2c0589f6fd4b65cd8a9cf394b25bf5f644f8 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Mon, 26 Jun 2023 15:43:40 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E7=BE=8E=E5=8C=96=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=9D=A1=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/index.css | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/assets/index.css b/src/assets/index.css index b1c08a01..73019329 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -2,7 +2,7 @@ * @file assets index.css * @description 全局样式文件 * @author BTMuli - * @since Alpha v0.2.0 + * @since Alpha v0.2.1 */ @import "fonts/index.css"; @@ -39,15 +39,28 @@ html { } ::-webkit-scrollbar-track { - background: #847c74; /* 夜灰 */ + background: #faf7e8; border-radius: 5px; } ::-webkit-scrollbar-thumb { - background: #c7d2d4; /* 鸥蓝 */ + background: #686868; border-radius: 5px; } +::-webkit-scrollbar-thumb:hover { + background: #606060; +} + +/* dark mode */ +.dark ::-webkit-scrollbar-track { + background: #424242; +} + +.dark ::-webkit-scrollbar-thumb:hover { + background: #7b7b7b; +} + /* card action 内的按钮 */ .card-btn { background: #4a5366;