@su-labs/theme 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ The `SuThemeService` must be initialized at application startup to load its conf
|
|
|
31
31
|
```typescript
|
|
32
32
|
// main.ts or app.config.ts
|
|
33
33
|
import { provideAppInitializer, inject } from '@angular/core';
|
|
34
|
-
import { SuThemeService, SuThemeConfig } from '
|
|
34
|
+
import { SuThemeService, SuThemeConfig } from '@su-labs/theme';
|
|
35
35
|
|
|
36
36
|
const myThemeConfig: SuThemeConfig = {
|
|
37
37
|
// Optional: Set a default theme if none is saved
|
|
@@ -83,7 +83,7 @@ Use the setTheme() method to switch themes and the theme signal to read the curr
|
|
|
83
83
|
```TypeScript
|
|
84
84
|
|
|
85
85
|
import { Component, inject } from '@angular/core';
|
|
86
|
-
import { SuThemeService, SuThemeName } from '
|
|
86
|
+
import { SuThemeService, SuThemeName } from '@su-labs/theme';
|
|
87
87
|
|
|
88
88
|
@Component({
|
|
89
89
|
selector: 'app-theme-switcher',
|