<?xml version="1.0"?>
<metacity_theme>

	<info>
		<name>Prelude</name>
		<author>Thomas Thurman</author>
		<copyright>(c) 2008 Thomas Thurman; released under the same terms as Metacity</copyright>
		<date>December 2008</date>
		<description>A quick port of the Prelude theme for XFCE by atrxx</description>
	</info>

	<frame_geometry name="normal" has_title="false"
			rounded_top_left="true" rounded_top_right="true"
			rounded_bottom_left="true" rounded_bottom_right="true">

		<distance name="left_width" value="5"/>
		<distance name="right_width" value="5"/>
		<distance name="bottom_height" value="5"/>
		<distance name="left_titlebar_edge" value="10"/>
		<distance name="right_titlebar_edge" value="10"/>
		<distance name="button_width" value="20"/>
		<distance name="button_height" value="5"/>
		<distance name="title_vertical_pad" value="0"/>
		<border name="title_border" left="0" right="0" top="0" bottom="0"/>
		<border name="button_border" left="0" right="0" top="0" bottom="0"/>
	</frame_geometry>

	<draw_ops name="white">  <rectangle color="#FFFFFF" filled="true" x="0" y="0" width="width"   height="height"/></draw_ops>
	<draw_ops name="red">    <rectangle color="#FF0000" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="yellow"> <rectangle color="#FFCC00" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="green">  <rectangle color="#00FF00" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="blue">   <rectangle color="#0000FF" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<!-- lighter versions for prelight -->
	<draw_ops name="red2">   <rectangle color="#FF5555" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="yellow2"><rectangle color="#FFDD55" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="green2"> <rectangle color="#55FF55" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="blue2">  <rectangle color="#5555FF" filled="true" x="0" y="0" width="width-2" height="height"/></draw_ops>

	<frame_style name="normal" geometry="normal">
                <piece position="entire_background" draw_ops="white"/>
		<button function="close" state="normal" draw_ops="red"/>
		<button function="minimize" state="normal" draw_ops="yellow"/>
		<button function="maximize" state="normal" draw_ops="green"/>
		<button function="menu" state="normal" draw_ops="blue"/>

		<button function="close" state="pressed" draw_ops="red2"/>
		<button function="minimize" state="pressed" draw_ops="yellow2"/>
		<button function="maximize" state="pressed" draw_ops="green2"/>
		<button function="menu" state="pressed" draw_ops="blue2"/>

		<button function="close" state="prelight" draw_ops="red2"/>
		<button function="minimize" state="prelight" draw_ops="yellow2"/>
		<button function="maximize" state="prelight" draw_ops="green2"/>
		<button function="menu" state="prelight" draw_ops="blue2"/>
	</frame_style>

	<frame_style_set name="normal">
		<frame focus="no" state="normal" resize="both" style="normal"/>
		<frame focus="no" state="maximized" style="normal"/>
		<frame focus="no" state="shaded" style="normal"/>
		<frame focus="no" state="maximized_and_shaded" style="normal"/>

		<frame focus="yes" state="normal" resize="both" style="normal"/>
		<frame focus="yes" state="maximized" style="normal"/>
		<frame focus="yes" state="shaded" style="normal"/>
		<frame focus="yes" state="maximized_and_shaded" style="normal"/>
	</frame_style_set>

	<window type="normal" style_set="normal"/>
	<window type="dialog" style_set="normal"/>
	<window type="modal_dialog" style_set="normal"/>
	<window type="menu" style_set="normal"/>
	<window type="utility" style_set="normal"/>
	<window type="border" style_set="normal"/>

</metacity_theme>
