Skip to content

Commit

Permalink
Add note for importing in sub folders.
Browse files Browse the repository at this point in the history
  • Loading branch information
caalador committed Jan 14, 2021
1 parent 880ed7c commit bf8e504
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions articles/theming/application-theme.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ See <<styling-applications#, Styling Applications>>.
NOTE: Global styles can override <<theme-variants#global-variants, global variants>> styles.
For example, `Lumo.DARK` variant defines a `--lumo-base-color` which can be overridden in CSS files.

NOTE: At the moment any CSS imports need to be applied from files on the root level.
See Vaadin Flow https://github.com/vaadin/flow/issues/9794[issue 9794]

=== Component Styles

Component-specific style sheets should be placed under the `components` folder.
Expand Down Expand Up @@ -362,4 +365,5 @@ The following options are not available:
<2> Switching between application themes at runtime.
<3> Defining multiple parent themes.
<4> Having a theme based on Material built-in theme.
<5> Using imports in theme sub folders
Application themes can be only based on <<overview#built-in-themes,Lumo>> built-in theme.

0 comments on commit bf8e504

Please sign in to comment.