Color System

Mojo redefines color usage in your projects. With its built-in color engine, you can seamlessly access and utilize any color, along with its limitless tints and shades.

Simply specify the color and then indicate how much tinting or shading you want. It is essentially a color palette maker on the go.

primary
-10 -5 +5 +10

<div>
    <div class="bg-c-primary:-- -10**"></div>
    <div class="bg-c-primary:-- -5**"></div>
    <div class="bg-c-primary"></div>
    <div class="bg-c-primary:-- +5**"></div>
    <div class="bg-c-primary:-- +10**"></div>
</div>

To specify the tinting level, append a colon (:) to the color utility followed by a plus sign (+) and the desired intensity value, as in bg-c-blue:+10.

Similarly, to modify the shading, replace the plus sign (+) with a minus sign (-) and specify the desired intensity value like: bg-c-blue:-10

The range of intensity values is limitless.
Even float numbers like "bg-c-blue:+12.7" are permissible.

Default Color Palette

Here's a list of Mojo's predefined colors, along with a palette of each to help you get started.

gray
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
grayblue
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
red
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
pink
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
yellow
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
orange
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
tealblue
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
blue
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
green
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
purple
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
bronze
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
orchid
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
charocoal
-25 -20 -15 -10 -5 +5 +10 +15 +20 +25
Learn how to modify and customize the colors in config's themes page.