mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DolphinQt: Adjust panel-specific colors and syntax highlighting for dark theme.
This commit is contained in:
@ -163,6 +163,11 @@ bool Settings::IsSystemDark()
|
||||
return s_system_dark;
|
||||
}
|
||||
|
||||
bool Settings::IsThemeDark()
|
||||
{
|
||||
return qApp->palette().color(QPalette::Base).valueF() < 0.5;
|
||||
}
|
||||
|
||||
// Calling this before the main window has been created breaks the style of some widgets.
|
||||
void Settings::SetCurrentUserStyle(const QString& stylesheet_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user