properties
changelog

Backdrop Invert Filter

Invert backdrop colors with filter effect.

Usage:

  • @filter backdrop-invert-*;

Reference

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

  properties: {
    filter: {
      backdrop: {
        invert: {
          property: "backdrop-filter: invert(<v>)<i>;",
          values: {
            DEFAULT: 1,
            none: 0,
          },
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: