CSS Variable

CSS variables can be used in every className to every css-property. using --var-- or -- identifier after the property. The main diffrent between them are with --var-- you can use varaible name that startswith numeric character e.g --1x:4px but not with '--'.

classnameshorthandcssRemarks
color--var--namec--var--namecolor: var(--name)
color--namec--namecolor: var(--name)
width--var--side-bar-widthw--var--side-bar-widthwidth: var(--side-bar-width)
width--side-bar-widthw--side-bar-widthwidth: var(--side-bar-width)
width--var--24xw--var--24xwidth: var(--24x)
width--24xw--24xNot Valid, variable name with number not supported with '--' use '--var--' instead

Example

<div class="width--blockquote-width" style="--grey-default:rgba(210, 213, 217, 1);--grey-alt:rgba(186, 189, 194, 1)">
    <h3 class="color--grey-default --hover-color--grey-alt">Hello World</h3>
</div>