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

Toastify dark mode regression #629

Closed
PVince81 opened this issue Jul 21, 2022 · 1 comment · Fixed by #630
Closed

Toastify dark mode regression #629

PVince81 opened this issue Jul 21, 2022 · 1 comment · Fixed by #630
Assignees

Comments

@PVince81
Copy link
Contributor

PVince81 commented Jul 21, 2022

we can't rely on a class set on the body and more: https://github.com/nextcloud/nextcloud-dialogs/blob/febaa367090498fcde5fe2b36f06a827de184089/styles/toast.scss#L110

need to detect it directly from the browser

@nickvergessen
Copy link
Contributor

need to detect it directly from the browser

Not exactly, because your browser can be dark mode but you force bright mode in the settings.

But fixed in #630

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

Successfully merging a pull request may close this issue.

2 participants