{"_id":"@allinpanel-ag/meteor-tokens","_rev":"2-8c5e968afdfe389a5e1f6c9494064486","name":"@allinpanel-ag/meteor-tokens","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.0":{"name":"@allinpanel-ag/meteor-tokens","version":"1.1.0","author":{"name":"shopware AG"},"license":"MIT","_id":"@allinpanel-ag/meteor-tokens@1.1.0","maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"homepage":"https://github.com/allinpanel-org/meteor#readme","bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"dist":{"shasum":"678f6c891bc061d55ae015e43065d3bd6364d0e7","tarball":"https://registry.npmjs.org/@allinpanel-ag/meteor-tokens/-/meteor-tokens-1.1.0.tgz","fileCount":9,"integrity":"sha512-SBmmfRpotW88eqMa+PtJR0PnYAm5UVz7w2iDszsHvCf+5ssUtngH4tU0cXxvCtFHR1j9sde9hszS7qvfbjmCWA==","signatures":[{"sig":"MEUCIQDCI0HnpllHukGV8F755Isa3TwUwUoJVBYm4nIl53Z6gQIgC5VNlN1tDMOIW4wdwQmKitUst26xeS72AqF3Tss3g3o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allinpanel-ag%2fmeteor-tokens@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":54707},"main":"index.js","type":"module","_from":"file:allinpanel-ag-meteor-tokens-1.1.0.tgz","exports":{"./primitives.css":"./deliverables/foundation/primitives.css","./administration/dark.css":"./deliverables/administration/dark.css","./administration/light.css":"./deliverables/administration/light.css","./foundation/primitives.json":"./dictionaries/foundation/primitives.tokens.json"},"scripts":{"build":"echo 'This is only used for turbo repo caching'","start":"tsx ./src/scripts/index.ts","format":"prettier --write .","lint:all":"npm run lint:eslint && npm run lint:types","test:unit":"vitest --run","lint:types":"tsc --noEmit","lint:eslint":"eslint .","format:check":"prettier --check .","test:unit:watch":"vitest"},"_npmUser":{"name":"xiaosong66","email":"1596363735@qq.com"},"_resolved":"/tmp/ac281a6563310e3285a3005581ad0d9f/allinpanel-ag-meteor-tokens-1.1.0.tgz","_integrity":"sha512-SBmmfRpotW88eqMa+PtJR0PnYAm5UVz7w2iDszsHvCf+5ssUtngH4tU0cXxvCtFHR1j9sde9hszS7qvfbjmCWA==","repository":{"url":"git+ssh://git@github.com/allinpanel-org/meteor.git","type":"git"},"_npmVersion":"10.8.2","description":"Design Tokens for the Meteor Design System used at allinpanel","directories":{},"_nodeVersion":"20.19.2","dependencies":{"ora":"^8.2.0","zod":"^3.24.2","dotenv":"^16.4.7","vitest":"^3.0.6"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.7.1","tsx":"^4.19.3","eslint":"^9.20.1","prettier":"^3.5.1","@eslint/js":"^9.20.0","@types/node":"^22.13.4","typescript-eslint":"^8.24.1","eslint-plugin-vitest":"^0.5.4"},"_npmOperationalInternal":{"tmp":"tmp/meteor-tokens_1.1.0_1749807335882_0.03547721877551435","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@allinpanel-ag/meteor-tokens","version":"1.1.1","description":"Design Tokens for the Meteor Design System used at allinpanel","repository":{"type":"git","url":"git+ssh://git@github.com/allinpanel-org/meteor.git"},"license":"MIT","author":{"name":"shopware AG"},"type":"module","exports":{"./primitives.css":"./deliverables/foundation/primitives.css","./administration/light.css":"./deliverables/administration/light.css","./administration/dark.css":"./deliverables/administration/dark.css","./foundation/primitives.json":"./dictionaries/foundation/primitives.tokens.json"},"main":"index.js","dependencies":{"dotenv":"^16.4.7","ora":"^8.2.0","vitest":"^3.0.6","zod":"^3.24.2"},"devDependencies":{"@eslint/js":"^9.20.0","@types/node":"^22.13.4","eslint":"^9.20.1","eslint-plugin-vitest":"^0.5.4","msw":"^2.7.1","prettier":"^3.5.1","tsx":"^4.19.3","typescript-eslint":"^8.24.1"},"scripts":{"format":"prettier --write .","format:check":"prettier --check .","lint:all":"npm run lint:eslint && npm run lint:types","lint:eslint":"eslint .","lint:types":"tsc --noEmit","start":"tsx ./src/scripts/index.ts","test:unit":"vitest --run","test:unit:watch":"vitest","build":"echo 'This is only used for turbo repo caching'"},"_id":"@allinpanel-ag/meteor-tokens@1.1.1","bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"homepage":"https://github.com/allinpanel-org/meteor#readme","_integrity":"sha512-SPBufP/K3c1VHt/zafnygqWivYSfY4++xz5t8+8xg9nAUZYF7LdfzLZ2ogTXkYJjCxrk7bjWPbqRBpY24zz1+A==","_resolved":"/tmp/2d5277dbebd5fda650a12135d3aee7c3/allinpanel-ag-meteor-tokens-1.1.1.tgz","_from":"file:allinpanel-ag-meteor-tokens-1.1.1.tgz","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SPBufP/K3c1VHt/zafnygqWivYSfY4++xz5t8+8xg9nAUZYF7LdfzLZ2ogTXkYJjCxrk7bjWPbqRBpY24zz1+A==","shasum":"5d5b720d32516132843a9432235c197d5e844cf0","tarball":"https://registry.npmjs.org/@allinpanel-ag/meteor-tokens/-/meteor-tokens-1.1.1.tgz","fileCount":9,"unpackedSize":54707,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@allinpanel-ag%2fmeteor-tokens@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDdVCfBlphf7B+jyhddrNzi03vrUUJvkKMQXNQVZ/+/DgIhANy6ZMmpL0tc5EPWyF8s6U9uOMtNZDztBUNyMbp3nSq2"}]},"_npmUser":{"name":"xiaosong66","email":"1596363735@qq.com"},"directories":{},"maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/meteor-tokens_1.1.1_1749897562734_0.15995775129370093"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-13T09:35:35.752Z","modified":"2025-06-14T10:39:23.426Z","1.1.0":"2025-06-13T09:35:36.089Z","1.1.1":"2025-06-14T10:39:22.957Z"},"bugs":{"url":"https://github.com/allinpanel-org/meteor/issues"},"author":{"name":"shopware AG"},"license":"MIT","homepage":"https://github.com/allinpanel-org/meteor#readme","repository":{"type":"git","url":"git+ssh://git@github.com/allinpanel-org/meteor.git"},"description":"Design Tokens for the Meteor Design System used at allinpanel","maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"readme":"This repository contains the Design Tokens for the Meteor Design System at shopware.\n\n## Installation\n\n```sh\nnpm install @allinpanel-ag/meteor-tokens\n```\n\n## Usage\n\nThis packages exposes a handful of files to consume:\n\n- Primitive tokens\n- Tokens for the Shopware 6 Administration (light & dark)\n\nAs an example we'll show you how to make use of the tokens\nfor the Shopware 6 Administration.\n\nImport the CSS files that contain the corresponding tokens.\n\n```js\nimport '@allinpanel-ag/meteor-tokens/administration/light.css';\n\n// If you want to support dark mode\nimport '@allinpanel-ag/meteor-tokens/administration/dark.css';\n```\n\nNow, you're able to make use of the Design Tokens trough\nCSS custom properties, like this:\n\n```css\n.sw-button {\n  background-color: var(--color-interaction-primary-default);\n}\n```\n\nTo switch to the dark mode add the attribute `data-theme=\"dark\"` to\na DOM element as far up in the DOM tree as possible.\n\n```html\n<body data-theme=\"dark\">\n  <!-- Your application -->\n</body>\n```\n\n## License\n\nShopware 6 is completely free and released under the [MIT License](./LICENSE.md).\n","readmeFilename":"README.md"}