Utilities API

The utilities.scss API file provides a flexible interface for managing and customizing Punica’s utility class library. It allows you to add new utility classes, disable existing ones, and adjust predefined settings to seamlessly align with your project’s needs.
You can easily modify or override all settings in this file through your theme map.
Key Description
enabled Used to enable/disable an utility
property CSS property name of an utility class
prefix Prefix of class name for an utility
specificity Style declaration applied to a utility class
unit Length or angle units used for a utility's value. (optional)
args Extra variables used for a utility's value. (optional)
palette Variables for the color palette to be created. (optional)
variables Variables used for a utility's value.