Issue: Add Dark Mode Support and Theming Consistency

未关闭
#6,765 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@Ansita20 已经在做这个了。

开始于 2026年5月13日。

  • #6771 来自 @AbhiramDhanvi —— 已关闭,未合并

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
冷清
技术栈
react, typescript

调研方向

没有指定文件或测试。首先定位 Web 应用的 Material-UI 设置、主题入口、页眉和登录流程;然后跟踪已认证页面的渲染方式。完成的标准是具备浅色和深色调色板、可见的切换控件、localStorage 持久化、系统偏好检测,并且登录页面和已认证页面的行为保持一致且没有 TypeScript 错误。

由索引模型根据 Issue 内容生成。

描述

Issue: Add Dark Mode Support and Theming Consistency

Description

The PipeCD web application currently lacks comprehensive dark mode support and theme switching functionality. The UI is light-themed only, and there is no consistent theming system across the application that allows users to toggle between light and dark modes.

Problem Statement

  1. No Dark Mode Theme: The application only supports a light color palette
  2. No Theme Switcher UI: Users cannot switch between themes
  3. No Theme Persistence: Theme preference is not saved across sessions
  4. Inconsistent Theming: No centralized theme provider or context management
  5. Missing Documentation: Lack of integration with Material-UI theme system for proper dark mode support

Expected Behavior

  • Users should be able to toggle between light and dark modes via a UI button
  • Theme preference should persist across browser sessions using localStorage
  • The application should respect system theme preference on first load
  • All components should automatically adapt to the selected theme
  • Dark mode should provide proper contrast and readability

Acceptance Criteria

  • Light and dark theme palettes defined in MUI theme
  • ThemeProvider context created for centralized theme management
  • Theme toggle button visible in the header
  • Theme preference persists to localStorage
  • System theme preference detection implemented
  • All UI components properly themed in both modes
  • No TypeScript errors
  • Theme switch works on all pages (login and authenticated)

Related Issues

  • Theme/Dark mode consistency across docs and web UI
  • Navigation improvements needed for better UX

Priority

Medium - Improves user experience and accessibility

主要语言
Go
星标
1.4k
派生
391
平均合并
4 天 1 小时
30 天内合并 PR
58

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pipe-cd/pipecd 的其他 Issue

查看 pipe-cd/pipecd 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。