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.
6 lines
118 B
TypeScript
6 lines
118 B
TypeScript
export const ALTITUDE_VERSION = "1.21"
|
|
export const enum THEME_MODE {
|
|
LIGHT= 'theme-light',
|
|
DARK = 'theme-dark'
|
|
}
|