Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the "Auto" theme option in setting #6611

Merged
merged 31 commits into from May 14, 2024
Merged

Conversation

yell0wsuit
Copy link
Contributor

@yell0wsuit yell0wsuit commented Apr 6, 2024

Recording.2024-04-06.223647.mp4

(Need to fix the font color in the dropdown when the theme changes - leave that for another issue)

@github-actions github-actions bot added the gui Related to Ryujinx.Ui label Apr 6, 2024
@ryujinx-mako ryujinx-mako bot requested review from AcK77, emmauss, TSRBerry and a team April 6, 2024 15:58
src/Ryujinx/App.axaml.cs Outdated Show resolved Hide resolved
src/Ryujinx/App.axaml.cs Outdated Show resolved Hide resolved
src/Ryujinx/App.axaml.cs Outdated Show resolved Hide resolved
src/Ryujinx/UI/Windows/MainWindow.axaml.cs Outdated Show resolved Hide resolved
src/Ryujinx/UI/Windows/MainWindow.axaml.cs Outdated Show resolved Hide resolved
src/Ryujinx/UI/Windows/MainWindow.axaml.cs Outdated Show resolved Hide resolved
@gdkchan gdkchan added the enhancement New feature or request label Apr 6, 2024
@IsaacMarovitz
Copy link
Member

IsaacMarovitz commented Apr 6, 2024

The ComboBox issue was reported upstream, and they were unable to reproduce it. amwx/FluentAvalonia#366

@yell0wsuit yell0wsuit changed the title Add the "Follow OS theme" option in theme setting Add the "Auto" theme option in setting Apr 7, 2024
The theme icons seemingly use Dark variant event when the OS theme is light. In addition, I added ThemeManager common to make it accessible for both App and AboutWindow
@yell0wsuit
Copy link
Contributor Author

Refactored the about dialog code. The theme icons seemingly use dark variant even when the OS theme is light.

Before:

Screenshot 2024-04-07 105342

After:

Screenshot 2024-04-07 105428

Copy link
Member

@IsaacMarovitz IsaacMarovitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@yell0wsuit yell0wsuit deleted the branch Ryujinx:master April 18, 2024 13:25
@yell0wsuit yell0wsuit closed this Apr 18, 2024
@yell0wsuit yell0wsuit deleted the master branch April 18, 2024 13:25
@yell0wsuit yell0wsuit restored the master branch April 18, 2024 13:26
@yell0wsuit yell0wsuit reopened this Apr 18, 2024
@AcK77 AcK77 merged commit 2b6cc4b into Ryujinx:master May 14, 2024
12 checks passed
base.OnClosed(e);
if (PlatformSettings != null)
{
/// <summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think XML docs does anything when unsubscribing or subscribing events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gui Related to Ryujinx.Ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants