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

Feature request: have a dark theme that picks up on OS theme #38

Open
corbob opened this issue Oct 8, 2019 · 0 comments
Open

Feature request: have a dark theme that picks up on OS theme #38

corbob opened this issue Oct 8, 2019 · 0 comments

Comments

@corbob
Copy link
Contributor

@corbob corbob commented Oct 8, 2019

Avalonia provides a Dark Theme, but I'm not sure if it provides for detecting the OS mode.

If Avalonia can detect the OS mode (light vs dark), it would be really helpful to have the Gui components adopt a corresponding theme.

Possible technical solution:

  • Detect the OS mode
  • Modify the Dark theme provided by Avalonia to solve the contrast issue between selected rows and alternating rows.
  • If OS is in dark mode, use dark theme
  • If OS is in light mode, use light theme

Alternately: Provide a switch for the user to enable dark mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.