{"_id":"@donnitec/tokens","_rev":"2-83caf91afebf8765e848198069d3fdd7","name":"@donnitec/tokens","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.4":{"name":"@donnitec/tokens","version":"0.1.4","_id":"@donnitec/tokens@0.1.4","maintainers":[{"name":"kaydonner","email":"npm@kaydonner.de"}],"dist":{"shasum":"bf93d1c259c67c1d287cb7b5cb72c261fa61b5ea","tarball":"https://registry.npmjs.org/@donnitec/tokens/-/tokens-0.1.4.tgz","fileCount":2,"integrity":"sha512-CK+mgPK3sWkyOt8/EYvu/MnxP7wcMvsVUcxj/CSFqjbZ2dibO5QOHysLDDDjNMzkPO+JtiJv2vuO8R447P+2IQ==","signatures":[{"sig":"MEYCIQDHkp1zoVz1+WsXkpZOS9dcdtK5QsRYuUYBNTGTN2kU5AIhALaVFeJa4bhBP63uYc5U+t7R+xReTJZqHAIh8tmeBt1M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6429},"type":"module","_from":"file:release/npm/donnitec-tokens-0.1.4.tgz","exports":{".":"./dist/donni-theme.css","./theme.css":"./dist/donni-theme.css","./package.json":"./package.json"},"scripts":{"build":"rimraf dist && node scripts/prepare-dist.mjs","check":"node --check scripts/prepare-dist.mjs","clean":"rimraf dist"},"_npmUser":{"name":"kaydonner","email":"npm@kaydonner.de"},"_resolved":"/builds/donnitec/design/release/npm/donnitec-tokens-0.1.4.tgz","_integrity":"sha512-CK+mgPK3sWkyOt8/EYvu/MnxP7wcMvsVUcxj/CSFqjbZ2dibO5QOHysLDDDjNMzkPO+JtiJv2vuO8R447P+2IQ==","_npmVersion":"10.9.8","directories":{},"sideEffects":true,"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/tokens_0.1.4_1787949279747_0.3474307902871647","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@donnitec/tokens","version":"0.1.5","type":"module","sideEffects":true,"exports":{".":"./dist/donni-theme.css","./theme.css":"./dist/donni-theme.css","./package.json":"./package.json"},"scripts":{"build":"rimraf dist && node scripts/prepare-dist.mjs","check":"node --check scripts/prepare-dist.mjs","clean":"rimraf dist"},"_id":"@donnitec/tokens@0.1.5","description":"Design tokens and theme styles for Donni Design.","_integrity":"sha512-ZtE+hdML3QGJeo461N8alAQHNIIJ10Frx52fgBcgg+Qgh2EsdUnB6YV53zW4bRjKrzYCN81aHTPnqcYGyY4oiw==","_resolved":"/builds/donnitec/design/release/npm/donnitec-tokens-0.1.5.tgz","_from":"file:release/npm/donnitec-tokens-0.1.5.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-ZtE+hdML3QGJeo461N8alAQHNIIJ10Frx52fgBcgg+Qgh2EsdUnB6YV53zW4bRjKrzYCN81aHTPnqcYGyY4oiw==","shasum":"62260ec92d2b53a7a6220625680b8302775c29e3","tarball":"https://registry.npmjs.org/@donnitec/tokens/-/tokens-0.1.5.tgz","fileCount":3,"unpackedSize":7452,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAQT8/A1BFvP8BFRh5E+vu1nvBVWWUyQXwcZg53Cf/A7AiEAiPh3RvoBfwnza27JUoOZzmqGFGOTfsGS0dVJdqAozC0="}]},"_npmUser":{"name":"kaydonner","email":"npm@kaydonner.de"},"directories":{},"maintainers":[{"name":"kaydonner","email":"npm@kaydonner.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tokens_0.1.5_1787949991028_0.9726545069190116"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-28T20:34:39.634Z","modified":"2026-08-28T20:46:31.372Z","0.1.4":"2026-08-28T20:34:39.864Z","0.1.5":"2026-08-28T20:46:31.167Z"},"maintainers":[{"name":"kaydonner","email":"npm@kaydonner.de"}],"readme":"# @donnitec/tokens\n\nDesign tokens and theme styles for Donni Design.\n\n## Installation\n\n```bash\npnpm add @donnitec/tokens\n```\n\n## Usage\n\nImport the Donni Design theme once in your application:\n\n```javascript\nimport '@donnitec/tokens/theme.css';\n```\n\nThe package also exposes the theme stylesheet through its default export:\n\n```javascript\nimport '@donnitec/tokens';\n```\n\n## Theme mode\n\nUse `data-donni-theme` on the document root to select the active appearance:\n\n```html\n<html data-donni-theme=\"light\">\n```\n\n```html\n<html data-donni-theme=\"dark\">\n```\n\n## Color presets\n\nUse `data-donni-color-preset` independently from the theme mode:\n\n```html\n<html data-donni-theme=\"dark\" data-donni-color-preset=\"ocean\">\n```\n\nAvailable presets:\n\n- `ocean`\n- `forest`\n- `sunset`\n- `grape`\n- `rose`\n\n## Package exports\n\n```javascript\nimport '@donnitec/tokens';\nimport '@donnitec/tokens/theme.css';\n```\n\nKeep `@donnitec/tokens` on the same Donni Design release version as the UI and framework integration packages used by your application.\n","readmeFilename":"README.md","description":"Design tokens and theme styles for Donni Design."}