diff options
| author | 2022-07-28 07:50:20 -0700 | |
|---|---|---|
| committer | 2022-08-05 05:22:27 -0700 | |
| commit | b51db125676fb1257e3bacbd19df3ae686ae69df (patch) | |
| tree | fab6123cf5823d5be438cf342ad053a4f3cf1648 /dist/qt_themes/default/default.qrc | |
| parent | Merge pull request #8702 from liamwhite/format-swap (diff) | |
| download | yuzu-b51db125676fb1257e3bacbd19df3ae686ae69df.tar.gz yuzu-b51db125676fb1257e3bacbd19df3ae686ae69df.tar.xz yuzu-b51db125676fb1257e3bacbd19df3ae686ae69df.zip | |
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
Diffstat (limited to 'dist/qt_themes/default/default.qrc')
| -rw-r--r-- | dist/qt_themes/default/default.qrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/qt_themes/default/default.qrc b/dist/qt_themes/default/default.qrc index ef080c221..a07f2a9c1 100644 --- a/dist/qt_themes/default/default.qrc +++ b/dist/qt_themes/default/default.qrc | |||
| @@ -17,7 +17,7 @@ SPDX-License-Identifier: GPL-2.0-or-later | |||
| 17 | <file alias="48x48/chip.png">icons/48x48/chip.png</file> | 17 | <file alias="48x48/chip.png">icons/48x48/chip.png</file> |
| 18 | <file alias="48x48/folder.png">icons/48x48/folder.png</file> | 18 | <file alias="48x48/folder.png">icons/48x48/folder.png</file> |
| 19 | <file alias="48x48/no_avatar.png">icons/48x48/no_avatar.png</file> | 19 | <file alias="48x48/no_avatar.png">icons/48x48/no_avatar.png</file> |
| 20 | <file alias="48x48/plus.png">icons/48x48/plus.png</file> | 20 | <file alias="48x48/list-add.png">icons/48x48/list-add.png</file> |
| 21 | <file alias="48x48/sd_card.png">icons/48x48/sd_card.png</file> | 21 | <file alias="48x48/sd_card.png">icons/48x48/sd_card.png</file> |
| 22 | <file alias="48x48/star.png">icons/48x48/star.png</file> | 22 | <file alias="48x48/star.png">icons/48x48/star.png</file> |
| 23 | <file alias="256x256/yuzu.png">icons/256x256/yuzu.png</file> | 23 | <file alias="256x256/yuzu.png">icons/256x256/yuzu.png</file> |