Type ShadowLevel

type ShadowLevel uint8

ShadowLevel is a step of the elevation scale shadcn takes from Tailwind CSS: the stronger the level, the higher a surface floats above the page.

Constants

const (
	// ShadowNone casts no shadow.
	ShadowNone ShadowLevel = iota
	// ShadowXS is shadow-xs, for controls that sit on the page: inputs, outline
	// buttons, switches and select triggers.
	ShadowXS
	// ShadowSM is shadow-sm, for a raised part of a control: the selected tab, a
	// slider thumb.
	ShadowSM
	// ShadowMD is shadow-md, for a surface opened over the page: popovers, menus
	// and select lists.
	ShadowMD
	// ShadowLG is shadow-lg, for a surface that covers part of the page: sheets and
	// submenus.
	ShadowLG
)