diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-25 10:02:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-25 10:11:30 +0000 |
commit | 19663d39f400dac3682228f3f0146807bbbebe74 (patch) | |
tree | aa8821c9dbea731ad88b251f9a0ea845112a0fad /starmath | |
parent | cd28eb89d779091fafba0cf6c39a75498d4eab22 (diff) |
Resolves: tdf#104598 make bright theme shadow the same as it always was
The shadow color was originally set via StyleSettings::Set3DColors taking the
background color as the input, and doing DecreaseLuminance(64) on it to make
the shadow color
So, continue to follow that mode if the "dark shadow" is darker than the
foreground, and IncreaseLuminance the equal amount the other direction for dark
themes.
This way under a dark theme the problem of impossible to see rulers of
tdf#90214 is still fixed, while the bright theme colors are the same as they
always were, which avoid the wearing-on-the-nerves "regression" problem.
Change-Id: I33133ff180ecadce3a14ee45bd33db73c56c0225
Diffstat (limited to 'starmath')
0 files changed, 0 insertions, 0 deletions