elementary / elementary/code

Split style scheme GSettings into light and dark

未关闭
#395 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
Priority: Wishlist Status: Confirmed
主要语言
Vala
星标
521
派生
118
平均合并
1 天 8 小时
30 天内合并 PR
14

描述

Right now we have one style scheme GSetting that we manually change every time you use the light or dark buttons in the style switcher. Instead, we could have a light GSetting and dark GSetting, and just toggle between them with the buttons.

- [ ] Change the UI to just say, "Light" and "Dark" instead of anything about "Solarized" OR programmatically grab the name of the relevant style scheme
- [ ] Create the new GSettings
- [ ] Change the scheme based on the GSetting
- [ ] Make sure we still load the correct one at runtime

This makes it a little easier for downstreams to set their own default light and dark color schemes if they want.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/57214512-split-style-scheme-gsettings-into-light-and-dark?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F61917289&utm_medium=issues&utm_source=github).

贡献指南

打开贡献指南

调研方向

首先跟踪现有的 style switcher 及其当前的 style-scheme GSettings 键。检查 Light 和 Dark 按钮如何更新 scheme,以及应用程序如何在运行时加载它。完成的标准是:Light 和 Dark 的独立设置能够正确切换,UI 使用预期的标签或 scheme 名称,并且下游能够设置相互独立的默认值。

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

评估

领域
desktop
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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