Skip to content

Investigate decorative/linear/illustration color scale #4054

Description

@Thunear

Description:
We currently only offer a "functional" color scale based on contrast for the user, where the color is calculated based on luminance. This works well when colors need to work in a functional system with states and contrast boundaries, but does not create nice colors for more decorative purposes, like illustrations.

We have gotten a lot of feedback from users that they want to generate more linear / smooth color scales with steps. A quick thought is to generate the colors based on percentage based color space interpolation to create nice transitions. And maybe the user can select how many steps should be in the color scale so that the scale looks like for example: "red-1" ... "red-15" if the user selected 15 steps.

Current test approach:
After talking with a few users I want to test an approuch where the user can input the amount of steps for the scale and define the lightness boundaries with a slider.

Link to implementation: https://advanced-themebuilder.netlify.app/

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cli@digdir/designsystemet🎨 theme-builderEverything related to our theme builder🕵️ investigateNeeds investigation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions