@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.
Files changed (2) hide show
  1. package/README.md +2 -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 './path/to/su-theme.service';
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 './path/to/su-theme.service';
86
+ import { SuThemeService, SuThemeName } from '@su-labs/theme';
87
87
 
88
88
  @Component({
89
89
  selector: 'app-theme-switcher',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-labs/theme",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"