Syntax

Fill

Setting the color of an SVG shape.

🚧This page is still under construction and some content may not be complete.

Overview

ClassDeclarations
fill:colorfill: color;
fill:currentfill: currentColor;
fill:transparentfill: transparent;
fill:#hexfill: #hex;
fill:rgb(rgb)fill: rgb(rgb);
fill:hsl(hsl)fill: hsl(hsl);

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

<div class="fill:blue-60:hover fill:blue-60@sm fill:blue-60@dark fill:blue-60@print"></div>
Design Token
Colors

Customizing color variables or starting with the crafted palette.

© Aoyue Design LLC.