Skip to content

皮肤功能:浅色/深色/跟随系统自动切换 #113

Closed

Description

@micln

需求

新增皮肤(主题)功能,在现有浅色、深色基础上增加「跟随系统」模式:

  • 主题选项:浅色 / 深色 / 系统自动
  • 「系统自动」模式下根据系统 (macOS/Windows 深浅色设置)自动切换浅色或深色
  • 用户手动选择的主题偏好需持久化(localStorage),刷新后保留
  • 「系统自动」需监听系统主题变化事件实时切换

验收标准

  • 设置中可选择 浅色/深色/系统 三种主题
  • 选择「系统」时,系统切换深浅色后页面实时跟随
  • 主题偏好持久化
  • 全量页面/组件在深色下无样式回归

Activity

  1. micln commented on Sep 26, 2026

    @micln
    ContributorAuthor

    优先级建议:P1(体验增强,改动面小,与既有主题体系兼容)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions