Themes"
From Documentation
m (→Overview) |
m (→Look and Feel) |
||
Line 14: | Line 14: | ||
= Look and Feel = | = Look and Feel = | ||
+ | [[File:Zk_calendar3_themes.png | left | | | iceblue (top-left), dark (top-right), breeze (bottom-left), dark (bottom-right)]] | ||
= How to Switch Themes= | = How to Switch Themes= |
Revision as of 02:13, 19 January 2021
Since 3.0.0
Overview
There are 4 themes supported:
- iceblue (default)
- breeze
- dark
- wcag
If no configuration specified, ZK Calendar renders in the default theme.
Look and Feel
How to Switch Themes
Specify one of the following theme names above in zk.xml with the library property below:
<library-property>
<name>org.zkoss.calendar.theme.preferred</name>
<value>dark</value>
</library-property>
This component doesn't support switching themes dynamically. You need to modify zk.xml and restart a server to switch a theme.
The example project is at Github