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

Function atRule

packages/tailwindcss/src/ast.ts:78–85  ·  packages/tailwindcss/src/ast.ts::atRule
(name: string, params: string = '', nodes: AstNode[] = [])

Source from the content-addressed store, hash-verified

76}
77
78export function atRule(name: string, params: string = class="st">'', nodes: AstNode[] = []): AtRule {
79 return {
80 kind: class="st">'at-rule',
81 name,
82 params,
83 nodes,
84 }
85}
86
87export function rule(selector: string, nodes: AstNode[] = []): StyleRule | AtRule {
88 if (selector.charCodeAt(0) === AT_SIGN) {

Callers 15

parseCssFunction · 0.90
onCircularDependencyFunction · 0.90
ast.test.tsFile · 0.90
propertyFunction · 0.90
createUtilitiesFunction · 0.90
negateAtRuleFunction · 0.90
contentPropertiesFunction · 0.90
createVariantsFunction · 0.90
substituteAtSlotFunction · 0.90
buildImportNodesFunction · 0.90
applyVariantFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected