]> icculus.org git repositories - mikachu/openbox.git/blob - DESIGN/themes.txt
check window.button.pressed
[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 <color id="red">
10   <red>0.7</red>
11   <green>0.1</green>
12   <blue>0.1</blue>
13   <opacity>0.7</opacity>
14 </color>
15
16 <color id="darkred">
17   <red>0.3</red>
18   <green>0.03</green>
19   <blue>0.03</blue>
20   <opacity>0.7</opacity>
21 </color>
22
23 <color id="clearblack">
24   <red>0</red>
25   <green>0</green>
26   <blue>0</blue>
27   <opacity>0.5</opacity>
28 </color>
29
30 <foreground id="vroom">
31   <color>
32     <red>1</red>
33     <green>0.4</green>
34     <blue>0.67</blue>
35     <opacity>0.8</opacity>
36   </color>
37   <shadow>
38     <offset>2</offset>
39     <color id="clearblack" />
40   </shadow>
41 </foreground>
42
43 <background id="solid">
44   <solid>
45     <color id="darkred" />
46   </solid>
47   <border>
48     <color id="red" />
49   </border>
50 </background>
51
52 <background id="fancy">
53   <solid>
54     <color id="darkred" />
55     <color id="red" />
56   </solid>
57   <bevel relief="raised" type="outer" />
58 </background>
59
60 <layout id="flatlayout">
61   <focused   foreground="vroom" background="solid" />
62   <unfocused foreground="vroom" background="solid" />
63 </layout>
64
65 <layout id="raisedlayout">
66   <focused   foreground="vroom" background="fancy" />
67   <unfocused foreground="vroom" background="solid" />
68 </layout>
69
70 <button_class id="funbutton">
71   <pressed   layout="flatlayout" />
72   <unpressed layout="raisedlayout" />
73   <hover     layout="raisedlayout" />
74   <disabled  layout="flatlayout" />
75 </button_class>
76
77 <surface_class id="flatsurface" layout="flatlayout" />
78
79 <surface_class id="raisedsurface" layout="raisedlayout" />
80
81 <style>
82   <button id="close"    class="funbutton" />
83   <button id="stick"    class="funbutton" />
84   <button id="iconify"  class="funbutton" />
85   <button id="maximize" class="funbutton" />
86   <button id="icon"     class="funbutton" />
87   <button id="shade"    class="funbutton" />
88
89   <surface id="titlebar"  class="flatsurface" />
90   <surface id="label"     class="raisedsurface" />
91   <surface id="handle"    class="flatsurface" />
92   <surface id="leftgrip"  class="flatsurface" />
93   <surface id="rightgrip" class="flatsurface" />
94
95   <menu>
96     <title    foreground="vroom" background="fancy" />
97     <normal   foreground="vroom" background="solid" />
98     <active   foreground="vroom" background="fancy" />
99     <disabled foreground="vroom" background="solid" />
100   </menu>
101 </style>
102
103 </openbox_theme>