source: other-projects/FileTransfer-WebSocketPair/Themes/themebuilder/examples/maven-jar/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: 1.4 KB
Line 
1This sample config and pom.xml file are meant to be a full maven project on
2their own, and when mvn install or mvn deploy are run, will create and install/
3deploy a jar file containing a finished theme, as defined by the config file.
4
5As invoked in this pom, when the screenshot is taken, it is saved in the
6target/ folder for later review, as is the manifest file. Similarly, a
7war/ directory is created, with the compiled css3 sample app that was used to
8generate the screenshot and manifest. This can be disabled by removing these
9arguments from the java:exec plugin configuration.
10
11The theme file is in this directory, though it probably should be in src/main/resources
12or the like. The theme file used here is a copy of the quick-start file.
13
14
15Below is a very brief summary/abridged of the config structure.
16View online documentation for more information.
17
18==== config ===
19theme {
20 /* First, create a name for your theme, and define a package to place it in */
21 name = "sampletheme"
22 basePackage = "com.example"
23
24 ...
25
26 /* Next, configure some basic defaults, to be used throughout the file */
27 text = util.fontStyle("Tahoma, Arial, Verdana, sans-serif", "13px", "#000000", "normal")
28
29 /* Here we expand on those initial values to prepare them for the main theme */
30 borderColor = headerBgColor
31
32 ...
33
34 /* Finally, the theme itself, with a few presets, along with the values used above */
35 details {
36
37 ...
38
39 }
40}
41==== config ===
Note: See TracBrowser for help on using the repository browser.