Skip to content
Snippets Groups Projects
Commit 3d5c6c68 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

[Android] Add button and alternate base colors to palette

parent 4349b233
No related branches found
No related tags found
No related merge requests found
Pipeline #2812 passed
......@@ -139,6 +139,8 @@ int main(int argc, char *argv[])
auto pal = qApp->palette();
pal.setColor(QPalette::Active, QPalette::Highlight, QColor(0, 160, 160)); // Teal color of highlight for Android
pal.setColor(QPalette::Active, QPalette::Shadow, QColor(120, 120, 120)); // Dark gray for shadow
pal.setColor(QPalette::Active, QPalette::Button, QColor(240, 240, 240)); // Very light gray for button
pal.setColor(QPalette::Active, QPalette::AlternateBase, QColor(245, 255, 255)); // Very light teal for alternate base
qApp->setPalette(pal);
#elif defined (Q_OS_WIN)
QSettings accent(QStringLiteral("HKEY_USERS\\.DEFAULT\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Accent"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment