xCss

Converting CSS to xCSS

Miru Configuration

Change the page type to xCss, so Miru will process it through the xCss processor.

Convert the CSS file content to xCss

Add the DOCTYPE

MUST be line 1 of the document.

!doctype xcss 0.8

Add Params you want

$param color bgColor #fff // #8BBE61 // #F37C21
$param color headerBgColor #fff // #F299AF // #004A8E 

Edit the document to replace any values with params

body
{
  background-color: $bgColor;
}

Use // freely to comment out old values for reference