Skip to content

Conversation

@sissbruecker
Copy link
Contributor

@sissbruecker sissbruecker commented Nov 13, 2025

Description

Allow switching between light / dark Aura theme variants using the theme="light|dark|light-dark" attribute on the html element, same as it works for Lumo. This would allow adding a Flow API to toggle between light and dark variants in the same way for both themes (vaadin/flow#22718).

Since Aura also supports automatically switching the variant based on the OS default, Aura additionally supports the attribute value light-dark.

Fixes #10484

Type of change

  • Feature

@web-padawan web-padawan force-pushed the feat/aura-theme-variant-attributes branch from 040d491 to 464a0dc Compare November 13, 2025 11:28
@sonarqubecloud
Copy link

@web-padawan web-padawan merged commit 7dcbca0 into main Nov 13, 2025
9 checks passed
@web-padawan web-padawan deleted the feat/aura-theme-variant-attributes branch November 13, 2025 11:33
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 this pull request may close these issues.

Switching to dark mode is different from Lumo and Aura

4 participants