<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Longhouses &#187; colors</title>
	<atom:link href="http://www.longhouses.nl/tag/colors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longhouses.nl</link>
	<description>creëert business</description>
	<lastBuildDate>Mon, 10 Feb 2014 12:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Color Styles</title>
		<link>http://www.longhouses.nl/color-styles/</link>
		<comments>http://www.longhouses.nl/color-styles/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 09:56:08 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=349</guid>
		<description><![CDATA[GavernWP has an extensive mechanism allowing to create additional theme styles. We may distinguish two main groups of styles in this mechanism: style family styles included in style family given The whole configuration is included in styles.json file: As you can see, it includes color style family which has two styles, namely: Color I and [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP has an extensive mechanism allowing to create additional theme styles. We may distinguish two main groups of styles in this mechanism:</p>
<ul>
<li>style family</li>
<li>styles included in style family given</li>
</ul>
<p>The whole configuration is included in <strong>styles.json</strong> file:</p>
<pre class="gk-code" data-style="style1"><code>[{
"family": "color",<br />
"family_desc": "Theme color",<br />
"family_tooltip": "You can select one of the theme colors",<br />
"styles": [<br />
{<br />
"name": "Color I",<br />
"value": "color1",<br />
"file": "style1.css"<br />
},<br />
{<br />
"name": "Color II",<br />
"value": "color2",<br />
"file": "style2.css"<br />
}<br />
]<br />
}]</code></pre>
<p>As you can see, it includes <strong>color</strong> style family which has two styles, namely: <strong>Color I</strong> and <strong>Color II</strong>.</p>
<p>In order to create new style family or a style for style family given, it is enough to create a next object in <strong>styles.json</strong> file and then create CSS files connected with a family given &#8211; in the case of <strong>color</strong> family, these are <strong>style1.css</strong> and <strong>style2.css</strong> files.</p>
<p>GavernWP will load CSS files of a style given in a <strong>head</strong> section &#8211; chosen in an administration panel or, if there is a tool for choosing user&#8217;s styles switched on, they will be loaded based on a Cookie file storing data about a style used by a user.</p>
<p>You have to remember that for each style family there is at least one CSS file loaded. Therefore, creating coexisting style families like:</p>
<ul>
<li><strong>dark styles</strong> and <strong>light styles</strong></li>
<li><strong>blue styles</strong> and <strong>green styles</strong></li>
</ul>
<p>is incorrect because at least one CSS style from each family will be loaded immediately. So the correct one is creating style families responsible for some elements of website styling, e.g. a separate family responsible for website coloring (<strong>colors</strong>) and a separate one for website background (<strong>patterns</strong>).</p>
<p>Generally, you have to care about particular style families in order not to overwrite one another.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/color-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
