properties
changelog

Mask Mode

Set mask blend mode for compositing or layering effect.\

Usage:

  • @mask mode-*;

Reference

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

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

export default shilpConfig;