diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-12-19 17:16:57 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-20 09:53:04 -0800 |
commit | bdd1b3b5469a045b71343fbf721a512f9cd2b0e8 (patch) | |
tree | 1537a0eeb9e50851f7393486f01ca286fad76854 /qt-ui/printlayout.cpp | |
parent | 9e57dd48260ecc52a1333e9c6298036d7c42f73d (diff) | |
download | subsurface-bdd1b3b5469a045b71343fbf721a512f9cd2b0e8.tar.gz |
Make it possible to use the Tag System in dark themes
The color used on the bright theme was cyan, and it's too bright when the
font is also white.
This patch uses the HSL information of the color to determine if the text
color is light or dark, and adjusting the background color for that.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
0 files changed, 0 insertions, 0 deletions