{"id":18850513,"url":"https://github.com/manthanank/theme-toggler","last_synced_at":"2026-05-12T07:39:01.149Z","repository":{"id":255510496,"uuid":"838288602","full_name":"manthanank/theme-toggler","owner":"manthanank","description":"Theme Toggler in Angular","archived":false,"fork":false,"pushed_at":"2024-09-11T11:51:45.000Z","size":1012,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T04:56:52.273Z","etag":null,"topics":["angular","dark-mode","dark-theme","light-mode","light-theme","tailwindcss","theme-toggler"],"latest_commit_sha":null,"homepage":"https://theme-toggler-manthanank.vercel.app/","language":"TypeScript","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/manthanank.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},"funding":{"github":["manthanank"],"open_collective":"manthanank","buy_me_a_coffee":"manthanank","patreon":"manthanank"}},"created_at":"2024-08-05T10:39:11.000Z","updated_at":"2025-07-14T04:25:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"12acba28-f1e7-47f9-a8d2-e0f2ecbf3a91","html_url":"https://github.com/manthanank/theme-toggler","commit_stats":null,"previous_names":["manthanank/theme-toggler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manthanank/theme-toggler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Ftheme-toggler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Ftheme-toggler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Ftheme-toggler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Ftheme-toggler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manthanank","download_url":"https://codeload.github.com/manthanank/theme-toggler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manthanank%2Ftheme-toggler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32929255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"online","status_checked_at":"2026-05-12T02:00:06.338Z","response_time":102,"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":["angular","dark-mode","dark-theme","light-mode","light-theme","tailwindcss","theme-toggler"],"created_at":"2024-11-08T03:29:44.609Z","updated_at":"2026-05-12T07:39:01.143Z","avatar_url":"https://github.com/manthanank.png","language":"TypeScript","funding_links":["https://github.com/sponsors/manthanank","https://opencollective.com/manthanank","https://buymeacoffee.com/manthanank","https://patreon.com/manthanank"],"categories":[],"sub_categories":[],"readme":"# Theme Toggler\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.1.0.\n\n## Project Structure\n\n```text\ntheme-toggler/\n├── public/\n│   |── favicon.ico\n├── src/\n│   ├── app/\n│   │   ├── components/\n│   │   │   ├── theme-toggler/\n│   │   │   │   ├── theme-toggler.component.html\n│   │   │   │   ├── theme-toggler.component.ts\n│   │   │   │   ├── theme-toggler.component.scss\n│   │   │   │   └── theme-toggler.component.spec.ts\n│   │   ├── services/\n│   │   │   └── theme.service.ts\n│   │   ├── shared/\n│   │   │   ├── navbar/\n│   │   │   │   ├── navbar.component.html\n│   │   │   │   ├── navbar.component.ts\n│   │   │   │   ├── navbar.component.scss\n│   │   │   │   └── navbar.component.spec.ts\n│   │   ├── app.component.html\n│   │   └── app.component.ts\n|   |   └── app.component.scss\n|   |   └── app.config.ts\n|   |   └── app.routes.ts\n│   ├── index.html\n│   ├── main.ts\n│   └── styles.scss\n├── .editorconfig\n├── .gitignore\n├── angular.json\n├── package.json\n├── package-lock.json\n├── tsconfig.json\n├── tsconfig.app.json\n├── tsconfig.spec.json\n├── tailwind.config.js\n└── README.md\n```\n\n## Functionality\n\nThe ThemeToggler application allows users to switch between light and dark themes. The application includes the following components and services:\n\n- **ThemeToggler**: Toggle button that allows users to switch between light and dark themes. The button is displayed in the navbar component.\n- **ThemeService**: This service manages the current theme state and provides methods to switch themes. It uses local storage to persist the user's theme preference across sessions.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Ftheme-toggler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanthanank%2Ftheme-toggler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanthanank%2Ftheme-toggler/lists"}