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

Function decl

packages/tailwindcss/src/ast.ts:95–102  ·  packages/tailwindcss/src/ast.ts::decl
(property: string, value: string | undefined, important = false)

Source from the content-addressed store, hash-verified

93}
94
95export function decl(property: string, value: string | undefined, important = false): Declaration {
96 return {
97 kind: class="st">'declaration',
98 property,
99 value,
100 important,
101 }
102}
103
104export function comment(value: string): Comment {
105 return {

Callers 15

parseCssFunction · 0.90
ast.test.tsFile · 0.90
propertyFunction · 0.90
staticUtilityFunction · 0.90
createUtilitiesFunction · 0.90
handleScaleFunction · 0.90
handleRotateFunction · 0.90
handleFunction · 0.90
handleBgLinearFunction · 0.90
handleBgConicFunction · 0.90
colorFunction · 0.90

Calls

no outgoing calls

Tested by 1

enterFunction · 0.72