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

CSS breaks Lumo dark mode #10

Open
stefanuebe opened this issue Jul 22, 2024 · 1 comment
Open

CSS breaks Lumo dark mode #10

stefanuebe opened this issue Jul 22, 2024 · 1 comment

Comments

@stefanuebe
Copy link

stefanuebe commented Jul 22, 2024

The idle.css defines a different background color than the default one of the lumo dark theme. This leads to a white-ish background, when using the dark theme.

Not sure if the addon should apply these styles at all. In most applications, the background color is defined by a global styling, therefore I would leave that part out. Also adding bg color transitions might be seen as some unwanted style injection :)

If someone wants to have stylings based on the state, they can easily add these using the given css class names.

image
@stefanuebe
Copy link
Author

Workaround:

body.useractive,
body.userinactive {
	background-color: var(--lumo-base-color);
	transition: background-color 0s;
}

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

No branches or pull requests

1 participant