{"_id":"@agilxp/dark-mode-toggle","_rev":"4-9a6518fb013ba4adab109a5c3e621234","name":"@agilxp/dark-mode-toggle","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.1":{"name":"@agilxp/dark-mode-toggle","version":"0.1.1","description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","private":false,"devDependencies":{"@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.5","@storybook/addon-essentials":"^7.5.3","@storybook/addon-interactions":"^7.5.3","@storybook/addon-links":"^7.5.3","@storybook/addon-onboarding":"^1.0.8","@storybook/blocks":"^7.5.3","@storybook/react":"^7.5.3","@storybook/react-webpack5":"^7.5.3","@storybook/testing-library":"^0.2.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.1","@types/jest":"^29.5.10","@types/react":"^18.2.38","autoprefixer":"^10.4.16","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","postcss":"^8.4.31","postcss-loader":"^7.3.3","react":"^18.2.0","react-dom":"^18.2.0","rollup":"^4.5.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","storybook":"^7.5.3","tslib":"^2.6.2","tailwindcss":"^3.3.5","typescript":"^5.3.2"},"peerDependencies":{"@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","react":"^18.2.0","react-dom":"^18.2.0","tailwindcss":"^3.3.5"},"resolutions":{"jackspeak":"2.1.1"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c --bundleConfigAsCjs","storybook":"storybook dev -p 6006","build-storybook":"storybook build","test":"jest"},"licenseText":"MIT License\n\nCopyright (c) 2023 Agilxp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@agilxp/dark-mode-toggle@0.1.1","dist":{"shasum":"5b82d70181e1381ef90bc8471cee326d1225a831","integrity":"sha512-EptnS1Ka1GLf6hadOUUoYARqAJzvxPUqWvE7VRqCVdHHm7A7ymLxuEK9oRse8kNkU6oWLBR1hSVokSROVFbIcw==","tarball":"https://registry.npmjs.org/@agilxp/dark-mode-toggle/-/dark-mode-toggle-0.1.1.tgz","fileCount":36,"unpackedSize":27052,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdDdzoz/FuvjWyRf2DMd2mw0tyo9VWZk1KZHeL5jCNbAiBeA56xhonn18IZYVQHdn2msyAiXhcPNAgQ2zae+tPx8g=="}]},"_npmUser":{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"},"directories":{},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dark-mode-toggle_0.1.1_1700833557474_0.2874203260322734"},"_hasShrinkwrap":false},"0.1.2":{"name":"@agilxp/dark-mode-toggle","version":"0.1.2","description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","private":false,"devDependencies":{"@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.5","@storybook/addon-essentials":"^7.5.3","@storybook/addon-interactions":"^7.5.3","@storybook/addon-links":"^7.5.3","@storybook/addon-onboarding":"^1.0.8","@storybook/blocks":"^7.5.3","@storybook/react":"^7.5.3","@storybook/react-webpack5":"^7.5.3","@storybook/testing-library":"^0.2.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.1","@types/jest":"^29.5.10","@types/react":"^18.2.38","autoprefixer":"^10.4.16","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","postcss":"^8.4.31","postcss-loader":"^7.3.3","react":"^18.2.0","react-dom":"^18.2.0","rollup":"^4.5.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","storybook":"^7.5.3","tailwindcss":"^3.3.5","tslib":"^2.6.2","typescript":"^5.3.2"},"peerDependencies":{"@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","react":"^18.2.0","react-dom":"^18.2.0","tailwindcss":"^3.3.5"},"resolutions":{"jackspeak":"2.1.1"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c --bundleConfigAsCjs","storybook":"storybook dev -p 6006","build-storybook":"storybook build","test":"jest"},"licenseText":"MIT License\n\nCopyright (c) 2023 Agilxp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@agilxp/dark-mode-toggle@0.1.2","dist":{"shasum":"d4d8b6590934547e7de19272811a447f91f6e5ea","integrity":"sha512-KeWs7COFuEjci/sZxUINZSzV94WTcWK8h+F5rq9jOnR6yi4UEUjml0xpf3kxo2iE9/nwuMBUpLdsa5njKMOL5w==","tarball":"https://registry.npmjs.org/@agilxp/dark-mode-toggle/-/dark-mode-toggle-0.1.2.tgz","fileCount":36,"unpackedSize":29027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZn3RpnxHCRQuvbhjds+Dr0TadkPsPb3rHRFF6pNZxeAiAVuKvAX6j70gTw/YtlpO4KZ3MKjOPK1W+FhdTKiiaOVQ=="}]},"_npmUser":{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"},"directories":{},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dark-mode-toggle_0.1.2_1700849737734_0.4600949515267809"},"_hasShrinkwrap":false},"0.1.3":{"name":"@agilxp/dark-mode-toggle","version":"0.1.3","description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","private":false,"devDependencies":{"@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.5","@storybook/addon-essentials":"^7.5.3","@storybook/addon-interactions":"^7.5.3","@storybook/addon-links":"^7.5.3","@storybook/addon-onboarding":"^1.0.8","@storybook/blocks":"^7.5.3","@storybook/react":"^7.5.3","@storybook/react-webpack5":"^7.5.3","@storybook/testing-library":"^0.2.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.1","@types/jest":"^29.5.10","@types/react":"^18.2.38","autoprefixer":"^10.4.16","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","postcss":"^8.4.31","postcss-loader":"^7.3.3","react":"^18.2.0","react-dom":"^18.2.0","rollup":"^4.5.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","storybook":"^7.5.3","tailwindcss":"^3.3.5","tslib":"^2.6.2","typescript":"^5.3.2"},"peerDependencies":{"@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","react":"^18.2.0","react-dom":"^18.2.0","tailwindcss":"^3.3.5"},"resolutions":{"jackspeak":"2.1.1"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c --bundleConfigAsCjs","storybook":"storybook dev -p 6006","build-storybook":"storybook build","test":"jest"},"licenseText":"MIT License\n\nCopyright (c) 2023 Agilxp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@agilxp/dark-mode-toggle@0.1.3","dist":{"shasum":"9ac036ffacdfa9ff89629a04ab53300849a8b62e","integrity":"sha512-c7vPdYG3YSyD+fTkSR9iFn8oZeitWR7KlNv34z/B+qZYf9EdIGBOJfqVOeMS/x7abn/8n1kXZ0ScRraDfOp2mA==","tarball":"https://registry.npmjs.org/@agilxp/dark-mode-toggle/-/dark-mode-toggle-0.1.3.tgz","fileCount":36,"unpackedSize":29027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfgocdToUhQG1UEANUe1TuSs/fMRBeIptNK9uwdCWh2AiAJfk3EyMCbJC+7Q1PNr5dox6kDsv5ioQguwET4XGVmqQ=="}]},"_npmUser":{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"},"directories":{},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dark-mode-toggle_0.1.3_1700852545339_0.3078972349748723"},"_hasShrinkwrap":false},"0.1.4":{"name":"@agilxp/dark-mode-toggle","version":"0.1.4","description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","private":false,"devDependencies":{"@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.5","@storybook/addon-essentials":"^7.5.3","@storybook/addon-interactions":"^7.5.3","@storybook/addon-links":"^7.5.3","@storybook/addon-onboarding":"^1.0.8","@storybook/blocks":"^7.5.3","@storybook/react":"^7.5.3","@storybook/react-webpack5":"^7.5.3","@storybook/testing-library":"^0.2.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.1","@types/jest":"^29.5.10","@types/react":"^18.2.38","autoprefixer":"^10.4.16","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","postcss":"^8.4.31","postcss-loader":"^7.3.3","react":"^18.2.0","react-dom":"^18.2.0","rollup":"^4.5.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","storybook":"^7.5.3","tailwindcss":"^3.3.5","tslib":"^2.6.2","typescript":"^5.3.2"},"peerDependencies":{"@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","react":"^18.2.0","react-dom":"^18.2.0","tailwindcss":"^3.3.5"},"resolutions":{"jackspeak":"2.1.1"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c --bundleConfigAsCjs","storybook":"storybook dev -p 6006","build-storybook":"storybook build","test":"jest"},"licenseText":"MIT License\n\nCopyright (c) 2023 Agilxp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@agilxp/dark-mode-toggle@0.1.4","dist":{"shasum":"b23c221798c58265858a1bc78300a6ceb473c9b2","integrity":"sha512-EYQA/uRQs9O8RKdryaEh3bo56nbrN0JIMe2Lj9zI36fqTsOlHNrOUIUUPvm81NQLVu8ber1FmYKDTGY5KydvIQ==","tarball":"https://registry.npmjs.org/@agilxp/dark-mode-toggle/-/dark-mode-toggle-0.1.4.tgz","fileCount":32,"unpackedSize":29243,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbE/ninAfM2Hh4Owr6RARl2UOvXkTASUuoG+k9NTlXBgIhAIUL80gcyfN7yX5OwIQfm55aHdddZvNavKTWaPaKn5n1"}]},"_npmUser":{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"},"directories":{},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dark-mode-toggle_0.1.4_1700940576084_0.9724651631682038"},"_hasShrinkwrap":false},"0.1.5":{"name":"@agilxp/dark-mode-toggle","version":"0.1.5","description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","private":false,"devDependencies":{"@babel/preset-env":"^7.23.3","@babel/preset-react":"^7.23.3","@babel/preset-typescript":"^7.23.3","@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.5","@storybook/addon-essentials":"^7.5.3","@storybook/addon-interactions":"^7.5.3","@storybook/addon-links":"^7.5.3","@storybook/addon-onboarding":"^1.0.8","@storybook/blocks":"^7.5.3","@storybook/react":"^7.5.3","@storybook/react-webpack5":"^7.5.3","@storybook/testing-library":"^0.2.2","@testing-library/jest-dom":"^6.1.4","@testing-library/react":"^14.1.2","@testing-library/user-event":"^14.5.1","@types/jest":"^29.5.10","@types/react":"^18.2.38","autoprefixer":"^10.4.16","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","postcss":"^8.4.31","postcss-loader":"^7.3.3","react":"^18.2.0","react-dom":"^18.2.0","rollup":"^4.5.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-terser":"^7.0.2","storybook":"^7.5.3","tailwindcss":"^3.3.5","tslib":"^2.6.2","typescript":"^5.3.2"},"peerDependencies":{"@headlessui/react":"^1.7.17","@heroicons/react":"^2.0.18","react":"^18.2.0","react-dom":"^18.2.0","tailwindcss":"^3.3.5"},"resolutions":{"jackspeak":"2.1.1"},"main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","scripts":{"build":"rollup -c --bundleConfigAsCjs","storybook":"storybook dev -p 6006","build-storybook":"storybook build","test":"jest"},"licenseText":"MIT License\n\nCopyright (c) 2023 Agilxp\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@agilxp/dark-mode-toggle@0.1.5","dist":{"shasum":"bf3f9faf469d5ca62c974af84e9ef4e1306371a0","integrity":"sha512-eT1n45bvZ1it32y7rcPbMpWGO9VrxSbzDW70pBVthyvkK5sajkSSdnB1vyg9zqLwPvuXnxGuA/WKOVNPys5jFQ==","tarball":"https://registry.npmjs.org/@agilxp/dark-mode-toggle/-/dark-mode-toggle-0.1.5.tgz","fileCount":32,"unpackedSize":29524,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN52nToR2hv5wSCQnyOgaSh0RYGdhAc6mSsIBhueYb2gIhAN9D/5ronQqCPEPRS+XK+qXfzN+22gxY0mVbE0U4k8Y3"}]},"_npmUser":{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"},"directories":{},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dark-mode-toggle_0.1.5_1700941386529_0.33458017301964205"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-24T13:45:57.355Z","0.1.1":"2023-11-24T13:45:57.648Z","modified":"2023-11-25T19:43:06.964Z","0.1.2":"2023-11-24T18:15:37.933Z","0.1.3":"2023-11-24T19:02:25.567Z","0.1.4":"2023-11-25T19:29:36.289Z","0.1.5":"2023-11-25T19:43:06.721Z"},"maintainers":[{"name":"agilxpgeoffrey","email":"geoffrey@agilxp.com"}],"description":"React component to toggle dark mode","repository":{"type":"git","url":"git@github.com:Agilxp/DarkModeToggle.git"},"author":{"name":"Geoffrey Rekier","email":"geoffrey@agilxp.com"},"license":"MIT","readme":"# DarkModeToggle\n\n## What is it?\n\nA component you can use to toggle dark mode in a React app based on Tailwind class toggling.\n\n## Getting started\n\n### Requirements\n\nThe component uses `@heroicons/react` and `@headlessui/react`. It also assumes that you are using Tailwind and have it\nproperly configured.\n\n### Usage\n\n```Bash\nnpm install --save DarkModeToggle\nor\nyarn add DarkModeToggle\n```\n\nChange the `tailwind.config.js` to\n\n```javascript\n/** @type {import('tailwindcss').Config} */\nmodule.exports = {\n    // ...\n    darkMode: 'class',\n    // ...\n}\n```\n\nAnd add the component where you want to toggle light/dark mode with\n\n```typescript jsx\nimport DarkModeToggle from 'DarkModeToggle';\n\n<DarkModeToggle/>\n```\n\n## Properties\nAll props are optionals and used to override a default.\n\n| prop name  | default             |\n|------------|---------------------|\n| lightIcon  | SunIcon             |\n| darkIcon   | MoonIcon            |\n| systemIcon | ComputerDesktopIcon |\n\n\n## Capabilities\n\nThere are 3 possibilities when toggling:\n- light mode\n- dark mode\n- system (this will change based on the system preferences)\n\nIt uses media query to check the system settings and local storage to save an eventual override.\nThis means that users will have their choices saved on the next visit.","readmeFilename":"README.md"}