Rework themes to easily use light/dark palette, using only different icons
- Renamed themes: - "colorful" to "default" and "colorful_dark" to "default_dark" - "default" to "monochrome" and "default_dark" to "monochrome_dark" - "colorful_midnight_blue" to "qdarkstyle_midnight_blue" - "qdarkstyle_midnight_blue" to "qdarkstyle_midnight_blue_monochrome" - qdarkstyle is renamed from "Dark" to "Mine Shaft" in the UI - default and monochrome themes all use the same qss stylesheet - Remove the ability to select "default_dark" directly - Default has better support for light and dark - Controller and Keyboard applets icons and style adapt to dark mode - Add "qdarkstyle_monochrome" theme - Remove duplicated icon files
32
dist/qt_themes/monochrome/icons.qrc
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2018 yuzu Emulator Project & 2024 suyu Emulator Project
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
-->
|
||||
|
||||
<RCC>
|
||||
<qresource prefix="icons/monochrome">
|
||||
<file alias="index.theme">icons/index.theme</file>
|
||||
<file alias="16x16/lock.png">icons/16x16/lock.png</file>
|
||||
<file alias="48x48/bad_folder.png">icons/48x48/bad_folder.png</file>
|
||||
<file alias="48x48/chip.png">icons/48x48/chip.png</file>
|
||||
<file alias="48x48/folder.png">icons/48x48/folder.png</file>
|
||||
<file alias="48x48/list-add.png">icons/48x48/list-add.png</file>
|
||||
<file alias="48x48/sd_card.png">icons/48x48/sd_card.png</file>
|
||||
<file alias="48x48/star.png">icons/48x48/star.png</file>
|
||||
<file alias="256x256/plus_folder.png">icons/256x256/plus_folder.png</file>
|
||||
</qresource>
|
||||
|
||||
<!-- Dark variant icons -->
|
||||
<qresource prefix="icons/monochrome_dark">
|
||||
<file alias="index.theme">../monochrome_dark/icons/index.theme</file>
|
||||
<file alias="16x16/lock.png">../monochrome_dark/icons/16x16/lock.png</file>
|
||||
<file alias="48x48/bad_folder.png">../monochrome_dark/icons/48x48/bad_folder.png</file>
|
||||
<file alias="48x48/chip.png">../monochrome_dark/icons/48x48/chip.png</file>
|
||||
<file alias="48x48/folder.png">../monochrome_dark/icons/48x48/folder.png</file>
|
||||
<file alias="48x48/list-add.png">../monochrome_dark/icons/48x48/list-add.png</file>
|
||||
<file alias="48x48/no_avatar.png">../monochrome_dark/icons/48x48/no_avatar.png</file>
|
||||
<file alias="48x48/sd_card.png">../monochrome_dark/icons/48x48/sd_card.png</file>
|
||||
<file alias="48x48/star.png">../monochrome_dark/icons/48x48/star.png</file>
|
||||
<file alias="256x256/plus_folder.png">../monochrome_dark/icons/256x256/plus_folder.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
BIN
dist/qt_themes/monochrome/icons/16x16/lock.png
vendored
Normal file
After Width: | Height: | Size: 318 B |
BIN
dist/qt_themes/monochrome/icons/256x256/plus_folder.png
vendored
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
dist/qt_themes/monochrome/icons/48x48/bad_folder.png
vendored
Normal file
After Width: | Height: | Size: 1007 B |
BIN
dist/qt_themes/monochrome/icons/48x48/chip.png
vendored
Normal file
After Width: | Height: | Size: 511 B |
BIN
dist/qt_themes/monochrome/icons/48x48/folder.png
vendored
Normal file
After Width: | Height: | Size: 535 B |
BIN
dist/qt_themes/monochrome/icons/48x48/list-add.png
vendored
Normal file
After Width: | Height: | Size: 204 B |
BIN
dist/qt_themes/monochrome/icons/48x48/sd_card.png
vendored
Normal file
After Width: | Height: | Size: 198 B |
BIN
dist/qt_themes/monochrome/icons/48x48/star.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
14
dist/qt_themes/monochrome/icons/index.theme
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
[Icon Theme]
|
||||
Name=monochrome
|
||||
Comment=Monochrome light icons
|
||||
Inherits=default
|
||||
Directories=16x16,48x48,256x256
|
||||
|
||||
[16x16]
|
||||
Size=16
|
||||
|
||||
[48x48]
|
||||
Size=48
|
||||
|
||||
[256x256]
|
||||
Size=256
|
5
dist/qt_themes/monochrome/style.qrc
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="monochrome">
|
||||
<file alias="style.qss">../default/style.qss</file>
|
||||
</qresource>
|
||||
</RCC>
|