properties
changelog

@match Mixin

Use @match mixin for complex selector patterns.

Usage:

.any-class {
	/* functions */
	@match <variant>("<arguments>") { ... }
}

Reference

shilp.config.js
const shilpConfig = {
	target: "react",

	mixins: {
		match: {
			variants: {
				/* functions */
				not: "&:not(<1>)",
				is: "&:is(<1>)",
				where: "&:where(<1>)",
			},
		},
	},
};

export default shilpConfig;