properties
changelog

Fade Animation

Apply fade in or fade out animations to elements.

Usage:

  • @animate fade-in-*;
  • @animate fade-out-*;

Reference

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

	properties: {
		animate: {
			fade: {
				in: {
					property: "--entr-opct: <v><i>;",
					themeKey: "fractions",
					values: {
						DEFAULT: 1,
					},
				},

				out: {
					property: "--ext-opct: <v><i>;",
					themeKey: "fractions",
					values: {
						DEFAULT: 1,
					},
				},
			},
		},
	},
};

export default shilpConfig;