properties
changelog

Background Color

Apply background color to elements.

Usage:

  • @bg color-*;

Reference

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

	properties: {
		bg: {
			color: {
				property: "background-color: <v><i>;",
				resolve: "color",
				themeKey: "colors",
				variant: true,
				values: {},
			},
		},
	},
};

export default shilpConfig;