Extracted theme toggle functionality into a new `app-theme` component to improve modularity and reusability. Integrated theme settings with a service using cookies for persistence and introduced the `THEME_MODE` enum. Updated header component to utilize the new theme switcher and removed inline implementation. |
||
|---|---|---|
| .. | ||
| header | ||
| home | ||
| theme | ||
| app.component.html | ||
| app.component.scss | ||
| app.component.spec.ts | ||
| app.component.ts | ||
| app.config.ts | ||
| app.module.ts | ||
| app.routes.ts | ||
| constant.ts | ||