{"_rev":"10-9bca4a29abc5421d7ad3c6960aa3e4f4","time":{"created":"2026-02-11T16:42:40.702Z","modified":"2026-02-11T16:42:41.116Z","0.1.0-b.1":"2026-02-11T06:38:28.497Z","0.1.0":"2026-02-11T06:41:54.493Z","0.1.0-beta.1":"2026-02-11T14:25:58.116Z","0.1.0-beta.3":"2026-02-11T16:22:05.165Z","0.1.0-beta.2":"2026-02-11T16:42:40.919Z"},"_id":"@0rbt/theme","name":"@0rbt/theme","dist-tags":{"beta":"0.1.0-beta.2","latest":"0.1.0-beta.2"},"versions":{"0.1.0-beta.2":{"name":"@0rbt/theme","version":"0.1.0-beta.2","type":"module","license":"MIT","author":{"name":"GTF","email":"dev@gottheflag.sa","url":"https://gottheflag.sa"},"description":"Theme state controller.","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js"},"./adapters":{"types":"./dist/adapters/index.d.ts","import":"./dist/adapters/index.js"}},"keywords":["orbit","theme","light","dark"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/0rbt/theme.git"},"bugs":{"url":"https://github.com/0rbt/theme/issues"},"homepage":"https://github.com/0rbt/theme#readme","devDependencies":{"@swc/core":"^1.15.11","@types/node":"^25","concurrently":"^9.2.1","terser":"^5.46.0","tsup":"^8.5","tsx":"^4.21","typescript":"^5.9","vite":"^7.3.1"},"scripts":{"dev":"concurrently -k -n TS,VITE -c blue,green \"tsc -p tsconfig.build.json --watch\" \"vite example\"","build":"tsup","typecheck":"tsc --noEmit"},"_id":"@0rbt/theme@0.1.0-beta.2","_integrity":"sha512-5NZi2twFLfCRh8M6UEdCvqWOrRB0lc/BDmIsiDt7c28Y0U6mhp8zN9yx9/zg2E2VvmCcCclt9msrRSZ+Q0xpMw==","_resolved":"/tmp/d925d41114ed9dd3b08e2c4d35a7080c/0rbt-theme-0.1.0-beta.2.tgz","_from":"file:0rbt-theme-0.1.0-beta.2.tgz","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-5NZi2twFLfCRh8M6UEdCvqWOrRB0lc/BDmIsiDt7c28Y0U6mhp8zN9yx9/zg2E2VvmCcCclt9msrRSZ+Q0xpMw==","shasum":"01472107ccfdebf36bf4fbb3d5dada6000f70224","tarball":"https://registry.npmjs.org/@0rbt/theme/-/theme-0.1.0-beta.2.tgz","fileCount":11,"unpackedSize":41802,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHLaGXkbGEj4CSlhfUz9WdZaPBeXQ8GEazTpkqtC+3dUAiEAzCry4SQDaOV+dXr8rxGQcO2MA5E+ubq6g1mbrTwWb5s="}]},"_npmUser":{"name":"0rbt","email":"khlidfitness2+orbit@gmail.com"},"directories":{},"maintainers":[{"name":"0rbt","email":"khlidfitness2+orbit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/theme_0.1.0-beta.2_1770828160787_0.21490574804922824"},"_hasShrinkwrap":false}},"maintainers":[{"name":"0rbt","email":"khlidfitness2+orbit@gmail.com"}],"description":"Theme state controller.","homepage":"https://github.com/0rbt/theme#readme","keywords":["orbit","theme","light","dark"],"repository":{"type":"git","url":"git+https://github.com/0rbt/theme.git"},"author":{"name":"GTF","email":"dev@gottheflag.sa","url":"https://gottheflag.sa"},"bugs":{"url":"https://github.com/0rbt/theme/issues"},"license":"MIT","readme":"# Theme controller\n\nA controller for managing the theming for applications.\n\n## Installation\n\n```sh\npnpm add @0rbt/theme\n```\n\n## Usage\n\n```js\nimport { Controller } from \"@0rbt/theme\";\nimport { Button } from \"@0rbt/theme/adapters\";\n\nconst ctl = new Controller(document, {\n\t// all configs are optional\n\tstorage: { key: \"theme\" },\n\tattribute: \"data-theme\",\n\tinitial: \"dark\",\n\tdark: \"dark\",\n\tlight: \"light\",\n\tsystem: \"system\",\n});\n\nctl.use(Button); // use adapters\n```","readmeFilename":"README.md"}