Skip to content

Lumo theme is applied on top of a Material theme #40

Open
@mvysny

Description

@mvysny

I am using a Material theme in my app. When I add this addon to my app, suddenly it looks like as if Lumo theme as included as well: the buttons and the textfields change their appearance:

Material theme before adding the addon dependency:

Screenshot from 2023-05-04 11-40-25

After adding the addon dependency:

Screenshot from 2023-05-04 11-42-21

Easy to reproduce:

  1. git clone the Vaadin skeleton starter and checkout the v23 branch, to bring in Vaadin 23.3.12.
  2. Add @Theme(themeClass = Material.class) to the Application class.
  3. Add this addon as a dependency to pom.xml:
        <dependency>
            <groupId>org.vaadin.addons.componentfactory</groupId>
            <artifactId>vcf-pdf-viewer</artifactId>
            <version>2.7.2</version>
        </dependency>
  1. Run the app.
  • Vaadin version: 23.3.12
  • Addon version: 2.7.2
  • Java 11
  • Browser: Firefox 112.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions