{"id":19522192,"url":"https://github.com/captaincodeman/sveltekit-dark-mode","last_synced_at":"2025-07-08T04:33:40.883Z","repository":{"id":50262050,"uuid":"518633817","full_name":"CaptainCodeman/sveltekit-dark-mode","owner":"CaptainCodeman","description":"Dark mode toggle using SvelteKit and TailwindCSS","archived":false,"fork":false,"pushed_at":"2022-12-31T18:40:42.000Z","size":213,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T04:37:49.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CaptainCodeman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-27T22:58:05.000Z","updated_at":"2025-04-05T14:14:22.000Z","dependencies_parsed_at":"2023-01-31T19:46:16.169Z","dependency_job_id":null,"html_url":"https://github.com/CaptainCodeman/sveltekit-dark-mode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CaptainCodeman/sveltekit-dark-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fsveltekit-dark-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fsveltekit-dark-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fsveltekit-dark-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fsveltekit-dark-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaptainCodeman","download_url":"https://codeload.github.com/CaptainCodeman/sveltekit-dark-mode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaptainCodeman%2Fsveltekit-dark-mode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712410,"owners_count":22900038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-11T00:37:37.870Z","updated_at":"2025-06-13T20:07:11.174Z","avatar_url":"https://github.com/CaptainCodeman.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"NOTE: See [svelte-theme-select](https://github.com/CaptainCodeman/svelte-theme-select) for a better, more complete package\n\n# sveltekit-dark-mode\n\nSimple example showing dark mode theme toggle using SvelteKit + TailwindCSS\n\n- Self contained in a single component\n- Includes a simple icon toggle plus an animated switch toggle\n- Overrides system setting, once back to current system setting override is removed\n- Will dynamically switch based on system preferences\n\nTip: Use the \"Emulate CSS media feature prefers-color-scheme\" in the \"Rendering\" tab of dev-tools to test different browser settings while testing without updating your Operating System config.\n\n## Screenshots\n\nDark Mode\n\n![dark mode](https://github.com/CaptainCodeman/sveltekit-dark-mode/blob/master/static/dark.png?raw=true)\n\nLight Mode\n\n![light mode](https://github.com/CaptainCodeman/sveltekit-dark-mode/blob/master/static/light.png?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Fsveltekit-dark-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptaincodeman%2Fsveltekit-dark-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptaincodeman%2Fsveltekit-dark-mode/lists"}