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

	<info>
		<name>Prelude</name>
		<author>Stuart Langridge and Thomas Thurman</author>
		<copyright>(c) 2008 Stuart Langridge and Thomas Thurman; released under the same terms as Metacity</copyright>
		<date>December 2008</date>
		<description>A similar theme to Prelude for XFCE by atrxx, copied by Thomas
		Thurman and then adapted by Stuart Langridge</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="3"/>
		<distance name="right_width" value="3"/>
		<distance name="bottom_height" value="3"/>
		<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="3"/>
		<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="window">
	  <rectangle color="#6d84af" filled="true" x="0" y="0" width="width" height="height"/>
	  <rectangle color="#ffffff" filled="true" x="1" y="1" width="width-2" height="height-2"/>
	</draw_ops>
	<draw_ops name="white">
	  <rectangle color="#ffffff" filled="true" x="0" y="1" width="width" height="height"/>
	</draw_ops>
	<draw_ops name="red"><rectangle color="#cc3b5f" filled="true" x="0" 
	  y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="yellow"><rectangle color="#ed6f00" filled="true" x="0" 
	  y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="green"><rectangle color="#66ba13" filled="true" x="0" 
	  y="0" width="width-2" height="height"/></draw_ops>
	<draw_ops name="blue"><rectangle color="#ffffff" filled="true" x="0" 
	  y="1" 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="window"/>
		<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 name="inactive" geometry="normal">
    <piece position="entire_background" draw_ops="window"/>
		<button function="close" state="normal" draw_ops="white"/>
		<button function="minimize" state="normal" draw_ops="white"/>
		<button function="maximize" state="normal" draw_ops="white"/>
		<button function="menu" state="normal" draw_ops="white"/>

		<button function="close" state="pressed" draw_ops="white"/>
		<button function="minimize" state="pressed" draw_ops="white"/>
		<button function="maximize" state="pressed" draw_ops="white"/>
		<button function="menu" state="pressed" draw_ops="white"/>

		<button function="close" state="prelight" draw_ops="white"/>
		<button function="minimize" state="prelight" draw_ops="white"/>
		<button function="maximize" state="prelight" draw_ops="white"/>
		<button function="menu" state="prelight" draw_ops="white"/>
	</frame_style>

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

		<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>
