docs/css-overview: Fix color functions’ arg orders
shade/alpha/mix() take colour(s) and a number that is the ratio by which to transform them. It was written here that these shall be passed in the order (number, colour). That was wrong: they must be passed in the order (colour[s], number) to work, and for the Inspector not to flag an error.
This commit is contained in:
		@ -587,7 +587,7 @@ background-color: @bg_color;
 | 
			
		||||
      set of base colors.
 | 
			
		||||
    </para>
 | 
			
		||||
 | 
			
		||||
<literallayout><code>〈color expression〉 = lighter(〈color〉) | darker(〈color〉) | shade(〈number〉,〈color〉) | alpha(〈number〉,〈color〉) | mix(〈number〉,〈color〉,〈color〉)</code>
 | 
			
		||||
<literallayout><code>〈color expression〉 = lighter(〈color〉) | darker(〈color〉) | shade(〈color〉,〈number〉) | alpha(〈color〉,〈number〉) | mix(〈color〉,〈color〉,〈number〉)</code>
 | 
			
		||||
</literallayout>
 | 
			
		||||
 | 
			
		||||
    <para>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user