palette icon indicating copy to clipboard operation
palette copied to clipboard

Show the best font colour to use with a picked background colour

Open stsdc opened this issue 5 years ago • 5 comments

Would be cool to display also a font colour to use with picked background colour for the best contrast and style.

stsdc avatar Mar 29 '20 14:03 stsdc

This is hard because it could suggest pure white or black (which it basically does in the UI without explicitly saying it), but more often you might want to use it with a lighter or darker shade of the same color. I don't think we have official guidelines for foreground colors to use with elementary palette background colors, but that could be interesting to do upstream.

cassidyjames avatar Mar 30 '20 17:03 cassidyjames

I created this issue because I saw, that on official HIG You are not using just black colour for foreground. I thought it was standardized. obraz Here was used #330000 instead of black.

stsdc avatar Mar 30 '20 17:03 stsdc

@stsdc yeah that isn't standardized or documented anywhere, but we could.

cassidyjames avatar Mar 30 '20 17:03 cassidyjames

@stsdc I've opened an issue at https://github.com/elementary/website/issues/2331

cassidyjames avatar Mar 30 '20 17:03 cassidyjames

elementary/website#2330 was fıxed, I assume it would be possible now

hanaral avatar Dec 25 '20 23:12 hanaral