It seems that FullCalendar isn’t using the Lumo.DARK theme setting. How can I set the dark theme for the calendar?
It should automatically use the dark theme (see the demo). Can you give some more details about your setup?
I use
UI.getCurrent().getElement().getThemeList().add(Lumo.DARK)
This sets Darkmode for my complete application, but since 6.5.0 not for the FullCalendar Component anymore. ( Vaadin 25.2.1, FullCalendar 7.2.3)
I found the Solution in the Demo Source Code, it works fine when i use,
UI.getCurrent().getPage().setColorScheme(ColorScheme.Value.DARK);
Thanks
1 Like
Using the color scheme api is the official way of setting the dark mode in 25. Theme “dark” is 24 iirc