From b51db125676fb1257e3bacbd19df3ae686ae69df Mon Sep 17 00:00:00 2001
From: Kyle K <190571+Docteh@users.noreply.github.com>
Date: Thu, 28 Jul 2022 07:50:20 -0700
Subject: Linux: handle dark system themes nicely
yuzu's default theme doesn't specify everything, which is fine for
windows, but in linux anything unspecified is set to the users theme.
Symptoms of this are that a linux user with a dark theme won't think
to change the theme to a dark theme when first using yuzu
Idea here is to try and support arbitrary themes on linux.
preliminary work on a "default_dark" theme, used only as overlay
for any themes that are measured to be dark mode.
Other work done:
FreeDesktop standard icon names:
plus -> list-add
delete refresh, we use view-refresh
remove duplicated icons for qdarkstyle_midnight_blue
referencing icon aliases in the qrc files is the way to go
Note:
Dynamic style changing doesn't appear to work with AppImage
---
dist/qt_themes/colorful/icons/48x48/list-add.png | Bin 0 -> 496 bytes
dist/qt_themes/colorful/icons/48x48/plus.png | Bin 496 -> 0 bytes
dist/qt_themes/colorful/style.qrc | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
create mode 100644 dist/qt_themes/colorful/icons/48x48/list-add.png
delete mode 100644 dist/qt_themes/colorful/icons/48x48/plus.png
(limited to 'dist/qt_themes/colorful')
diff --git a/dist/qt_themes/colorful/icons/48x48/list-add.png b/dist/qt_themes/colorful/icons/48x48/list-add.png
new file mode 100644
index 000000000..bc2c47c91
Binary files /dev/null and b/dist/qt_themes/colorful/icons/48x48/list-add.png differ
diff --git a/dist/qt_themes/colorful/icons/48x48/plus.png b/dist/qt_themes/colorful/icons/48x48/plus.png
deleted file mode 100644
index bc2c47c91..000000000
Binary files a/dist/qt_themes/colorful/icons/48x48/plus.png and /dev/null differ
diff --git a/dist/qt_themes/colorful/style.qrc b/dist/qt_themes/colorful/style.qrc
index 4b3f28d89..507e0e58b 100644
--- a/dist/qt_themes/colorful/style.qrc
+++ b/dist/qt_themes/colorful/style.qrc
@@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
icons/48x48/bad_folder.png
icons/48x48/chip.png
icons/48x48/folder.png
- icons/48x48/plus.png
+ icons/48x48/list-add.png
icons/48x48/sd_card.png
icons/48x48/star.png
icons/256x256/plus_folder.png
--
cgit v1.2.3