properties
changelog

Text Content For Pseudo Elements

Set text content for pseudo-elements (::before and ::after).

Usage:

  • @text content-*;

Reference

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

	properties: {
		text: {
			content: {
				property: "content: <v><i>;",
				values: {
					empty: "",
					none: "none",
				},
			},
		},
	},
};

export default shilpConfig;