{"id":16949612,"url":"https://github.com/trezy/react-color-mode","last_synced_at":"2026-04-16T11:36:18.469Z","repository":{"id":73689885,"uuid":"323677984","full_name":"trezy/react-color-mode","owner":"trezy","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-14T03:48:38.000Z","size":561,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-03T22:57:36.078Z","etag":null,"topics":["colormode","darkmode","lightmode","nextjs","reactjs"],"latest_commit_sha":null,"homepage":"https://react-color-mode.trezy.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trezy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-22T16:28:45.000Z","updated_at":"2024-07-14T03:48:42.000Z","dependencies_parsed_at":"2025-02-20T03:33:27.457Z","dependency_job_id":"e04abefb-4117-4b3c-ad06-8f6cbe8bb669","html_url":"https://github.com/trezy/react-color-mode","commit_stats":null,"previous_names":["trezy/next-color-mode"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/trezy/react-color-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Freact-color-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Freact-color-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Freact-color-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Freact-color-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trezy","download_url":"https://codeload.github.com/trezy/react-color-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trezy%2Freact-color-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31884275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colormode","darkmode","lightmode","nextjs","reactjs"],"created_at":"2024-10-13T21:55:37.112Z","updated_at":"2026-04-16T11:36:18.451Z","avatar_url":"https://github.com/trezy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003ereact-color-mode\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cp\u003eMake it easy to support your user's color mode preference, whether they like light mode, dark mode, or they want you to respect their system settings.\u003c/p\u003e\n\n  \u003chr /\u003e\n\u003c/div\u003e\n\n[![Version][version-badge]][package]\n[![BSD-3-Clause License][license-badge]][license]\n[![Downloads][downloads-badge]][npmtrends]\n[![Bundle size][bundlephobia-badge]][bundlephobia]\n\n[![Build status][build-status-badge]][build-status]\n[![Code Coverage][coveralls-badge]][coveralls]\n[![Dependencies][daviddm-badge]][daviddm]\n[![Maintainability][codeclimate-badge]][codeclimate]\n\n[![Code of Conduct][code-of-conduct-badge]][code-of-conduct]\n[![PRs Welcome][prs-badge]][prs]\n\n[![Watch on GitHub][github-watch-badge]][github-watch]\n[![Star on GitHub][github-star-badge]][github-star]\n[![Tweet][twitter-badge]][twitter]\n\n## Quick Start\n\n### Requirements\n\n* npm or Yarn\n* Node.js\n* React 16.8+\n\n### Installation\n\n```bash\nnpm install react-color-mode\n\n# OR\n\nyarn add react-color-mode\n```\n\n## Acknowledgments\n\n* Thanks to [@joshwcomeau](https://github.com/joshwcomeau) for his [excellent article](https://www.joshwcomeau.com/react/dark-mode/) on setting up dark mode in a React app.\n\n\n\n\n\n[bundlephobia]: https://bundlephobia.com/result?p=react-color-mode\n[bundlephobia-badge]: https://img.shields.io/bundlephobia/minzip/react-color-mode.svg?style=flat-square\n[build-status]: https://github.com/trezy/react-color-mode/actions\n[build-status-badge]: https://img.shields.io/github/workflow/status/trezy/react-color-mode/Release?style=flat-square\n[code-of-conduct]: CODE_OF_CONDUCT.md\n[code-of-conduct-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square\n[codeclimate]: https://codeclimate.com/github/trezy/react-color-mode\n[codeclimate-badge]: https://img.shields.io/codeclimate/maintainability/trezy/react-color-mode.svg?style=flat-square\n[coveralls]: https://coveralls.io/github/trezy/react-color-mode\n[coveralls-badge]: https://img.shields.io/coveralls/trezy/react-color-mode.svg?style=flat-square\n[daviddm]: https://david-dm.org/trezy/react-color-mode\n[daviddm-badge]: https://img.shields.io/david/dev/trezy/react-color-mode.svg?style=flat-square\n[downloads-badge]: https://img.shields.io/npm/dm/react-color-mode.svg?style=flat-square\n[github-watch]: https://github.com/trezy/react-color-mode/watchers\n[github-watch-badge]: https://img.shields.io/github/watchers/trezy/react-color-mode.svg?style=social\n[github-star]: https://github.com/trezy/react-color-mode/stargazers\n[github-star-badge]: https://img.shields.io/github/stars/trezy/react-color-mode.svg?style=social\n[license]: LICENSE\n[license-badge]: https://img.shields.io/npm/l/react-color-mode.svg?style=flat-square\n[npmtrends]: https://www.npmtrends.com/react-color-mode\n[package]: https://npmjs.com/package/react-color-mode\n[prs]: CONTRIBUTING.md\n[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square\n[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20react-color-mode%20by%20%40TrezyCodes%20https%3A%2F%2Fgithub.com%2Ftrezy%2Freact-color-mode%20%F0%9F%91%8D\n[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/trezy/react-color-mode.svg?style=social\n[version-badge]: https://img.shields.io/npm/v/react-color-mode.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrezy%2Freact-color-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrezy%2Freact-color-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrezy%2Freact-color-mode/lists"}