No description
Find a file
flodavid f01d7305c0
Automatic dark theme switching for Windows and Linux
- Windows dark theme uses "fusion" style, which is better suited, but has minor differences
- Improve OS theme detection
  - Linux:
    - Listen for OS color schemes changes on D-Bus
    - Read OS scheme for D-Bus. Fallback with gsettings, reading org.gnome.desktop.interface.
      First "color-scheme" key, then "gtk-theme". Finally, fallback to checking window palette
  - Windows (dark mode detection was not implemented before):
    - Force dark palette when OS uses dark mode by setting QT_QPA_PLATFORM to "windows:darkmode=2"
    - This enables to detect dark mode by checking the window palette
- Improve theming capabilites:
  - Linux uses custom palette when dark mode is detected.
    By using palette(xxx) in .qss files, there is no need to create a dark stylesheet
  - Allow themes to have stylesheet variants, dark.qss and light.qss
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Add "dark" property to RendererStatusBarButton and GPUStatusBarButton, set to true when dark mode is used.
    Allows to have distinct colors for GPU API and accuracy buttons depending on dark mode or not
  - Enable all themes to have dark icon alternatives, not just "default" and "colorful"
    - If dark mode, icons are loaded from the directory "THEME-NAME_dark/icons"
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Only qdarkstyle, qdarkstyle_midnight_blue, colorful_dark and
    colorful_midnight_blue used elements specific to dark themes
2024-04-18 11:46:06 +08:00
.ci Add requested changes 2024-04-06 13:34:23 -04:00
.forgejo Enable Windows MinGW artifacts. 2024-04-04 15:40:26 -03:00
.gitea/ISSUE_TEMPLATE Update bug report template to have bug label 2024-03-24 03:25:49 +01:00
.github-archive fix: move .github folder to prevent actions conflicts 2024-03-22 02:04:56 -03:00
.reuse Use CC0-1.0 for images under ./img 2024-03-29 21:31:40 -03:00
CMakeModules Fix wrong URL on DownloadExternals. Change Clang and GCC executables on CI scripts 2024-03-24 23:15:50 -03:00
dist Automatic dark theme switching for Windows and Linux 2024-04-18 11:46:06 +08:00
externals license-fix (#31) 2024-03-23 22:58:07 -03:00
hooks license-fix (#31) 2024-03-23 22:58:07 -03:00
img Upload files to "img" 2024-04-02 15:25:23 +02:00
LICENSES Add missing REUSE files and directories 2024-03-24 20:27:11 -03:00
src Automatic dark theme switching for Windows and Linux 2024-04-18 11:46:06 +08:00
tools Revert "Merge branch 'master' into 'dev'" 2024-03-06 05:26:38 +00:00
.codespellrc Revert "Merge branch 'master' into 'dev'" 2024-03-06 05:26:38 +00:00
.git-blame-ignore-revs Revert "Merge branch 'master' into 'dev'" 2024-03-06 05:26:38 +00:00
.gitattributes Revert "Merge branch 'master' into 'dev'" 2024-03-06 05:26:38 +00:00
.gitignore license-fix (#31) 2024-03-23 22:58:07 -03:00
.gitlab-ci.yml chore: fix CI to use string "true" for FASTZIP 2024-03-21 07:09:11 +00:00
.gitmodules Update .gitmodules 2024-03-23 03:04:46 +01:00
CMakeLists.txt Fixes issue #94: setting Vulkan::Headers before Qt6 can do it 2024-03-30 15:13:23 +00:00
CONTRIBUTING.md license-fix (#31) 2024-03-23 22:58:07 -03:00
Doxyfile Full rebrand 2024-03-08 09:06:48 +00:00
LICENSE.txt
README.md Update README.md 2024-04-02 15:29:13 +02:00
vcpkg.json Full rebrand 2024-03-08 09:06:48 +00:00

Note: We do not support or condone piracy in any form. In order to use suyu, you'll need keys from your real Switch system, and games which you have legally obtained and paid for. We do not intend to make money or profit from this project.

We're in need of developers. Please join our Discord server below if you want to contribute! This repo is based on Yuzu EA 4176.



suyu
suyu

suyu is the continuation of the world's most popular, open-source, Nintendo Switch emulator, yuzu.
It is written in C++ with portability in mind, and we're actively working on builds for Windows, Linux and Android.

Discord | Status | Development | Downloads | Building | Support | License | Pipelines

Hardware Requirements

Click here to see the Hardware Requirements

Status

We currently have builds over at the Releases page.

Note: We try to update this README whenever we can, but some links might be broken, and some information may be outdated or irrelevant.

Development

This project is completely free and open source, and anyone can contribute to help improve suyu.

Most of the development happens on GitLab. For development discussion, please join us on Discord.

If you want to contribute, please take a look at the Contributor's Guide and Developer Information. You can also contact any of the developers on Discord to learn more about the current state of suyu.

Downloads

If you want daily builds then Click here If you don't know how to download the daily builds then Click here Right now we only have daily builds for Linux and Android.

We have official builds here. If any website or person is claiming to have a build for suyu, take that with a grain of salt.

Building

Support

If you have any questions, don't hesitate to ask us on Discord. We don't bite!

License

suyu is licensed under the free and open-source GPL-3.0-or-later license.