Themes"

From Documentation
(Created page with "{{ZKCalendarEssentialsPageHeader}} {{versionSince| 3.0.0}} = Overview = <source lang='xml'> <library-property> <name>org.zkoss.calendar.theme.preferred</name> <value>dar...")
 
Line 4: Line 4:
  
 
= Overview =
 
= Overview =
 +
There are 4 themes supported:
  
 +
* iceblue ('''default''')
 +
* breeze
 +
* dark
 +
* wcag
 +
 +
 +
= How to Choose a Theme=
 +
Specify one of the following theme names above in <tt>zk.xml</tt> with the library property below:
  
 
<source lang='xml'>
 
<source lang='xml'>
Line 13: Line 22:
 
</source>
 
</source>
  
 +
This component doesn't support to switch themes dynamically. You need to modify zk.xml and restart a server to switch a theme.
  
 
{{ZKCalendarEssentialsPageFooter}}
 
{{ZKCalendarEssentialsPageFooter}}

Revision as of 10:27, 18 January 2021


Since 3.0.0

Overview

There are 4 themes supported:

  • iceblue (default)
  • breeze
  • dark
  • wcag


How to Choose a Theme

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 to switch themes dynamically. You need to modify zk.xml and restart a server to switch a theme.


The example project is at Github


Last Update : 2021/01/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.