mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
NOISSUE add hack for system themes. Maybe it works?
This commit is contained in:
@ -10,6 +10,11 @@ QString DarkTheme::name()
|
||||
return QObject::tr("Dark");
|
||||
}
|
||||
|
||||
bool DarkTheme::hasColorScheme()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
QPalette DarkTheme::colorScheme()
|
||||
{
|
||||
QPalette darkPalette;
|
||||
@ -39,6 +44,11 @@ QColor DarkTheme::fadeColor()
|
||||
return QColor(49,54,59);
|
||||
}
|
||||
|
||||
bool DarkTheme::hasStyleSheet()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
QString DarkTheme::appStyleSheet()
|
||||
{
|
||||
return "QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }";
|
||||
|
Reference in New Issue
Block a user