properties
changelog

Mask Mode

Set mask blend mode for compositing or layering effect.\

Usage:

  • @mask mode-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

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

export default shilpConfig;

Published at:

Last updated at: