{"_id":"@capra/dx-tokens-postcss-plugin","_rev":"9-d07fa529b558d1bf8f2c918fe52d562a","name":"@capra/dx-tokens-postcss-plugin","dist-tags":{"latest":"0.4.0"},"versions":{"0.3.0":{"name":"@capra/dx-tokens-postcss-plugin","version":"0.3.0","keywords":["capra","postcss"],"license":"SEE LICENSE IN LICENSE.txt","_id":"@capra/dx-tokens-postcss-plugin@0.3.0","maintainers":[{"name":"raygesualdo","email":"ray@raygesualdo.com"},{"name":"sneha.singh","email":"ssingh@cribl.io"},{"name":"nlivingston","email":"nilelivingston13@gmail.com"},{"name":"spicioccio","email":"spicioccio@cribl.io"}],"dist":{"shasum":"c92d71d3f9f51c61378a288f60d545f9bb807d77","tarball":"https://registry.npmjs.org/@capra/dx-tokens-postcss-plugin/-/dx-tokens-postcss-plugin-0.3.0.tgz","fileCount":5,"integrity":"sha512-y/qolch3Bf+RLOCL3T9RSM6+POkyGfY2lC6sg3up9Yd2BgUzOKZpBz06V2e1Lb9nFSCfLr86VM32/XHxp7li+A==","signatures":[{"sig":"MEYCIQDiP+WiOgvhAM/uh7t3estGN38wXs2Fu9qHAb2tCUc7LgIhAJA6kGPCyssGBE7Z3ZdPgDuMNLU99NabelrJQkb5BlQe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4145},"type":"module","_from":"file:capra-dx-tokens-postcss-plugin-0.3.0.tgz","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.mjs"}},"scripts":{"lint":"capra-linter","build":"tsdown","clean":"rm -rf ./dist","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"raygesualdo","email":"ray@raygesualdo.com"},"_resolved":"/private/var/folders/fn/nr6t3_kn1j3fwnjh2x3528cc0000gp/T/8792ca7e64284e2f846a6c4475309f99/capra-dx-tokens-postcss-plugin-0.3.0.tgz","_integrity":"sha512-y/qolch3Bf+RLOCL3T9RSM6+POkyGfY2lC6sg3up9Yd2BgUzOKZpBz06V2e1Lb9nFSCfLr86VM32/XHxp7li+A==","_npmVersion":"11.12.1","description":"PostCSS plugin to handle Capra design tokens in CSS files","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"postcss-value-parser":"^4.2.0","@capra/dx-tokens-core":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.0","postcss":"^8.5.6","@capra/dx-tokens":"0.0.0","@private/linting":"0.0.0"},"peerDependencies":{"postcss":">=8"},"_npmOperationalInternal":{"tmp":"tmp/dx-tokens-postcss-plugin_0.3.0_1781643591572_0.8342846350821378","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@capra/dx-tokens-postcss-plugin","version":"0.3.1","keywords":["capra","postcss"],"license":"SEE LICENSE IN LICENSE.txt","_id":"@capra/dx-tokens-postcss-plugin@0.3.1","maintainers":[{"name":"raygesualdo","email":"ray@raygesualdo.com"},{"name":"sneha.singh","email":"ssingh@cribl.io"},{"name":"jlewczynski","email":"jlewczynski@cribl.io"},{"name":"spicioccio","email":"spicioccio@cribl.io"},{"name":"hmcmahon","email":"hmcmahon@cribl.io"},{"name":"nlivingston","email":"nilelivingston13@gmail.com"}],"homepage":"https://capra.cribl.io","dist":{"shasum":"a61e8320194e993e9981f8fd423f33cc983e04e7","tarball":"https://registry.npmjs.org/@capra/dx-tokens-postcss-plugin/-/dx-tokens-postcss-plugin-0.3.1.tgz","fileCount":5,"integrity":"sha512-UTDn8gCLOpnnytLKNdelPEN3qbHPH8krQURgHNJfcsN2eotX6Z73pFd4AVIynxyaQAIK0aiPtgH++9/AQD9q+Q==","signatures":[{"sig":"MEUCIH+aeO3gzMuM46npVtRMhG8bl0HXhsm/gylfDOvtiS3bAiEAw2pVGsL5ITGFxmLbGboEgc/uKAhOeIfd61eVd3UOtuk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4350},"type":"module","_from":"file:capra-dx-tokens-postcss-plugin-0.3.1.tgz","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.mjs"}},"scripts":{"lint":"capra-linter","build":"tsdown","clean":"rm -rf ./dist","typecheck":"tsgo --noEmit"},"_npmUser":{"name":"nlivingston","email":"nilelivingston13@gmail.com"},"_resolved":"/private/var/folders/vf/p9l2m4t94wd_tf5vb61r8lk00000gp/T/0d14edc3e11d32ff8221ae00316d1649/capra-dx-tokens-postcss-plugin-0.3.1.tgz","_integrity":"sha512-UTDn8gCLOpnnytLKNdelPEN3qbHPH8krQURgHNJfcsN2eotX6Z73pFd4AVIynxyaQAIK0aiPtgH++9/AQD9q+Q==","_npmVersion":"11.12.1","description":"PostCSS plugin to handle Capra design tokens in CSS files","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"postcss-value-parser":"^4.2.0","@capra/dx-tokens-core":"0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.0","postcss":"^8.5.6","@capra/dx-tokens":"0.0.0","@private/linting":"0.0.0"},"peerDependencies":{"postcss":">=8"},"_npmOperationalInternal":{"tmp":"tmp/dx-tokens-postcss-plugin_0.3.1_1782493788691_0.2403861080832992","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@capra/dx-tokens-postcss-plugin","version":"0.3.2","keywords":["capra","postcss"],"license":"SEE LICENSE IN LICENSE.txt","_id":"@capra/dx-tokens-postcss-plugin@0.3.2","maintainers":[{"name":"raygesualdo","email":"ray@raygesualdo.com"},{"name":"sneha.singh","email":"ssingh@cribl.io"},{"name":"jlewczynski","email":"jlewczynski@cribl.io"},{"name":"spicioccio","email":"spicioccio@cribl.io"},{"name":"hmcmahon","email":"hmcmahon@cribl.io"},{"name":"nlivingston","email":"nilelivingston13@gmail.com"}],"homepage":"https://capra.cribl.io","dist":{"shasum":"7f5ccf3c9ff99cbe15c144d55b24f3f12f13d3c7","tarball":"https://registry.npmjs.org/@capra/dx-tokens-postcss-plugin/-/dx-tokens-postcss-plugin-0.3.2.tgz","fileCount":5,"integrity":"sha512-NLQgDypN0xYhcA84KBbZMof88YLCQr7WZdBdFYpxYCt+qs7L8OjXac985MjDS/WI0ElHdOGASLqNYiIofIngxQ==","signatures":[{"sig":"MEQCIGGBfh42kW4SNcf6qPmw/EsHlZqA3+LHqswFut/zIrHZAiBKrXlKLgl61Z0RgDpp/6pyGQv8pj7db7tW6XmE6p6a/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4348},"type":"module","_from":"file:capra-dx-tokens-postcss-plugin-0.3.2.tgz","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.mjs"}},"scripts":{"lint":"capra-linter","build":"tsdown","clean":"rm -rf ./dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"nlivingston","email":"nilelivingston13@gmail.com"},"_resolved":"/private/var/folders/vf/p9l2m4t94wd_tf5vb61r8lk00000gp/T/830ac35c7ab5cf77093b95833c58485d/capra-dx-tokens-postcss-plugin-0.3.2.tgz","_integrity":"sha512-NLQgDypN0xYhcA84KBbZMof88YLCQr7WZdBdFYpxYCt+qs7L8OjXac985MjDS/WI0ElHdOGASLqNYiIofIngxQ==","_npmVersion":"11.12.1","description":"PostCSS plugin to handle Capra design tokens in CSS files","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"postcss-value-parser":"^4.2.0","@capra/dx-tokens-core":"0.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.7","postcss":"^8.5.6","@capra/dx-tokens":"0.0.1","@private/linting":"0.0.1"},"peerDependencies":{"postcss":">=8"},"_npmOperationalInternal":{"tmp":"tmp/dx-tokens-postcss-plugin_0.3.2_1784308235539_0.6023111136897457","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@capra/dx-tokens-postcss-plugin","version":"0.4.0","keywords":["capra","postcss"],"license":"SEE LICENSE IN LICENSE.txt","_id":"@capra/dx-tokens-postcss-plugin@0.4.0","maintainers":[{"name":"raygesualdo","email":"ray@raygesualdo.com"},{"name":"sneha.singh","email":"ssingh@cribl.io"},{"name":"jlewczynski","email":"jlewczynski@cribl.io"},{"name":"spicioccio","email":"spicioccio@cribl.io"},{"name":"hmcmahon","email":"hmcmahon@cribl.io"},{"name":"nlivingston","email":"nilelivingston13@gmail.com"}],"homepage":"https://capra.cribl.io","dist":{"shasum":"c3f97a6679dc0b6e65680fa1a55b55088e1a7514","tarball":"https://registry.npmjs.org/@capra/dx-tokens-postcss-plugin/-/dx-tokens-postcss-plugin-0.4.0.tgz","fileCount":5,"integrity":"sha512-rNI6bw4CdYlfMXZYnAp72YVNBlA7WNoymNxOcLp3bhmRdEf2DCrU4EoXvwP2P+VOL+t6ASCdRREvzEZFKlv86g==","signatures":[{"sig":"MEUCIQDEmH9MhrWOzLUprO33viO/6CryRrGFmQ0M1A1euwO8vgIgFZps9ooQ3Qwfy+jbfla7cV9EA7fgXV39utmRRyYrktE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4351},"type":"module","_from":"file:capra-dx-tokens-postcss-plugin-0.4.0.tgz","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs","require":"./dist/index.mjs"}},"scripts":{"lint":"capra-linter","build":"tsdown","clean":"rm -rf ./dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"nlivingston","email":"nilelivingston13@gmail.com"},"_resolved":"/private/var/folders/vf/p9l2m4t94wd_tf5vb61r8lk00000gp/T/00757adec1d7d8a06ae97426b6b7eb25/capra-dx-tokens-postcss-plugin-0.4.0.tgz","_integrity":"sha512-rNI6bw4CdYlfMXZYnAp72YVNBlA7WNoymNxOcLp3bhmRdEf2DCrU4EoXvwP2P+VOL+t6ASCdRREvzEZFKlv86g==","_npmVersion":"11.12.1","description":"PostCSS plugin to handle Capra design tokens in CSS files","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"postcss-value-parser":"^4.2.0","@capra/dx-tokens-core":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.7","postcss":"^8.5.6","@capra/dx-tokens":"^0.0.1","@private/linting":"^0.0.1"},"peerDependencies":{"postcss":">=8"},"_npmOperationalInternal":{"tmp":"tmp/dx-tokens-postcss-plugin_0.4.0_1784913697918_0.8771906255835609","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-16T20:59:51.459Z","modified":"2026-09-04T16:53:35.424Z","0.3.0":"2026-06-16T20:59:51.729Z","0.3.1":"2026-06-26T17:09:48.835Z","0.3.2":"2026-07-17T17:10:35.668Z","0.4.0":"2026-07-24T17:21:38.081Z"},"license":"SEE LICENSE IN LICENSE.txt","homepage":"https://capra.cribl.io","keywords":["capra","postcss"],"description":"PostCSS plugin to handle Capra design tokens in CSS files","maintainers":[{"email":"ray@raygesualdo.com","name":"raygesualdo"},{"email":"ssingh@cribl.io","name":"sneha.singh"},{"email":"jlewczynski@cribl.io","name":"jlewczynski"},{"email":"spicioccio@cribl.io","name":"spicioccio"},{"email":"hmcmahon@cribl.io","name":"hmcmahon"},{"email":"nilelivingston13@gmail.com","name":"nlivingston"},{"email":"amberleyjohanna@gmail.com","name":"amber1ey"}],"readme":"# @capra/dx-tokens-postcss-plugin\n\n## Overview\n\n`@capra/dx-tokens-postcss-plugin` publishes a PostCSS plugin that rewrites `token('...')` calls into Capra CSS variable references.\n\n## Documentation\n\nHuman-readable documentation is available at https://capra.cribl.io.\n\nLLM-readable documentation is available at https://capra.cribl.io/llms.txt.\n\n## Install\n\n```sh\npnpm add @capra/dx-tokens-postcss-plugin postcss\n```\n\n## Usage\n\n```ts\nimport postcss from 'postcss';\nimport { capraTokenPostcssPlugin } from '@capra/dx-tokens-postcss-plugin';\nimport { allTokens } from '@capra/dx-tokens/tokens-minimal.ts';\n\nawait postcss([capraTokenPostcssPlugin({ tokens: allTokens })]).process('.card { padding: token(\"spacing.md\"); }', {\n  from: undefined,\n});\n```\n\n## Peer dependencies\n\n`@capra/dx-tokens-postcss-plugin` expects `postcss` as a peer dependency.\n\n## License\n\nThis package is proprietary software. See [LICENSE.txt](./LICENSE.txt).\n","readmeFilename":"README.md"}