properties
changelog

Text Thickness (Weight)

Set text's thickness (weight).

Usage:

  • @text thick-*;

Reference

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

	properties: {
		text: {
			thick: {
				property: "font-weight: <v><i>;",
				values: {
					100: 100,
					200: 200,
					300: 300,
					400: 400,
					500: 500,
					600: 600,
					700: 700,
					800: 800,
					900: 900,
				},
			},
		},
	},
};

export default shilpConfig;