QGtk3Theme: define light, midlight, mid, dark and shadow colors
Define color groups used for shading and in order to render specific inactive texts, e.g. menu item text. Found-by: Piotr Wierciński <piotr.wiercinski@qt.io> Pick-to: 6.5 Change-Id: I736f5aff1ff5379ce3f78b53e547b0b5f552779f Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io> Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> (cherry picked from commit fd09519bbd4e7ea89b898c7496e7e06980ee9672) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
23ec6b1051
commit
516cae81df
@ -578,6 +578,18 @@ void QGtk3Storage::createMapping()
|
||||
MODIFY(Normal, Text, -100, -100, -100);
|
||||
ADD(All, PlaceholderText, Dark);
|
||||
|
||||
// Light, midlight, dark, mid, shadow colors
|
||||
LIGHTER(Normal, Button, 125);
|
||||
ADD(All, Light)
|
||||
LIGHTER(Normal, Button, 113);
|
||||
ADD(All, Midlight)
|
||||
LIGHTER(Normal, Button, 113);
|
||||
ADD(All, Mid)
|
||||
LIGHTER(Normal, Button, 87);
|
||||
ADD(All, Dark)
|
||||
LIGHTER(Normal, Button, 5);
|
||||
ADD(All, Shadow)
|
||||
|
||||
SAVE(SystemPalette);
|
||||
CLEAR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user