markprompt-js icon indicating copy to clipboard operation
markprompt-js copied to clipboard

Proposal: migrate colors to oklch/CSS 5

Open michaelfester opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Handling variations of colors can be tricky (e.g. hover colors) and currently requires defining new CSS variables, instead of applying transforms (e.g. lightness) to a base set of colors. CSS 5 color transformations can simplify this, and make accessibility easier to control

Describe the solution you'd like Move variables to okhcl, and use CSS 5 colors transforms for variations. As a result, remove unnecessary variables.

michaelfester avatar Jul 17 '23 21:07 michaelfester