ZK Official Themes"
m |
m (→Installation) |
||
Line 12: | Line 12: | ||
#* Silvertail - from [http://code.google.com/p/zkthemes/downloads/list google code] | #* Silvertail - from [http://code.google.com/p/zkthemes/downloads/list google code] | ||
#* Atlantic - from [http://github.com/zkoss/atlantic/raw/v0.8.0/dist/atlantic-0.8.0.zip github] | #* Atlantic - from [http://github.com/zkoss/atlantic/raw/v0.8.0/dist/atlantic-0.8.0.zip github] | ||
− | # | + | # Place theme.jar file under "'''projectName/WEB-INF/lib'''" folder. |
# Register preferred theme by library property in '''zk.xml''' file under "'''projectName/WEB-INF'''" folder | # Register preferred theme by library property in '''zk.xml''' file under "'''projectName/WEB-INF'''" folder | ||
<div style="margin-left: 2em"> | <div style="margin-left: 2em"> |
Revision as of 04:34, 14 November 2013
Currently, ZK provides_ the following different themes: Breeze (built-in theme), Sapphire, Silvertail and Atlantic. Breeze, Sapphire and Silvertail themes uses the same Trendy Design with just different colors while ZK 7's Atlantic theme adopts the new trend in user interface design --Flat Design .
Installation
- Download the preferred theme.jar file.
- Breeze - built-in theme, no need to download and register.
- Sapphire - from google code
- Silvertail - from google code
- Atlantic - from github
- Place theme.jar file under "projectName/WEB-INF/lib" folder.
- Register preferred theme by library property in zk.xml file under "projectName/WEB-INF" folder
<!-- zk.xml -->
<library-property>
<name>org.zkoss.theme.preferred</name>
<value>sapphire</value> <!-- or silvertail, atlantic -->
</library-property>
Trendy Design Theme
In this design, we use gradient background, rounded corner and shadow effect for most components. Breeze is greyish based theme that support desktop and tablet. Sapphire is blueish based theme that support desktop only. Silvertail is silverish based theme that support desktop only.
The look and feel of Breeze, Sapphire and Silvertail theme, click on image to view original size.
Flat Design Theme: Atlantic
On contrary to trendy design, gradient background, rounded corner and shadow effect are removed. It is easy to customize and create a new theme based on this design. Atlantic is blueish based theme that support desktop and tablet.
The look and feel of Atlantic theme, click on image to view original size.
Tablet Support
Currently, Breeze and Atlantic themes support tablet device.
Version History
Version | Date | Content |
---|---|---|