stefanuebe/vaadin-fullcalendar

Lumo theme not fully working in V14

stefanuebe opened this issue · 1 comments

Problem is, that the custom properties set by the lumo theme are overwritten by some FC declaration. It seems that V14 loads those styles in a different way than V24.

The only solution I found so far was to wrap the custom properties in anonymous curly brackets. But that then broke the V24 variant.

Working in V24

.vaadin-full-calendar.fc[theme~="lumo"] {
    --fc-small-font-size: var(--lumo-font-size-s);
    --fc-page-bg-color: var(--lumo-base-color);
    --fc-neutral-bg-color: var(--lumo-contrast-5pct);

Working in V14

  .vaadin-full-calendar.fc[theme~="lumo"] {
     {
        --fc-small-font-size: var(--lumo-font-size-s);
        --fc-page-bg-color: var(--lumo-base-color);
        --fc-neutral-bg-color: var(--lumo-contrast-5pct);

Styles had been rebuilt to be old styles, not nested variants.