Skip to content

fix: 深色模式下浏览器原生控件也用深色 - #18

Merged
stqfdyr merged 1 commit into
mainfrom
fix/dark-color-scheme
Sep 28, 2026
Merged

stqfdyr merged 1 commit into
mainfrom
fix/dark-color-scheme

Conversation

@stqfdyr

@stqfdyr stqfdyr commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

深色模式只切换了主题自己的配色,浏览器原生控件仍按浅色绘制:页面滚动条、分组页签的横向滚动条是白色轨道,「削峰」复选框未勾选时是白框。

  • .dark 加 color-scheme: dark,这些控件随深色模式一起变深;浅色模式不变

lint、test、build 通过;有界面 Chrome 实测深色模式下的首页滚动条、节点详情的「削峰」、390 宽的分组页签,改前改后对照。

@stqfdyr
stqfdyr merged commit 0e7bc5b into main Sep 28, 2026
1 check passed
@stqfdyr
stqfdyr deleted the fix/dark-color-scheme branch September 28, 2026 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant