{"id":13506575,"url":"https://github.com/nuxt-modules/color-mode","last_synced_at":"2026-01-12T05:36:56.251Z","repository":{"id":37084772,"uuid":"255600899","full_name":"nuxt-modules/color-mode","owner":"nuxt-modules","description":"Dark and Light mode with auto detection made easy with Nuxt 🌗","archived":false,"fork":false,"pushed_at":"2026-01-01T10:47:00.000Z","size":4506,"stargazers_count":1200,"open_issues_count":59,"forks_count":118,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-03T22:22:39.521Z","etag":null,"topics":["color-scheme","dark-mode","dark-theme","nuxt-module"],"latest_commit_sha":null,"homepage":"https://color-mode.nuxtjs.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuxt-modules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-14T12:18:47.000Z","updated_at":"2026-01-03T06:20:34.000Z","dependencies_parsed_at":"2024-02-26T20:31:08.388Z","dependency_job_id":"ec485ccf-cc6b-4954-83ef-22efe1c6ed87","html_url":"https://github.com/nuxt-modules/color-mode","commit_stats":{"total_commits":196,"total_committers":27,"mean_commits":"7.2592592592592595","dds":0.5765306122448979,"last_synced_commit":"978847eb6d12400bf0bbde29af83ed00892fc8b1"},"previous_names":["nuxt-community/color-mode-module"],"tags_count":49,"template":false,"template_full_name":null,"purl":"pkg:github/nuxt-modules/color-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fcolor-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fcolor-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fcolor-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fcolor-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuxt-modules","download_url":"https://codeload.github.com/nuxt-modules/color-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuxt-modules%2Fcolor-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28335219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["color-scheme","dark-mode","dark-theme","nuxt-module"],"created_at":"2024-08-01T01:00:53.998Z","updated_at":"2026-01-12T05:36:56.246Z","avatar_url":"https://github.com/nuxt-modules.png","language":"TypeScript","readme":"[![@nuxtjs/color-mode](https://color-mode.nuxtjs.org/social-card.jpg)](https://color-mode.nuxtjs.org)\n\n# Nuxt Color Mode\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\u003ca href=\"https://volta.net/nuxt-modules/color-mode?utm_source=nuxt_color_mode_readme\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg\" alt=\"Volta board\"\u003e\u003c/a\u003e\n\n🌑 Dark and 🌕 Light mode with auto detection made easy with Nuxt.\n\n[![nuxt-color-mode](https://user-images.githubusercontent.com/904724/79349768-f09cf080-7f36-11ea-93bb-20fae8c94811.gif)](https://color-mode.nuxt.dev//)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://color-mode.nuxt.dev/\"\u003eLive demo\u003c/a\u003e\n\u003c/p\u003e\n\n- [✨ \u0026nbsp;Release Notes](https://github.com/nuxt-modules/color-mode/releases)\n- [📖 \u0026nbsp;Documentation](https://color-mode.nuxtjs.org)\n- [▶️ \u0026nbsp;Online playground](https://stackblitz.com/edit/nuxt-color-mode)\n\n## Features\n\n- Add `.${color}` class to `\u003chtml\u003e` for easy CSS theming\n- Force a page to a specific color mode (perfect for incremental development)\n- Works with client-side and universal rendering\n- Auto detect system [color-mode](https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-color-mode)\n\n[📖 \u0026nbsp;Read more](https://color-mode.nuxtjs.org)\n\n**Note**: v4 of `@nuxtjs/color-mode` is compatible with [Nuxt 3+](https://nuxt.com). If you're looking for the previous version of this module, check out [the previous docs](https://v2.color-mode.nuxtjs.org/), or [read more about the differences](https://color-mode.nuxtjs.org/#migrating-to-v3).\n\n## Contributing\n\nYou can contribute to this module online with CodeSandBox:\n\n[![Edit @nuxtjs/color-mode](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/nuxt-modules/color-mode/tree/main/?fontsize=14\u0026hidenavigation=1\u0026theme=dark)\n\nOr locally:\n\n1. Clone this repository\n2. Install dependencies using `pnpm install`\n3. Start development server using `pnpm dev`\n\n## License\n\n[MIT License](./LICENSE)\n\nCopyright (c) Nuxt Team\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/color-mode/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/@nuxtjs/color-mode\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/color-mode.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/color-mode\n\n[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-modules/color-mode.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[codecov-href]: https://codecov.io/gh/nuxt-modules/color-mode\n\n[license-src]: https://img.shields.io/npm/l/@nuxtjs/color-mode.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/@nuxtjs/color-mode\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","funding_links":[],"categories":["Uncategorized","TypeScript","others"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fcolor-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuxt-modules%2Fcolor-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuxt-modules%2Fcolor-mode/lists"}