properties
changelog

Mask Type

Define mask type for layering effect.

Usage:

  • @mask type-*;

Reference

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

	properties: {
		mask: {
			type: {
				property: "mask-type: <v><i>;",
				values: {
					luminance: "luminance",
					alpha: "alpha",
				},
			},
		},
	},
};

export default shilpConfig;