source: other-projects/FileTransfer-WebSocketPair/Themes/themebuilder/examples/maven-source/readme.txt@ 31525

Last change on this file since 31525 was 31525, checked in by ak19, 7 years ago

Nathan provided more stuff: Themes folder contains Sencha's Themebuilder which generates GXT Themes. It includes the .theme and generated .jar files for the project theme.

File size: 960 bytes
Line 
1This sample config and pom.xml file generate all of their sources in the
2standard src/main/java directory when mvn -Pgenerate is invoked. This allows
3developers to generate a theme based on some paramters, and then tweak it
4manually, checking in the changes.
5
6
7
8Below is a very brief summary/abridged of the config structure.
9View online documentation for more information.
10
11==== config ===
12theme {
13 /* First, create a name for your theme, and define a package to place it in */
14 name = "sampletheme"
15 basePackage = "com.example"
16
17 ...
18
19 /* Next, configure some basic defaults, to be used throughout the file */
20 text = util.fontStyle("Tahoma, Arial, Verdana, sans-serif", "13px", "#000000", "normal")
21
22 /* Here we expand on those initial values to prepare them for the main theme */
23 borderColor = headerBgColor
24
25 ...
26
27 /* Finally, the theme itself, with a few presets, along with the values used above */
28 details {
29
30 ...
31
32 }
33}
34==== config ===
Note: See TracBrowser for help on using the repository browser.