diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-05-25 00:53:22 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-06-01 18:25:58 +0200 |
commit | e6215c7233c0fb437a81b51c8a8a30bb53eef65f (patch) | |
tree | 914a138e1985fbffaa467ad33dc3eeef440cb725 /svx/inc/xftshtit.hxx | |
parent | c7b4d15c5c33e8ac05b054aa1d19751fb1b1275a (diff) |
tdf#153361 improve theme color generation in color picker
The theme color generator needs to take color luminocity into
account, so that the very dark or very light colors are properly
shaded. Otherwise a too dark color will generate a too dark (almost
black) color variant, or a too light a too light (almost white)
color variant. However those colors aren't useful.
Change-Id: Id803a8f6f1a79cbc822ed2d7faca9bec228c0188
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152237
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/inc/xftshtit.hxx')
0 files changed, 0 insertions, 0 deletions