mi6 / mi6/ic-ui-kit

[Suggestion]: Use OKLCH instead of rgb(a)

Open
#3,687 3 comments 0 reactions 0 assignees View on GitHub
spike
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

### Summary
OKLCH is starting to get traction because it provides a better way to define colors. It also improves a11y.

### 💬 Description
Here's a list of links to read up on OKLCH:
- https://uploadcare.com/blog/oklch-in-css/
- https://www.smashingmagazine.com/2023/08/oklch-color-spaces-gamuts-css/
- https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
- https://chriscoyier.net/2023/05/25/two-things-that-are-not-great-about-oklch/

### 💰 Use value
Make the ic-design-system top notch with modern practices.

### 📝 Acceptance Criteria

*Given* the designs and color palettes in ic-ui-kit
*When* oklch is implemented
*Then* dx/ux and a11y is enhanced

### ✏ Designs

N/A

### 🧾 Guidance

See above

### 🚨 Urgency (low, medium or high)
not time sensitive (low)

### Additional info
N/A

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the designs and color palettes in ic-ui-kit, then read the linked OKLCH references to understand the proposed direction. The issue names no files or tests; done means OKLCH is implemented for the relevant palettes with the stated DX, UX, and accessibility improvements.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
accessibility, design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.