-</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">
- <pressed>
- <focus style="fun" />
- <unfocus style="fun" />
- </pressed>
- <unpressed>
- <focus style="fun" />
- <unfocus style="fun" />
- </unpressed>
- <disabled>
- <focus style="fun" />
- <unfocus style="fun" />
- </disabled>
-</button>
-
-<surface_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" />
- <surface id="leftgrip" layout="titlelayout" />
- <surface id="rightgrip" 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>