You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mention themed HTML (vaadin-themed-html / themedHtml) on the Styling HTML Elements page #6769
That page is where people look when they want to style native HTML elements. Searching the docs for "themed html" returns too many unrelated hits to be useful.
Proposal
Add a short section to articles/styling/styling-elements.adoc that explains:
By default, native HTML elements aren't styled by the Aura or Lumo theme.
Adding the vaadin-themed-html class to an element or an ancestor makes the theme style the elements underneath it. Today that means only <table>; later releases may cover more elements.
Setting the vaadin.themedHtml configuration property adds that class to <body>, which applies it to the whole app.
Adding vaadin-unthemed-html to an element under a themed ancestor opts it back out.
The Flow constants are Constants.THEMED_HTML_CLASS_NAME and Constants.UNTHEMED_HTML_CLASS_NAME.
Link to the configuration property and to the Table page's Styling section. Keep the wording general, so the section stays correct when more elements are supported.
Activity