tolaria
tolaria copied to clipboard
Whither color swatch color lines?
What is the purpose of the color lines in the color swatch?

It's supposed to show what the color looks like along with a desaturated and shadowed version of the color
How are the desaturated and shadowed versions determined?
@lfrancis 20% black, 20% white:
https://github.com/Threespot/tolaria/blob/master/app/assets/stylesheets/admin/components/forms/_swatch_field.scss#L23
Is this display intended to be useful to the end user, or is it a simple decoration of the assigned color swatch?
It's supposed to show how the color looks inside design features. Example: You ask the user to pick a background color, but you might be floating a shadowed box on top of that background, etc
I'm with Lewis, I think this is confusing in most cases.