💄 调整浅色模式下滚动条可见度

#221
This commit is contained in:
BTMuli
2026-02-26 12:56:16 +08:00
parent adef358534
commit 04c9907490
4 changed files with 6 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ html {
::-webkit-scrollbar-thumb {
min-height: 48px;
border-radius: 4px;
background: var(--tgc-od-white);
background: var(--app-scroll-bg);
}
::-webkit-scrollbar-thumb:hover {

View File

@@ -1,6 +1,6 @@
/**
* 主题样式文件-深色主题
* @since v0.8.9
* @since v0.9.7
*/
/* dark mode */
@@ -11,6 +11,7 @@ html.dark {
--app-page-content: #d0d0d0ff;
--app-side-bg: #151c26ff;
--app-side-content: #ddddddff;
--app-scroll-bg: var(--tgc-od-white);
/* box container */
--box-bg-1: #21252bff;

View File

@@ -1,6 +1,6 @@
/**
* 主题样式文件-默认(浅色)主题
* @since v0.8.9
* @since v0.9.7
*/
/* default(light) theme */
@@ -11,6 +11,7 @@ html.default {
--app-page-content: #2f2f2fff;
--app-side-bg: #f2f2f2ff;
--app-side-content: #222222ff;
--app-scroll-bg: var(--tgc-yellow-3);
/* box container */
--box-bg-1: #f9f6f2ff;

View File

@@ -68,7 +68,7 @@ import useBBSStore from "@store/bbs.js";
import TGLogger from "@utils/TGLogger.js";
import { createPost } from "@utils/TGWindow.js";
import { storeToRefs } from "pinia";
import { computed, onMounted, reactive, Ref, ref, shallowRef, watch } from "vue";
import { computed, onMounted, reactive, type Ref, ref, shallowRef, watch } from "vue";
import { useRoute } from "vue-router";
type PostData = Record<TGApp.BBS.Post.NewsTypeEnum, Ref<Array<TGApp.BBS.Post.FullData>>>;