a full style defn..
[mikachu/openbox.git] / DESIGN / themes.txt
1 <openbox_theme>
2
3 <about>
4   <author>Ben Jansens</author>
5   <date>Thu Jul 10 2003</date>
6   <description> \m/ Test Theme \m/ </description>
7 </about>
8
9 <text id="vroom">
10   <opacity>80%</opacity>
11   <font>arial:pixelsize=10</font>
12   <shadow>
13     <offset>2</offset>
14     <opacity>50%</opacity>
15     <color>#000000</color>
16   </shadow>
17   <color>#45ea32</color>
18 </text>
19
20 <button_style id="fun">
21   <opacity>80%</opacity>
22   <shadow>
23     <offset>2</offset>
24     <opacity>80%</opacity>
25     <color>#000000</color>
26   </shadow>
27   <color>#45ea32</color>
28 </button>
29
30 <surface_style id="blah-flat">
31   <background style="solid">
32     <color>#eeffaa</color>
33   </background>
34   <border>
35     <color>#45ea32</color>
36   </border>
37 </texture>
38
39 <surface_style id="blah-sunken">
40   <background style="vertical">
41     <color>#eeffaa</color>
42     <color>#aa9536</color>
43   </background>
44   <bevel relief="sunken" style="inner" />
45   <interlaced />
46 </texture>
47
48 <button_layout id="funlayout">
49   <enabled>
50     <pressed>
51       <focus style="fun" />
52       <unfocus style="fun" />
53     </pressed>
54     <unpressed>
55       <focus style="fun" />
56       <unfocus style="fun" />
57     </unpressed>
58   </enabled>
59   <disabled>
60     <pressed>
61       <focus style="fun" />
62       <unfocus style="fun" />
63     </pressed>
64     <unpressed>
65       <focus style="fun" />
66       <unfocus style="fun" />
67     </unpressed>
68   </disabled>
69 </button>
70
71 <surface_layout id="titlelayout">
72   <focus   style="blah-flat"   text="vroom" />
73   <unfocus style="blah-sunken" text="vroom" />
74 </surface>
75
76 <menu_layout id="titlelayout">
77   <focus   style="blah-flat"   text="vroom" />
78   <unfocus style="blah-sunken" text="vroom" />
79 </surface>
80
81 <window>
82   <button id="close"    layout="funlayout" />
83   <button id="stick"    layout="funlayout" />
84   <button id="iconify"  layout="funlayout" />
85   <button id="maximize" layout="funlayout" />
86   <button id="icon"     layout="funlayout" />
87   <button id="shade"    layout="funlayout" />
88
89   <surface id="title"  layout="titlelayout" />
90   <surface id="handle" layout="titlelayout" />
91 </window>
92
93 <menu>
94   <surface id="title"    style="blah-sunken" text="vroom" />
95   <surface id="item"     style="blah-flat"   text="vroom" />
96   <surface id="selected" style="blah-sunken" text="vroom" />
97   <surface id="disabled" style="blaf-flat"   text="vroom" />
98 </menu>
99
100 </openbox_theme>