fix: dark placeholder text in dark background on dark theme
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
dec81c4f27
commit
0cb47cf7d7
@ -31,6 +31,7 @@ QPalette DarkTheme::colorScheme()
|
|||||||
darkPalette.setColor(QPalette::Link, QColor(42, 130, 218));
|
darkPalette.setColor(QPalette::Link, QColor(42, 130, 218));
|
||||||
darkPalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
|
darkPalette.setColor(QPalette::Highlight, QColor(42, 130, 218));
|
||||||
darkPalette.setColor(QPalette::HighlightedText, Qt::black);
|
darkPalette.setColor(QPalette::HighlightedText, Qt::black);
|
||||||
|
darkPalette.setColor(QPalette::PlaceholderText, Qt::darkGray);
|
||||||
return fadeInactive(darkPalette, fadeAmount(), fadeColor());
|
return fadeInactive(darkPalette, fadeAmount(), fadeColor());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user