properties
changelog

Caret Style

Style text input caret (cursor) color.

Usage:

  • @live caret-*;

Reference

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

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

export default shilpConfig;