Skip to content

Colors

A library of colors can be added to the document's assets, using the syntax:

xml
<assets>
    <colors>
        <primary>#600feb</primary>
        <secondary>#8f55f2</secondary>
    </colors>
</assets>

Once defined, these colors can be used anywhere in the document, e.g.

xml
<p border-weight="1pt" border-color="secondary" font-color="primary">
    Lorem ipsum...
</p>