{"_id":"@allincart-ag/meteor-tokens","_rev":"2-f4feb14c82322b026cd06098ad63f9b7","name":"@allincart-ag/meteor-tokens","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@allincart-ag/meteor-tokens","version":"1.0.0","author":{"name":"shopware AG"},"license":"MIT","_id":"@allincart-ag/meteor-tokens@1.0.0","maintainers":[{"name":"xiaosong66","email":"1596363735@qq.com"}],"homepage":"https://github.com/shopware/meteor#readme","bugs":{"url":"https://github.com/shopware/meteor/issues"},"dist":{"shasum":"1f51c28548c89c7721a6f0b24ec47e05a5291435","tarball":"https://registry.npmjs.org/@allincart-ag/meteor-tokens/-/meteor-tokens-1.0.0.tgz","fileCount":9,"integrity":"sha512-9e4SwChjxeA617+diZS9eITvM/NUPTHbbzCjsqY8oZleiR2S3esD7MyPIEbDBhlMbXDpGTU18eyE+/vgB6677g==","signatures":[{"sig":"MEUCIQCbN0ELAD32GF35MO1oBEtCpcXr2sH7hzjMJ5eKo4R66gIgfDjZlapzUJLdX8m7f+H/ZtCI6lI+pQ9aBGzBbGec9EY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54351},"main":"index.js","type":"module","_from":"file:allincart-ag-meteor-tokens-1.0.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":"/private/var/folders/kg/97wjkqcd6vz5j0v55rvc4bbw0000gn/T/86e4298d8bf67a943401183998a69b62/allincart-ag-meteor-tokens-1.0.0.tgz","_integrity":"sha512-9e4SwChjxeA617+diZS9eITvM/NUPTHbbzCjsqY8oZleiR2S3esD7MyPIEbDBhlMbXDpGTU18eyE+/vgB6677g==","repository":{"url":"git+ssh://git@github.com/shopware/meteor.git","type":"git"},"_npmVersion":"10.8.2","description":"Design Tokens for the Meteor Design System used at shopware","directories":{},"_nodeVersion":"20.18.1","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.0.0_1743813309045_0.9490404822517728","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@allincart-ag/meteor-tokens","version":"1.1.0","description":"Design Tokens for the Meteor Design System used at allincart","repository":{"type":"git","url":"git+ssh://git@github.com/allincart-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":"@allincart-ag/meteor-tokens@1.1.0","bugs":{"url":"https://github.com/allincart-org/meteor/issues"},"homepage":"https://github.com/allincart-org/meteor#readme","_integrity":"sha512-S9bj4ReCyhUTI4NB4+nuzcLJBQ5HzWzZFNngbrvsyJxFmpiZHABqv5/a/NqwrUJG0B31/JmEQRny57n4xOwCIw==","_resolved":"/private/var/folders/kg/97wjkqcd6vz5j0v55rvc4bbw0000gn/T/b1f4119f4e0bdb7f972a86f03e586742/allincart-ag-meteor-tokens-1.1.0.tgz","_from":"file:allincart-ag-meteor-tokens-1.1.0.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-S9bj4ReCyhUTI4NB4+nuzcLJBQ5HzWzZFNngbrvsyJxFmpiZHABqv5/a/NqwrUJG0B31/JmEQRny57n4xOwCIw==","shasum":"4c5d8c7e3f3645fe3cee71ae345ebeb5812a9f1d","tarball":"https://registry.npmjs.org/@allincart-ag/meteor-tokens/-/meteor-tokens-1.1.0.tgz","fileCount":9,"unpackedSize":54701,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCKy7JTM5Ngp+tQISeNCQnSvuH5L7R8xRud+RPhrS3kgwIhAPnwSOiI/UgCXzpTXV1tASQNNP7Yp8DOMT/bfDSLfzl8"}]},"_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.0_1746192971839_0.6671472304806925"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-05T00:35:08.944Z","modified":"2025-05-02T13:36:12.228Z","1.0.0":"2025-04-05T00:35:09.271Z","1.1.0":"2025-05-02T13:36:12.040Z"},"bugs":{"url":"https://github.com/allincart-org/meteor/issues"},"author":{"name":"shopware AG"},"license":"MIT","homepage":"https://github.com/allincart-org/meteor#readme","repository":{"type":"git","url":"git+ssh://git@github.com/allincart-org/meteor.git"},"description":"Design Tokens for the Meteor Design System used at allincart","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 @allincart-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 '@allincart-ag/meteor-tokens/administration/light.css';\n\n// If you want to support dark mode\nimport '@allincart-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"}