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
Implement isSystemInDarkTheme for desktop #169
Comments
Would be a great addition. |
I agree. It will be very useful :D |
Where we can track the progress of implementing |
@igordmn, am I correct that isSystemInDarkTheme is working for desktop now? |
It works, but we still need to:
|
Gnome 42 added support for dark mode, it would be nice to detect it using this method |
Any progress on this? I tried it on MacOS, Ubuntu, and Windows and it's not working. |
look at this https://github.com/Dansoftowner/jSystemThemeDetector |
more link for linux https://unix.stackexchange.com/questions/701432/command-for-detecting-whether-the-system-is-using-a-dark-or-light-desktop-theme telegramdesktop/tdesktop#17061 for linux just use |
In Android target we can know if the system is in a dark mode using androidx.compose.foundation.isSystemInDarkTheme.
Probably we can implement it for desktop too. Some OS'es support dark mode.
P.S. if we will implement it, we should define "expect fun isSystemInDarkTheme" in the common code.
The text was updated successfully, but these errors were encountered: