]> Dogcows Code - chaz/openbox/blobdiff - DESIGN/themes.txt
remove plugins from the menu parsing
[chaz/openbox] / DESIGN / themes.txt
index 0651cd5fe9526ccbc20fbc9e4749a9177f638f8c..90e137c2180ca0bca999e20d8b19447e03c9c9b9 100644 (file)
@@ -6,95 +6,98 @@
   <description> \m/ Test Theme \m/ </description>
 </about>
 
-<text id="vroom">
-  <opacity>80%</opacity>
-  <font>arial:pixelsize=10</font>
-  <shadow>
-    <offset>2</offset>
-    <opacity>50%</opacity>
-    <color>#000000</color>
-  </shadow>
-  <color>#45ea32</color>
-</text>
+<color id="red">
+  <red>0.7</red>
+  <green>0.1</green>
+  <blue>0.1</blue>
+  <opacity>0.7</opacity>
+</color>
+
+<color id="darkred">
+  <red>0.3</red>
+  <green>0.03</green>
+  <blue>0.03</blue>
+  <opacity>0.7</opacity>
+</color>
 
-<button_style id="fun">
-  <opacity>80%</opacity>
+<color id="clearblack">
+  <red>0</red>
+  <green>0</green>
+  <blue>0</blue>
+  <opacity>0.5</opacity>
+</color>
+
+<foreground id="vroom">
+  <color>
+    <red>1</red>
+    <green>0.4</green>
+    <blue>0.67</blue>
+    <opacity>0.8</opacity>
+  </color>
   <shadow>
     <offset>2</offset>
-    <opacity>80%</opacity>
-    <color>#000000</color>
+    <color id="clearblack" />
   </shadow>
-  <color>#45ea32</color>
-</button>
+</foreground>
 
-<surface_style id="blah-flat">
-  <background style="solid">
-    <color>#eeffaa</color>
-  </background>
+<background id="solid">
+  <solid>
+    <color id="darkred" />
+  </solid>
   <border>
-    <color>#45ea32</color>
+    <color id="red" />
   </border>
-</texture>
-
-<surface_style id="blah-sunken">
-  <background style="vertical">
-    <color>#eeffaa</color>
-    <color>#aa9536</color>
-  </background>
-  <bevel relief="sunken" style="inner" />
-  <interlaced />
-</texture>
-
-<button_layout id="funlayout">
-  <enabled>
-    <pressed>
-      <focus style="fun" />
-      <unfocus style="fun" />
-    </pressed>
-    <unpressed>
-      <focus style="fun" />
-      <unfocus style="fun" />
-    </unpressed>
-  </enabled>
-  <disabled>
-    <pressed>
-      <focus style="fun" />
-      <unfocus style="fun" />
-    </pressed>
-    <unpressed>
-      <focus style="fun" />
-      <unfocus style="fun" />
-    </unpressed>
-  </disabled>
-</button>
-
-<surface_layout id="titlelayout">
-  <focus   style="blah-flat"   text="vroom" />
-  <unfocus style="blah-sunken" text="vroom" />
-</surface>
-
-<menu_layout id="titlelayout">
-  <focus   style="blah-flat"   text="vroom" />
-  <unfocus style="blah-sunken" text="vroom" />
-</surface>
-
-<window>
-  <button id="close"    layout="funlayout" />
-  <button id="stick"    layout="funlayout" />
-  <button id="iconify"  layout="funlayout" />
-  <button id="maximize" layout="funlayout" />
-  <button id="icon"     layout="funlayout" />
-  <button id="shade"    layout="funlayout" />
-
-  <surface id="title"  layout="titlelayout" />
-  <surface id="handle" layout="titlelayout" />
-</window>
-
-<menu>
-  <surface id="title"    style="blah-sunken" text="vroom" />
-  <surface id="item"     style="blah-flat"   text="vroom" />
-  <surface id="selected" style="blah-sunken" text="vroom" />
-  <surface id="disabled" style="blaf-flat"   text="vroom" />
-</menu>
+</background>
+
+<background id="fancy">
+  <solid>
+    <color id="darkred" />
+    <color id="red" />
+  </solid>
+  <bevel relief="raised" type="outer" />
+</background>
+
+<layout id="flatlayout">
+  <focused   foreground="vroom" background="solid" />
+  <unfocused foreground="vroom" background="solid" />
+</layout>
+
+<layout id="raisedlayout">
+  <focused   foreground="vroom" background="fancy" />
+  <unfocused foreground="vroom" background="solid" />
+</layout>
+
+<button_class id="funbutton">
+  <pressed   layout="flatlayout" />
+  <unpressed layout="raisedlayout" />
+  <hover     layout="raisedlayout" />
+  <disabled  layout="flatlayout" />
+</button_class>
+
+<surface_class id="flatsurface" layout="flatlayout" />
+
+<surface_class id="raisedsurface" layout="raisedlayout" />
+
+<style>
+  <button id="close"    class="funbutton" />
+  <button id="stick"    class="funbutton" />
+  <button id="iconify"  class="funbutton" />
+  <button id="maximize" class="funbutton" />
+  <button id="icon"     class="funbutton" />
+  <button id="shade"    class="funbutton" />
+
+  <surface id="titlebar"  class="flatsurface" />
+  <surface id="label"     class="raisedsurface" />
+  <surface id="handle"    class="flatsurface" />
+  <surface id="leftgrip"  class="flatsurface" />
+  <surface id="rightgrip" class="flatsurface" />
+
+  <menu>
+    <title    foreground="vroom" background="fancy" />
+    <normal   foreground="vroom" background="solid" />
+    <active   foreground="vroom" background="fancy" />
+    <disabled foreground="vroom" background="solid" />
+  </menu>
+</style>
 
 </openbox_theme>
This page took 0.023646 seconds and 4 git commands to generate.