properties
changelog

Backdrop Grayscale Filter

Apply backdrop grayscale filter to elements.

Usage:

  • @filter backdrop-gray-*;

Reference

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

  properties: {
    filter: {
      backdrop: {
        gray: {
          property: "backdrop-filter: grayscale(<v>)<i>;",
          themeKey: "fractions",
          values: {},
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: