{"id":30855538,"url":"https://github.com/dalascript/light-and-dark-mode","last_synced_at":"2025-09-07T11:08:27.351Z","repository":{"id":294305929,"uuid":"986387391","full_name":"DalaScript/light-and-dark-mode","owner":"DalaScript","description":"ZTM JS Web Projects Course | Light \u0026 Dark Mode | Project 5/20","archived":false,"fork":false,"pushed_at":"2025-08-31T09:42:47.000Z","size":654,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T11:33:41.594Z","etag":null,"topics":["css","html","javascript","light-and-dark-mode","zerotomastery"],"latest_commit_sha":null,"homepage":"https://dalascript.github.io/light-and-dark-mode/","language":"CSS","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/DalaScript.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-19T14:29:50.000Z","updated_at":"2025-08-31T09:42:51.000Z","dependencies_parsed_at":"2025-05-19T20:52:31.551Z","dependency_job_id":"cf17ebd0-26b7-4293-81a3-fc4a408d5ea8","html_url":"https://github.com/DalaScript/light-and-dark-mode","commit_stats":null,"previous_names":["dalascript/light-dark-mode","dalascript/light-and-dark-mode"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DalaScript/light-and-dark-mode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DalaScript%2Flight-and-dark-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DalaScript%2Flight-and-dark-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DalaScript%2Flight-and-dark-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DalaScript%2Flight-and-dark-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DalaScript","download_url":"https://codeload.github.com/DalaScript/light-and-dark-mode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DalaScript%2Flight-and-dark-mode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274026718,"owners_count":25209740,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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":["css","html","javascript","light-and-dark-mode","zerotomastery"],"created_at":"2025-09-07T11:08:20.000Z","updated_at":"2025-09-07T11:08:27.341Z","avatar_url":"https://github.com/DalaScript.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Light \u0026 Dark Mode | ZTM JS Web Projects Course\n\n**Project 5/20**\n\n🌓 A responsive single-page website that allows users to switch between light and dark themes dynamically, with visual transitions and themed illustrations.\n\n---\n\n## 📚 Table of Contents\n\n- [🔎 Overview](#-overview)\n  - [📸 Screenshot](#-screenshot)\n  - [🔗 Links](#-links)\n  - [📌 Features](#-features)\n  - [🛠️ Built with](#️-built-with)\n- [🧠 My process](#-my-process)\n  - [🗃️ Useful resources](#️-useful-resources)\n  - [🔙 Previous Project](#-previous-project)\n  - [🔜 Next Project](#-next-project)\n- [👤 Author](#-author)\n  - [🌐 Connect with Me](#-connect-with-me)\n  - [💻 Coding Profiles](#-coding-profiles)\n\n---\n\n## 🔎 Overview\n\n### 📸 Screenshot\n\n![Live Preview Screenshot](./assets/screenshot.jpg)\n\n### 🔗 Links\n\n- [🔴 Live Demo](https://dalascript.github.io/light-and-dark-mode/)\n- [🗂️ GitHub Repository](https://github.com/DalaScript/light-and-dark-mode)\n\n### 📌 Features\n\n- ✅ Toggle between light and dark themes\n- ✅ Navigation and content section adapts to selected theme\n- ✅ Images switch dynamically to match the theme\n- ✅ Theme preference saved in localStorage\n- ✅ Stylish animated toggle switch\n\n### 🛠️ Built with\n\n- HTML5\n- CSS3\n- Vanilla JavaScript\n- LocalStorage\n\n---\n\n## 🧠 My Process\n\n### 🗃️ Useful resources\n\n- [Google Fonts](https://fonts.google.com/)\n- [FontAwesome Icons](https://fontawesome.com/icons?d=gallery\u0026q=close\u0026m=free)\n- [Hero Patterns](https://heropatterns.com/)\n- [Undraw Illustrations](https://undraw.co/illustrations)\n- [W3Schools - Switch](https://www.w3schools.com/howto/howto_css_switch.asp)\n- [W3Schools - Change Event](https://www.w3schools.com/jsref/event_onchange.asp)\n- [MDN - CSS Variables](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_cascading_variables/Using_CSS_custom_properties)\n- [MDN - Document Element](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement)\n- [Dark Mode Colors How-to Article](https://blog.prototypr.io/how-to-design-a-dark-theme-for-your-android-app-3daeb264637)\n\n### 🔙 Previous Project\n\n- Joke Teller | *Project 4/20* → [View Repository](https://github.com/DalaScript/joke-teller)\n\n### 🔜 Next Project\n\n- Animated Template | *Project 6/20* → [View Repository](https://github.com/DalaScript/animated-template)\n\n---\n\n## 👤 Author\n\n### 🌐 Connect with Me\n\n- [Instagram](https://www.instagram.com/DalaScript)\n- [YouTube](https://www.youtube.com/@DalaScript)\n\n### 💻 Coding Profiles\n\n- [freeCodeCamp](https://www.freecodecamp.org/DalaScript)\n- [FrontendMentor](https://www.frontendmentor.io/profile/DalaScript)\n- [GitHub](https://github.com/DalaScript)\n\n*🙌 Thanks for checking out my project! More coming soon. Stay tuned 🚀*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalascript%2Flight-and-dark-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalascript%2Flight-and-dark-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalascript%2Flight-and-dark-mode/lists"}