{"_id":"@astryx-svelte/theme-y2k","_rev":"5-df4f8c5b363f779c9dbe38daef59c4a5","name":"@astryx-svelte/theme-y2k","dist-tags":{"latest":"0.5.2"},"versions":{"0.3.0":{"name":"@astryx-svelte/theme-y2k","version":"0.3.0","license":"MIT","_id":"@astryx-svelte/theme-y2k@0.3.0","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"a36d7e029df205e6dbc13db47e0c7c6040636c2c","tarball":"https://registry.npmjs.org/@astryx-svelte/theme-y2k/-/theme-y2k-0.3.0.tgz","fileCount":11,"integrity":"sha512-eGVUg+a1LN0wTRMxN9RE/VJwhgwOSvy3HHhMzxxL5FAmW6hIxFphidgW6ShvhwP+dySibBAQ5tWWCKpcnEDx1Q==","signatures":[{"sig":"MEUCIQCOLorVYsOWcXsZQ4vL6K/n1PT6RFTfscUCOfkBRgzk5AIgOQjSHZItscVrbGBuLoo46JTFsnwD54jXFkt+uo0Jxqs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88554},"type":"module","_from":"file:astryx-svelte-theme-y2k-0.3.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js","svelte":"./dist/tokens.js"},"./theme.css":"./dist/theme.css"},"scripts":{"lint":"prettier --check .","test":"npm run build && npm run test:parity && npm run test:icons","build":"node --experimental-strip-types scripts/build-theme.mjs","check":"tsc --noEmit -p tsconfig.json","format":"prettier --write .","test:icons":"node scripts/check-icons.mjs","test:parity":"node scripts/compare-upstream.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/2bd29f20769391a1cfb920cfbb7c4c6c/astryx-svelte-theme-y2k-0.3.0.tgz","_integrity":"sha512-eGVUg+a1LN0wTRMxN9RE/VJwhgwOSvy3HHhMzxxL5FAmW6hIxFphidgW6ShvhwP+dySibBAQ5tWWCKpcnEDx1Q==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/themes/y2k"},"_npmVersion":"10.9.8","description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@lucide/svelte":"^1.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.56.1","prettier":"^3.8.3","typescript":"^6.0.3","@astryx-svelte/core":"0.3.0","prettier-plugin-svelte":"^4.1.0","@astryxdesign/theme-y2k":"0.3.0"},"peerDependencies":{"svelte":"^5.0.0","@astryx-svelte/core":"^0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/theme-y2k_0.3.0_1786380840516_0.06903262014893707","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@astryx-svelte/theme-y2k","version":"0.3.1","license":"MIT","_id":"@astryx-svelte/theme-y2k@0.3.1","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"196d4c2b082b194bcfefdb64092949300e7ba97b","tarball":"https://registry.npmjs.org/@astryx-svelte/theme-y2k/-/theme-y2k-0.3.1.tgz","fileCount":11,"integrity":"sha512-VPK7m46SuZDlfO6gvyn+qmjOUvz1zLaEvZXmL0JCSiwtBJr+68Y/s7BQqW4l/cwQe6zuAQRjv8WIwjpRCL+ZzA==","signatures":[{"sig":"MEYCIQCcHN3p4TQyPXmm+fR0w9iEHpdMMkmLjhXhlvfMC0eTEwIhAJfuJDam7g+lX6wJR7WwJBwG9Mz4Ih3IMcjzqRFOcWCJ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88583},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-theme-y2k-0.3.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js","svelte":"./dist/tokens.js"},"./theme.css":"./dist/theme.css"},"scripts":{"lint":"prettier --check .","test":"npm run build && npm run test:parity && npm run test:icons","build":"node --experimental-strip-types scripts/build-theme.mjs","check":"tsc --noEmit -p tsconfig.json","format":"prettier --write .","test:icons":"node scripts/check-icons.mjs","test:parity":"node scripts/compare-upstream.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/803040bac2ad0debc8f203cad7de653c/astryx-svelte-theme-y2k-0.3.1.tgz","_integrity":"sha512-VPK7m46SuZDlfO6gvyn+qmjOUvz1zLaEvZXmL0JCSiwtBJr+68Y/s7BQqW4l/cwQe6zuAQRjv8WIwjpRCL+ZzA==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/themes/y2k"},"_npmVersion":"10.9.8","description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@lucide/svelte":"^1.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.56.1","prettier":"^3.8.3","typescript":"^6.0.3","@astryx-svelte/core":"0.3.1","prettier-plugin-svelte":"^4.1.0","@astryxdesign/theme-y2k":"0.3.0"},"peerDependencies":{"svelte":"^5.0.0","@astryx-svelte/core":"^0.3.1"},"_npmOperationalInternal":{"tmp":"tmp/theme-y2k_0.3.1_1786402105378_0.2757435058153688","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@astryx-svelte/theme-y2k","version":"0.4.1","license":"MIT","_id":"@astryx-svelte/theme-y2k@0.4.1","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"650c6fa98844a9a372901bf54647014acc31a4b8","tarball":"https://registry.npmjs.org/@astryx-svelte/theme-y2k/-/theme-y2k-0.4.1.tgz","fileCount":11,"integrity":"sha512-TDTPi08TbflsRUjYycfvhokow8sbp53T8JbmB1JzwaaiXz2b88/VJwHqesZ/zsWoBKY96yEvKyo6DMZgBNa02A==","signatures":[{"sig":"MEUCIQCwtU2zPRJOUck5CbdwvomLpFe9OuwEv7opWehP4aAYOwIgN8Q724qFF2UfZSkuVZhXEVIVseMdEoi/+M1cGuwAmWo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89606},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-theme-y2k-0.4.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js","svelte":"./dist/tokens.js"},"./theme.css":"./dist/theme.css"},"scripts":{"lint":"prettier --check .","test":"npm run build && npm run test:parity && npm run test:icons","build":"node --experimental-strip-types scripts/build-theme.mjs","check":"tsc --noEmit -p tsconfig.json","format":"prettier --write .","test:icons":"node scripts/check-icons.mjs","test:parity":"node scripts/compare-upstream.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/45a09fdab317a787b6d989c56d6f5145/astryx-svelte-theme-y2k-0.4.1.tgz","_integrity":"sha512-TDTPi08TbflsRUjYycfvhokow8sbp53T8JbmB1JzwaaiXz2b88/VJwHqesZ/zsWoBKY96yEvKyo6DMZgBNa02A==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/themes/y2k"},"_npmVersion":"10.9.8","description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@lucide/svelte":"^1.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.56.1","prettier":"^3.8.3","typescript":"^6.0.3","@astryx-svelte/core":"0.4.1","prettier-plugin-svelte":"^4.1.0","@astryxdesign/theme-y2k":"0.4.1"},"peerDependencies":{"svelte":"^5.0.0","@astryx-svelte/core":"^0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/theme-y2k_0.4.1_1786871780117_0.4999900754855948","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@astryx-svelte/theme-y2k","version":"0.4.5","license":"MIT","_id":"@astryx-svelte/theme-y2k@0.4.5","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"homepage":"https://github.com/devrohit06/astryx-svelte#readme","bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"dist":{"shasum":"93bf9d2d8e12dd0ef0ec7b05bf38a55e432c940a","tarball":"https://registry.npmjs.org/@astryx-svelte/theme-y2k/-/theme-y2k-0.4.5.tgz","fileCount":11,"integrity":"sha512-tuvZcnuOHGA+Ow3+8KMPtFyw6cSmKj/zR/d5UKVKsoNQg/r36bqqFOUduN6cSmlQSe89nGUWozH9bB2qkqvzog==","signatures":[{"sig":"MEUCIQCiDXO/iB6wCCwWnE3WGssNxIH+rPssQLa7Ae/Tr2GhvAIgXgghejmbjp4d/o3B6SlHqQPNuzyyeg3HW8g+Cb2BicY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90111},"main":"./dist/index.js","type":"module","_from":"file:astryx-svelte-theme-y2k-0.4.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","svelte":"./dist/index.js"},"./tokens":{"types":"./dist/tokens.d.ts","import":"./dist/tokens.js","svelte":"./dist/tokens.js"},"./theme.css":"./dist/theme.css"},"scripts":{"lint":"prettier --check .","test":"npm run build && npm run test:parity && npm run test:icons","build":"node --experimental-strip-types scripts/build-theme.mjs","check":"tsc --noEmit -p tsconfig.json","format":"prettier --write .","test:icons":"node scripts/check-icons.mjs","test:parity":"node scripts/compare-upstream.mjs"},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"_resolved":"/tmp/65bd36e3d571944d1a5e24d63a1e88db/astryx-svelte-theme-y2k-0.4.5.tgz","_integrity":"sha512-tuvZcnuOHGA+Ow3+8KMPtFyw6cSmKj/zR/d5UKVKsoNQg/r36bqqFOUduN6cSmlQSe89nGUWozH9bB2qkqvzog==","repository":{"url":"git+https://github.com/devrohit06/astryx-svelte.git","type":"git","directory":"packages/themes/y2k"},"_npmVersion":"10.9.8","description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@lucide/svelte":"^1.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"svelte":"^5.56.1","prettier":"^3.8.3","typescript":"^6.0.3","@astryx-svelte/core":"0.4.5","prettier-plugin-svelte":"^4.1.0","@astryxdesign/theme-y2k":"0.4.5"},"peerDependencies":{"svelte":"^5.0.0","@astryx-svelte/core":"^0.4.5"},"_npmOperationalInternal":{"tmp":"tmp/theme-y2k_0.4.5_1787264408023_0.9185035937457313","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@astryx-svelte/theme-y2k","version":"0.5.2","description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/devrohit06/astryx-svelte.git","directory":"packages/themes/y2k"},"bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"homepage":"https://github.com/devrohit06/astryx-svelte#readme","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","svelte":"./dist/index.js","import":"./dist/index.js"},"./tokens":{"types":"./dist/tokens.d.ts","svelte":"./dist/tokens.js","import":"./dist/tokens.js"},"./theme.css":"./dist/theme.css"},"dependencies":{"@lucide/svelte":"^1.25.0"},"peerDependencies":{"svelte":"^5.0.0","@astryx-svelte/core":"^0.5.2"},"devDependencies":{"@astryxdesign/theme-y2k":"0.5.2","prettier":"^3.8.3","prettier-plugin-svelte":"^4.1.0","svelte":"^5.56.1","typescript":"^6.0.3","@astryx-svelte/core":"0.5.2"},"scripts":{"build":"node --experimental-strip-types scripts/build-theme.mjs","check":"tsc --noEmit -p tsconfig.json","lint":"prettier --check .","format":"prettier --write .","test:parity":"node scripts/compare-upstream.mjs","test:icons":"node scripts/check-icons.mjs","test":"npm run build && npm run test:parity && npm run test:icons"},"_id":"@astryx-svelte/theme-y2k@0.5.2","types":"./dist/index.d.ts","_integrity":"sha512-qF32IxQKuPsFpo9fo75z/7cOfbXkxF6dNaX5adINZLBsER60j1hqXlN4YW6e8sKSIenbaRp3bf5XTSjmuT4SVA==","_resolved":"/tmp/73cb110ad0cb9b3e5c9c8159c3794d85/astryx-svelte-theme-y2k-0.5.2.tgz","_from":"file:astryx-svelte-theme-y2k-0.5.2.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-qF32IxQKuPsFpo9fo75z/7cOfbXkxF6dNaX5adINZLBsER60j1hqXlN4YW6e8sKSIenbaRp3bf5XTSjmuT4SVA==","shasum":"58ab23d16228052e44b48924c18564a893712c52","tarball":"https://registry.npmjs.org/@astryx-svelte/theme-y2k/-/theme-y2k-0.5.2.tgz","fileCount":11,"unpackedSize":93360,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDaOYmSY+lYIakFfqflELIeJaHFlNR3jOqqXSnXrt3UugIgQiTY2VGymmJUp8p+j5cQ37hojAp5eA8HRIzd6+LcCUs="}]},"_npmUser":{"name":"devrohit06","email":"technicalrohit06@gmail.com"},"directories":{},"maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/theme-y2k_0.5.2_1788304798107_0.8334251403888027"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-10T16:54:00.339Z","modified":"2026-09-01T23:19:58.409Z","0.3.0":"2026-08-10T16:54:00.685Z","0.3.1":"2026-08-10T22:48:25.522Z","0.4.1":"2026-08-16T09:16:20.273Z","0.4.5":"2026-08-20T22:20:08.185Z","0.5.2":"2026-09-01T23:19:58.236Z"},"bugs":{"url":"https://github.com/devrohit06/astryx-svelte/issues"},"license":"MIT","homepage":"https://github.com/devrohit06/astryx-svelte#readme","repository":{"type":"git","url":"git+https://github.com/devrohit06/astryx-svelte.git","directory":"packages/themes/y2k"},"description":"Y2K theme for astryx-svelte — hot pinks, lime greens, and Poppins.","maintainers":[{"name":"devrohit06","email":"technicalrohit06@gmail.com"}],"readme":"# @astryx-svelte/theme-y2k\n\nHot pinks, lime greens, and Poppins.\n\nA theme for [astryx-svelte](https://github.com/devrohit06/astryx-svelte) — a Svelte 5 port of [Astryx](https://astryx.atmeta.com/),\nMeta's open source design system. Unofficial, and not affiliated with Meta.\n\n## Install\n\n```bash\nnpm install @astryx-svelte/core @astryx-svelte/theme-y2k\n```\n\n`@stylexjs/stylex` is a peer dependency and npm and pnpm install it for you. It is required at\nruntime — the components reach `stylex.props()` through `sx()` — so add it explicitly if your\npackage manager does not resolve peers automatically.\n\n`@astryx-svelte/core` is a peer dependency. A theme is data plus one stylesheet; it renders\nnothing on its own.\n\n## Use\n\n```css\n/* src/app.css */\n@import '@astryx-svelte/core/base.css';\n@import '@astryx-svelte/theme-y2k/theme.css';\n```\n\n```svelte\n<!-- src/routes/+layout.svelte -->\n<script lang=\"ts\">\n\timport { Theme } from '@astryx-svelte/core';\n\timport { y2kTheme } from '@astryx-svelte/theme-y2k';\n\timport '../app.css';\n\n\tconst { children } = $props();\n</script>\n\n<Theme theme={y2kTheme}>\n\t{@render children()}\n</Theme>\n```\n\n`base.css` is not optional and is not a duplicate: it declares the cascade layer order and sets\n`color-scheme`, without which every `light-dark()` token is inert. And **your bundler must run the\nStyleX compiler** over `@astryx-svelte/core`, which is the one setup step that fails without an\nerror — the components render, unstyled. See\n[core's README](https://github.com/devrohit06/astryx-svelte/tree/main/packages/core#your-bundler-must-run-the-stylex-compiler).\n\n## Exports\n\n| Export                               | What it is                                                                                                                                                                 |\n| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `y2kTheme`                           | The theme object, pre-built. It carries `__built`, so `<Theme>` injects no CSS at runtime.                                                                                 |\n| `y2kIconRegistry`                    | The 28 semantic icon names mapped to Lucide glyphs. Already attached to `y2kTheme.icons`; exported separately for `registerIcons()` and for composing a theme of your own. |\n| `@astryx-svelte/theme-y2k/tokens`    | The same theme as plain data, without `icons`, in a module that imports nothing. Readable by plain Node, which the `.` entry is not — it reaches a `.svelte` registry.     |\n| `@astryx-svelte/theme-y2k/theme.css` | The pre-built stylesheet.                                                                                                                                                  |\n\n## Fidelity\n\nThe theme oracle (`scripts/compare-upstream.mjs`) diffs this package's generated CSS\ndeclaration by declaration against the published `@astryxdesign/theme-y2k` tarball, in\n**both** directions — a missing declaration, a wrong value and an invented one all fail the\nrun. Every declaration matches, at **0 mismatches**.\n\nThe run prints the totals; this paragraph deliberately does not, because a count written into\nprose goes stale quietly and these ones had. Where the two totals differ, the remainder is the\n`color-scheme` rules that `@astryx-svelte/core`'s `base.css` owns rather than the theme. A\ndark-only theme declares no `[light, dark]` pairs, so upstream emits no `html[data-theme=…]`\nblock for it and the totals are equal.\n\n## Resources\n\n- [The documentation site](https://astryx-svelte.rohitk06.in/themes) — every theme rendered live,\n  side by side\n- [Astryx](https://astryx.atmeta.com/) — the design system this ports\n- [The repository](https://github.com/devrohit06/astryx-svelte)\n\n## License\n\nMIT. Astryx is © Meta Platforms, Inc. and affiliates; this project ports its design and reuses its\ndocumentation prose, and claims no affiliation or endorsement.\n","readmeFilename":"README.md"}