properties
changelog

Mixins Overview

Mixins are predefined stateful selectors used to apply styles based on conditions.

In simple words, mixins wrap styles with conditional logic.

To understand about mixins and it's processing, See Mixins Config.


Important Note

Available Mixins

This section lists all built-in mixins shipped with Shilp CSS.

MixinDescriptionDocumentation
@ariaARIA attribute (aria-*) selectors@aria
@childsstyle child elements@childs
@datadata attribute (data-*) selectors@data
@envstyling based on environment@env
@formform element states and conditions@form
@matchcomplex selector patterns@match
@motionrespecting user motion preferences@motion
@screenresponsive breakpoints and media queries@screen
@selfapply styles to the element itself@self
@siblingsstyle sibling elements@siblings
@stateinteractive states@state
@texttext-related conditions and pseudo-selectors@text
@themedark/light mode and custom theme@theme