[FR] Implement a dark mode using standard, global colors
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- css, javascript, sass
调研方向
首先定位组件样式表,以及 issue 中提到的重复硬编码颜色或 SASS 变量。定义全局 CSS custom properties 的作用域,并验证 prefers-color-scheme: dark 是否应用深色值,以及 darkreader-lock meta 元素是否阻止自动变暗。
由索引模型根据 Issue 内容生成。
描述
We should add a dark mode for prefers-color-scheme: dark. Something neat I found is that you can prevent dark reader from automatically darkening a site by adding <meta name="darkreader-lock">.
It'll be easier to do this if we use global colors across the app. There's a lot of duplication between components as they all have their own stylesheets. I'd prefer if we used CSS3 custom properties for these values instead of hard-coded values or SASS variables. Then we can just implement the dark mode with a single rule that sets all the color properties to their dark mode values - the same way Firefox handles color scheme/forced color modes.
- 主要语言
- JavaScript
- 星标
- 11
- 派生
- 14
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/bugzy 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
-
enhancement
难度 4/5 3-5 天 新手友好度 28/100
-
[FR] Add qe-verify flag tag on recently closed bugs under "My Bugs'可能重新可做 @mimizillaa 于 891 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
bug
难度 4/5 3-5 天 新手友好度 45/100
-
bug
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
维护者通常 1 天内回复
-
RpcTest.makeClient: accept disableFatalDefects可能已有人在做 @effect-bot 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Effect-TS/effect#9893 · 3 条评论 ·
维护者通常 1 天内回复
-
0.2.1-rc.3 compatibility: 21 peer ranges enumerate exact versions, so rc.3 is rejected可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
NanmiCoder/dsh-agent-teams#277 ·
维护者通常 1 天内回复
-
[ordering-review] workshop order graph: 1 confirmed ordering problem, 3 cycles are false positives未关闭
难度 2/5 1-3 小时 新手友好度 78/100
githubnext/gh-aw-workshop#4943 · 1 条评论 ·
维护者通常 1 天内回复