Skip to content

fix: 帖子详情页暗色样式适配主题切换#21

Merged
aba2222 merged 1 commit into
aba2222:mainfrom
xiokuai:fix/dark-theme-css
Feb 23, 2026
Merged

fix: 帖子详情页暗色样式适配主题切换#21
aba2222 merged 1 commit into
aba2222:mainfrom
xiokuai:fix/dark-theme-css

Conversation

@xiokuai
Copy link
Copy Markdown
Contributor

@xiokuai xiokuai commented Feb 20, 2026

Summary

  • post_detail.html 中的暗色样式从 @media (prefers-color-scheme: dark) 改为 [data-bs-theme="dark"] 选择器
  • feat: 在设置页面添加主题切换按钮 #18 主题切换功能保持一致,手动切换暗色模式时样式也能正确生效

与主题切换功能保持一致,手动切换暗色时样式也能正确生效。
@aba2222
Copy link
Copy Markdown
Owner

aba2222 commented Feb 22, 2026

等待 #18 合并

@aba2222 aba2222 merged commit 9d4941e into aba2222:main Feb 23, 2026
2 checks passed
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.

2 participants