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

Function applyPrefix

packages/tailwindcss/src/utilities.ts:6621–6626  ·  view source on GitHub ↗
(x: string)

Source from the content-addressed store, hash-verified

6619 })
6620
6621 function applyPrefix(x: string) {
6622 if (!prefix) return x
6623 return segment(x, ',')
6624 .map((value) => prefix.trim() + ' ' + value.trim())
6625 .join(', ')
6626 }
6627
6628 if (requiresFallback) {
6629 return [

Callers 1

Calls 1

segmentFunction · 0.90

Tested by

no test coverage detected