properties
changelog

Mask Type

Define mask type for layering effect.

Usage:

  • @mask type-*;

Reference

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

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

export default shilpConfig;

Published at:

Last updated at: