xCss

Param

Params are the core of xCss's templatting capability.

Make certain that parameters which reference other parameters only reference prior, defined parameters. Also make certain that you do not create a circular reference.

$param <type> <name> <default value>
$param color bgColor1 #f00

Usage

p
{
	color: #f00;
	background-color: $bgColor1;
}