mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-26 12:26:53 +08:00 
			
		
		
		
	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
		
			
				
	
	
		
			26 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <!--
 | |
| SPDX-FileCopyrightText: 2022 yuzu Emulator Project
 | |
| SPDX-License-Identifier: GPL-2.0-or-later
 | |
| -->
 | |
| <RCC>
 | |
|     <qresource prefix="icons/default_dark">
 | |
|         <file alias="16x16/connected.png">../colorful/icons/16x16/connected.png</file>
 | |
|         <file alias="16x16/connected_notification.png">../colorful/icons/16x16/connected_notification.png</file>
 | |
|         <file alias="16x16/disconnected.png">../colorful/icons/16x16/disconnected.png</file>
 | |
|         <file alias="index.theme">icons/index.theme</file>
 | |
|         <file alias="16x16/lock.png">../colorful_dark/icons/16x16/lock.png</file>
 | |
|         <file alias="16x16/view-refresh.png">../colorful_dark/icons/16x16/view-refresh.png</file>
 | |
|         <file alias="48x48/bad_folder.png">../colorful/icons/48x48/bad_folder.png</file>
 | |
|         <file alias="48x48/chip.png">../colorful/icons/48x48/chip.png</file>
 | |
|         <file alias="48x48/folder.png">../colorful/icons/48x48/folder.png</file>
 | |
|         <file alias="48x48/no_avatar.png">../qdarkstyle/icons/48x48/no_avatar.png</file>
 | |
|         <file alias="48x48/list-add.png">../colorful/icons/48x48/list-add.png</file>
 | |
|         <file alias="48x48/sd_card.png">../colorful/icons/48x48/sd_card.png</file>
 | |
|         <file alias="256x256/plus_folder.png">../colorful/icons/256x256/plus_folder.png</file>
 | |
|     </qresource>
 | |
| 
 | |
|     <qresource prefix="default_dark">
 | |
|         <file>style.qss</file>
 | |
|     </qresource>
 | |
| </RCC>
 |