properties
changelog

Invert Filter

Invert colors of element with filter.

Usage:

  • @filter invert-*;

Reference

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

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

export default shilpConfig;