mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 05:16:59 +03:00
NOISSUE add hack for system themes. Maybe it works?
This commit is contained in:
parent
71584fb8cc
commit
944ff256b2
10 changed files with 71 additions and 3 deletions
|
|
@ -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; }";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue