MCPcopy
hub / github.com/tailwindlabs/tailwindcss / gradientStopProperties

Function gradientStopProperties

packages/tailwindcss/src/utilities.ts:2974–2986  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2972 ])
2973
2974 let gradientStopProperties = () => {
2975 return atRoot([
2976 property('--tw-gradient-position'),
2977 property('--tw-gradient-from', '#0000', '<color>'),
2978 property('--tw-gradient-via', '#0000', '<color>'),
2979 property('--tw-gradient-to', '#0000', '<color>'),
2980 property('--tw-gradient-stops'),
2981 property('--tw-gradient-via-stops'),
2982 property('--tw-gradient-from-position', '0%', '<length-percentage>'),
2983 property('--tw-gradient-via-position', '50%', '<length-percentage>'),
2984 property('--tw-gradient-to-position', '100%', '<length-percentage>'),
2985 ])
2986 }
2987
2988 type GradientStopDescription = {
2989 color: (value: string) => AstNode[] | undefined

Callers 1

createUtilitiesFunction · 0.85

Calls 2

atRootFunction · 0.90
propertyFunction · 0.85

Tested by

no test coverage detected