Create a colour calculator for use when specifying theme colours
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 53
- フォーク
- 63
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 15
説明
Summary
We are expanding the theming to allow mor colours to be customised. Ideally we would allow these colours to be specified in any colour space (rgb, hex, hsl). However, in order to easily perform calculations on the different channels, we need to convert any theme colour to hsl. This ticket is to explore methods to do this using pure CSS.
💬 Description
- Explore how to perfrom colour conversions using pure CSS.
- If can't be done with pure CSS, explore other methods: CSS preprocessor, javascript applet, etc.
- Determine where in the flow this happens.
-
- Is this an applet on the webiste that outputs colour values that can be used to set tokens?
-
- Does this happen in background when setting a theme token value?
-
- Do we provide a number of tokens for people to specify in different ways? (--ic-action-h, --ic-action-s, --ic-action-l, --ic-action-r, --ic-action-g, --ic-action-b, --ic-action-hex)
💰 User value
This makes it easier for users to specify colours, and provides ICDS with ability to perform complex calculations on the individual channels.
📚 User Stories
If relevant, describe the high-level functionality as user stories.
As an ICDS user:
I need
So that
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given
When
Then
✏ Designs
If there's a Figma design file (or other mock-up), include it here.
## 🧾 Guidance
If there's written guidance or documentation, include a link to it here.
Related tickets
#1496
#1047
#1662
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリーポイントは指定されていません。まず関連するチケット #1496、#1047、#1662 を確認し、次にテーマカラーを変換するための pure CSS、preprocessor、JavaScript のアプローチを比較してください。アプローチを選択し、変換をどこで行うか、ユーザーがカラー値をどのように指定するかを定義すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- css, javascript
- 領域
- design, frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100