zova-module-a-style 5.0.6 → 5.0.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zova-module-a-style",
3
- "version": "5.0.6",
3
+ "version": "5.0.7",
4
4
  "title": "a-style",
5
5
  "zovaModule": {
6
6
  "capabilities": {
@@ -34,5 +34,5 @@
34
34
  "tsc:publish": "npm run clean && tsc -b",
35
35
  "prepublishOnly": "npm run tsc:publish"
36
36
  },
37
- "gitHead": "44a817e7928d9fe0ae39da48c68417dfb42a328c"
37
+ "gitHead": "f72c4e9f7fbc562a409406abbc57808610fa0b25"
38
38
  }
@@ -6,7 +6,14 @@ export type ThemeDarkMode = 'auto' | boolean;
6
6
 
7
7
  @Store()
8
8
  export class StoreTheme extends BeanBase<ScopeModule> {
9
- name: string;
9
+ private _name: string;
10
+ public get name(): string {
11
+ return this._name;
12
+ }
13
+ public set name(value: string) {
14
+ this._name = value;
15
+ this.applyTheme();
16
+ }
10
17
  dark: boolean;
11
18
  darkMode: ThemeDarkMode; // auto/true/false
12
19
  token: unknown;