properties
changelog

Text Style

Set text style for text elements.

Usage:

  • @text style-*;

Reference

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

	properties: {
		text: {
			style: {
				property: "font-style: <v><i>;",
				values: {
					normal: "normal",
					italic: "italic",
				},
			},
		},
	},
};

export default shilpConfig;