properties
changelog

Line Height

Set line height.

Usage:

  • @text h-*;

Reference

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

	properties: {
		text: {
			h: {
				property: "line-height: <v><i>;",
				values: {
					normal: 1,
					xs: 1.25,
					sm: 1.375,
					base: 1.5,
					md: 1.625,
					lg: 1.75,
					xl: 2,
				},
			},
		},
	},
};

export default shilpConfig;