Color Schemes
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Read #6028 for the broader style system initiative and #6027 for the style options under discussion. The issue identifies color schemes, style variants, images, typography, and graphics customization as unresolved areas; first map how those concerns fit the existing style system. Done means agreeing on how variants and customization options should work, including which options belong to a variant and how light, dark, and dynamic selection behaves.
索引モデルが issue の本文から書いたものです。
説明
Note: This is part of a larger initiative to overhaul the style system and the customization options in general. See #6028 to learn more.
The dark mode was among the most painful things to add to the style system because it really showed that the existing implementation is not aging well. It’s also extremely limiting that a style can only have two color schemes and one is always the dark variant. To add insult to injury, explicitly opting in to either “always dark color scheme” or “always light color scheme” is impossible, because the dark color scheme contains some hidden customization options that are not accessible otherwise.
This will also eliminate the mess that is created by styles that come in a variety of color schemes but have to be implemented as separate styles with all the drawbacks that come with them.
Potential Solution: Decouple Style from Color Scheme
Ideally, a style should be able to contain an infinite number of color schemes. Each color scheme has a dedicated option that defines if this variant is considered to be “light” or “dark”. This should toggle things like the color tint of UI element.
Mix-and-match: Light vs. Dark
The administrator should be able to define the style to be always of a certain color scheme, for example, always “light” or “dark”. If the style is set to “dynamic” it should automagically switch based on the user preferences but in that case only “light” variants may be eligible for the “light” style, and vice versa for the “dark” variant. This is due to the styling of built-in UI elements.
Unclear
- It is not enough to simply allow multiple sets of color schemes to be set up. Some aspects like images are sensitive to the color scheme and might not work with a different background color. Figure out which customization options must be bound to the style variant instead.
- Typography should remain bound to the style itself, but what about the style options outlined in #6027? It is tempting to allow options to be (optionally) customizable per variant, but this opens up a big can of worms, like, should some options be shared and others not? We need to explore this a bit to figure out the right approach.
- How do we want to support customization options like swapping out graphics provided by the style?
- 主要言語
- PHP
- スター
- 248
- フォーク
- 147
- 平均マージ
- 17分
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WoltLab/WCF のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
WoltLab/WCF#6771 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
HE-Arc/le-panier-du-coin#49 ·
メンテナーはふだん 1 日以内に返信
-
15.0
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
LinkNacional/woo-rede#367 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Lazyload SVG placeholder runs uncached attachment lookups with JSON-escaped URLs on REST responsesオープンcustomer report
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Codeinwp/optimole-wp#1253 ·
メンテナーはふだん 1 日以内に返信