@rxap/ngx-theme 21.0.1-dev.1 → 21.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/CHANGELOG.md +19 -0
- package/compodoc/changelog.html +18 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +126 -126
- package/docs/html/classes/ThemeModeService.html +6 -6
- package/docs/html/classes/ThemeService.html +2 -2
- package/docs/html/enums/ColorPaletteAlgorithm.html +2 -2
- package/docs/html/functions/ComputeColorPalette.html +1 -1
- package/docs/html/functions/ObserveCurrentThemeDensity.html +1 -1
- package/docs/html/functions/provideTheme.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/ColorPalette.html +2 -2
- package/docs/html/interfaces/ColorPaletteConfig.html +2 -2
- package/docs/html/interfaces/ColorPaletteConfigWithName.html +2 -2
- package/docs/html/interfaces/ThemeConfig.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/ActiveTheme.html +1 -1
- package/docs/html/types/ThemeSetting.html +1 -1
- package/docs/html/variables/THEME_SETTING_KEY.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/ThemeModeService.md +22 -22
- package/docs/markdown/classes/ThemeService.md +31 -31
- package/docs/markdown/enumerations/ColorPaletteAlgorithm.md +4 -4
- package/docs/markdown/functions/ComputeColorPalette.md +2 -2
- package/docs/markdown/functions/ObserveCurrentThemeDensity.md +2 -2
- package/docs/markdown/functions/provideTheme.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/ColorPalette.md +16 -16
- package/docs/markdown/interfaces/ColorPaletteConfig.md +5 -5
- package/docs/markdown/interfaces/ColorPaletteConfigWithName.md +6 -6
- package/docs/markdown/interfaces/ThemeConfig.md +7 -7
- package/docs/markdown/type-aliases/ActiveTheme.md +2 -2
- package/docs/markdown/type-aliases/ThemeSetting.md +2 -2
- package/docs/markdown/variables/THEME_SETTING_KEY.md +2 -2
- package/docs/wiki/Class.ThemeModeService.md +21 -21
- package/docs/wiki/Class.ThemeService.md +30 -30
- package/docs/wiki/Enumeration.ColorPaletteAlgorithm.md +3 -3
- package/docs/wiki/Function.ComputeColorPalette.md +1 -1
- package/docs/wiki/Function.ObserveCurrentThemeDensity.md +1 -1
- package/docs/wiki/Function.provideTheme.md +1 -1
- package/docs/wiki/Interface.ColorPalette.md +15 -15
- package/docs/wiki/Interface.ColorPaletteConfig.md +4 -4
- package/docs/wiki/Interface.ColorPaletteConfigWithName.md +5 -5
- package/docs/wiki/Interface.ThemeConfig.md +6 -6
- package/docs/wiki/TypeAlias.ActiveTheme.md +1 -1
- package/docs/wiki/TypeAlias.ThemeSetting.md +1 -1
- package/docs/wiki/Variable.THEME_SETTING_KEY.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/package.json +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ThemeModeService
|
|
8
8
|
|
|
9
|
-
Defined in: [theme-mode.service.ts:36](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [theme-mode.service.ts:36](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L36)
|
|
10
10
|
|
|
11
11
|
Service to manage theme mode (light/dark/system) for the application.
|
|
12
12
|
It provides functionality to handle theme preferences, persist them, and synchronize changes.
|
|
@@ -28,7 +28,7 @@ theme changes.
|
|
|
28
28
|
|
|
29
29
|
> **new ThemeModeService**(): [`ThemeModeService`](ThemeModeService.md)
|
|
30
30
|
|
|
31
|
-
Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L55)
|
|
32
32
|
|
|
33
33
|
#### Returns
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
40
40
|
|
|
41
41
|
> `readonly` **activeTheme**: `WritableSignal`\<[`ActiveTheme`](../type-aliases/ActiveTheme.md)\>
|
|
42
42
|
|
|
43
|
-
Defined in: [theme-mode.service.ts:44](https://gitlab.com/rxap/packages/-/blob/
|
|
43
|
+
Defined in: [theme-mode.service.ts:44](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L44)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [theme-mode.service.ts:44](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
48
48
|
|
|
49
49
|
> `readonly` **config**: `ConfigService`\<`any`\>
|
|
50
50
|
|
|
51
|
-
Defined in: [theme-mode.service.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [theme-mode.service.ts:41](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L41)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [theme-mode.service.ts:41](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
56
56
|
|
|
57
57
|
> `protected` `readonly` **darkColorSchemaMediaQuery**: `MediaQueryList`
|
|
58
58
|
|
|
59
|
-
Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/
|
|
59
|
+
Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L48)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
64
64
|
|
|
65
65
|
> `readonly` **darkMode**: `Signal`\<`boolean`\>
|
|
66
66
|
|
|
67
|
-
Defined in: [theme-mode.service.ts:46](https://gitlab.com/rxap/packages/-/blob/
|
|
67
|
+
Defined in: [theme-mode.service.ts:46](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L46)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Defined in: [theme-mode.service.ts:46](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
72
72
|
|
|
73
73
|
> `protected` `readonly` **document**: `Document`
|
|
74
74
|
|
|
75
|
-
Defined in: [theme-mode.service.ts:38](https://gitlab.com/rxap/packages/-/blob/
|
|
75
|
+
Defined in: [theme-mode.service.ts:38](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L38)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [theme-mode.service.ts:38](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
80
80
|
|
|
81
81
|
> `protected` `readonly` **mediaMatcher**: `MediaMatcher`
|
|
82
82
|
|
|
83
|
-
Defined in: [theme-mode.service.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
83
|
+
Defined in: [theme-mode.service.ts:37](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L37)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [theme-mode.service.ts:37](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
88
88
|
|
|
89
89
|
> `protected` `readonly` **mediaQueryListener**: (`this`, `ev`) => `any`
|
|
90
90
|
|
|
91
|
-
Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L51)
|
|
92
92
|
|
|
93
93
|
#### Parameters
|
|
94
94
|
|
|
@@ -110,7 +110,7 @@ Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
110
110
|
|
|
111
111
|
> `readonly` **pubSub**: `PubSubService`
|
|
112
112
|
|
|
113
|
-
Defined in: [theme-mode.service.ts:42](https://gitlab.com/rxap/packages/-/blob/
|
|
113
|
+
Defined in: [theme-mode.service.ts:42](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L42)
|
|
114
114
|
|
|
115
115
|
***
|
|
116
116
|
|
|
@@ -118,7 +118,7 @@ Defined in: [theme-mode.service.ts:42](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
118
118
|
|
|
119
119
|
> `protected` `readonly` **subscriptions**: `null` \| `Subscription` = `null`
|
|
120
120
|
|
|
121
|
-
Defined in: [theme-mode.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [theme-mode.service.ts:50](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L50)
|
|
122
122
|
|
|
123
123
|
***
|
|
124
124
|
|
|
@@ -126,7 +126,7 @@ Defined in: [theme-mode.service.ts:50](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
126
126
|
|
|
127
127
|
> `protected` `optional` **syncSubscription**: `Subscription`
|
|
128
128
|
|
|
129
|
-
Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/
|
|
129
|
+
Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L53)
|
|
130
130
|
|
|
131
131
|
***
|
|
132
132
|
|
|
@@ -134,7 +134,7 @@ Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
134
134
|
|
|
135
135
|
> `readonly` **themeSetting**: `WritableSignal`\<[`ThemeSetting`](../type-aliases/ThemeSetting.md)\>
|
|
136
136
|
|
|
137
|
-
Defined in: [theme-mode.service.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
137
|
+
Defined in: [theme-mode.service.ts:45](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L45)
|
|
138
138
|
|
|
139
139
|
## Methods
|
|
140
140
|
|
|
@@ -142,7 +142,7 @@ Defined in: [theme-mode.service.ts:45](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
142
142
|
|
|
143
143
|
> **ngOnDestroy**(): `void`
|
|
144
144
|
|
|
145
|
-
Defined in: [theme-mode.service.ts:118](https://gitlab.com/rxap/packages/-/blob/
|
|
145
|
+
Defined in: [theme-mode.service.ts:118](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L118)
|
|
146
146
|
|
|
147
147
|
Cleans up subscriptions and event listeners when the service is destroyed.
|
|
148
148
|
|
|
@@ -160,7 +160,7 @@ Cleans up subscriptions and event listeners when the service is destroyed.
|
|
|
160
160
|
|
|
161
161
|
> `protected` **removeThemeClasses**(): `void`
|
|
162
162
|
|
|
163
|
-
Defined in: [theme-mode.service.ts:138](https://gitlab.com/rxap/packages/-/blob/
|
|
163
|
+
Defined in: [theme-mode.service.ts:138](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L138)
|
|
164
164
|
|
|
165
165
|
#### Returns
|
|
166
166
|
|
|
@@ -172,7 +172,7 @@ Defined in: [theme-mode.service.ts:138](https://gitlab.com/rxap/packages/-/blob/
|
|
|
172
172
|
|
|
173
173
|
> `protected` **restoreFromPubSub**(): `void`
|
|
174
174
|
|
|
175
|
-
Defined in: [theme-mode.service.ts:98](https://gitlab.com/rxap/packages/-/blob/
|
|
175
|
+
Defined in: [theme-mode.service.ts:98](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L98)
|
|
176
176
|
|
|
177
177
|
#### Returns
|
|
178
178
|
|
|
@@ -184,7 +184,7 @@ Defined in: [theme-mode.service.ts:98](https://gitlab.com/rxap/packages/-/blob/b
|
|
|
184
184
|
|
|
185
185
|
> `protected` **restoreThemeSetting**(): [`ThemeSetting`](../type-aliases/ThemeSetting.md)
|
|
186
186
|
|
|
187
|
-
Defined in: [theme-mode.service.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
187
|
+
Defined in: [theme-mode.service.ts:126](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L126)
|
|
188
188
|
|
|
189
189
|
#### Returns
|
|
190
190
|
|
|
@@ -196,7 +196,7 @@ Defined in: [theme-mode.service.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
|
196
196
|
|
|
197
197
|
> **setTheme**(`active`, `publish`?): `void`
|
|
198
198
|
|
|
199
|
-
Defined in: [theme-mode.service.ts:169](https://gitlab.com/rxap/packages/-/blob/
|
|
199
|
+
Defined in: [theme-mode.service.ts:169](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L169)
|
|
200
200
|
|
|
201
201
|
Sets the active theme for the application and optionally publishes the change.
|
|
202
202
|
|
|
@@ -224,7 +224,7 @@ Indicates whether to publish the theme change event.
|
|
|
224
224
|
|
|
225
225
|
> `protected` **setThemeClasses**(`active`): `void`
|
|
226
226
|
|
|
227
|
-
Defined in: [theme-mode.service.ts:143](https://gitlab.com/rxap/packages/-/blob/
|
|
227
|
+
Defined in: [theme-mode.service.ts:143](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L143)
|
|
228
228
|
|
|
229
229
|
#### Parameters
|
|
230
230
|
|
|
@@ -242,7 +242,7 @@ Defined in: [theme-mode.service.ts:143](https://gitlab.com/rxap/packages/-/blob/
|
|
|
242
242
|
|
|
243
243
|
> `protected` **storeThemeSetting**(`setting`): `void`
|
|
244
244
|
|
|
245
|
-
Defined in: [theme-mode.service.ts:134](https://gitlab.com/rxap/packages/-/blob/
|
|
245
|
+
Defined in: [theme-mode.service.ts:134](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L134)
|
|
246
246
|
|
|
247
247
|
#### Parameters
|
|
248
248
|
|
|
@@ -260,7 +260,7 @@ Defined in: [theme-mode.service.ts:134](https://gitlab.com/rxap/packages/-/blob/
|
|
|
260
260
|
|
|
261
261
|
> **toggleTheme**(): `void`
|
|
262
262
|
|
|
263
|
-
Defined in: [theme-mode.service.ts:154](https://gitlab.com/rxap/packages/-/blob/
|
|
263
|
+
Defined in: [theme-mode.service.ts:154](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme-mode.service.ts#L154)
|
|
264
264
|
|
|
265
265
|
Toggles the application theme between 'light' and 'dark' modes.
|
|
266
266
|
It checks the currently active theme and switches to the opposite mode.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ThemeService
|
|
8
8
|
|
|
9
|
-
Defined in: [theme.service.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [theme.service.ts:47](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L47)
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [theme.service.ts:47](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
14
14
|
|
|
15
15
|
> **new ThemeService**(): [`ThemeService`](ThemeService.md)
|
|
16
16
|
|
|
17
|
-
Defined in: [theme.service.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [theme.service.ts:63](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L63)
|
|
18
18
|
|
|
19
19
|
#### Returns
|
|
20
20
|
|
|
@@ -26,7 +26,7 @@ Defined in: [theme.service.ts:63](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
26
26
|
|
|
27
27
|
> `readonly` **config**: `ConfigService`\<`any`\>
|
|
28
28
|
|
|
29
|
-
Defined in: [theme.service.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
29
|
+
Defined in: [theme.service.ts:51](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L51)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Defined in: [theme.service.ts:51](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
34
34
|
|
|
35
35
|
> `readonly` **darkMode**: `Signal`\<`boolean`\>
|
|
36
36
|
|
|
37
|
-
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L56)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
42
42
|
|
|
43
43
|
> `readonly` **density**: `WritableSignal`\<`ThemeDensity`\>
|
|
44
44
|
|
|
45
|
-
Defined in: [theme.service.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
45
|
+
Defined in: [theme.service.ts:58](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L58)
|
|
46
46
|
|
|
47
47
|
***
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ Defined in: [theme.service.ts:58](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
50
50
|
|
|
51
51
|
> `readonly` **pubSub**: `PubSubService`
|
|
52
52
|
|
|
53
|
-
Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L52)
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
58
58
|
|
|
59
59
|
> `protected` `optional` **syncSubscription**: `Subscription`
|
|
60
60
|
|
|
61
|
-
Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/
|
|
61
|
+
Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L61)
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
66
66
|
|
|
67
67
|
> `readonly` **themeModeService**: [`ThemeModeService`](ThemeModeService.md)
|
|
68
68
|
|
|
69
|
-
Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L54)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
74
74
|
|
|
75
75
|
> `readonly` **themeName**: `WritableSignal`\<`string`\>
|
|
76
76
|
|
|
77
|
-
Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/
|
|
77
|
+
Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L57)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -82,7 +82,7 @@ Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
82
82
|
|
|
83
83
|
> `readonly` **typography**: `WritableSignal`\<`string`\>
|
|
84
84
|
|
|
85
|
-
Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L59)
|
|
86
86
|
|
|
87
87
|
## Methods
|
|
88
88
|
|
|
@@ -90,7 +90,7 @@ Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
90
90
|
|
|
91
91
|
> **applyDensity**(`density`): `void`
|
|
92
92
|
|
|
93
|
-
Defined in: [theme.service.ts:211](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [theme.service.ts:211](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L211)
|
|
94
94
|
|
|
95
95
|
#### Parameters
|
|
96
96
|
|
|
@@ -108,7 +108,7 @@ Defined in: [theme.service.ts:211](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
108
108
|
|
|
109
109
|
> **applyTheme**(`themeName`): `void`
|
|
110
110
|
|
|
111
|
-
Defined in: [theme.service.ts:222](https://gitlab.com/rxap/packages/-/blob/
|
|
111
|
+
Defined in: [theme.service.ts:222](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L222)
|
|
112
112
|
|
|
113
113
|
#### Parameters
|
|
114
114
|
|
|
@@ -126,7 +126,7 @@ Defined in: [theme.service.ts:222](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
126
126
|
|
|
127
127
|
> **applyTypography**(`typography`): `void`
|
|
128
128
|
|
|
129
|
-
Defined in: [theme.service.ts:218](https://gitlab.com/rxap/packages/-/blob/
|
|
129
|
+
Defined in: [theme.service.ts:218](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L218)
|
|
130
130
|
|
|
131
131
|
#### Parameters
|
|
132
132
|
|
|
@@ -144,7 +144,7 @@ Defined in: [theme.service.ts:218](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
144
144
|
|
|
145
145
|
> **getAvailableColorPalettes**(): `null` \| `string`[]
|
|
146
146
|
|
|
147
|
-
Defined in: [theme.service.ts:285](https://gitlab.com/rxap/packages/-/blob/
|
|
147
|
+
Defined in: [theme.service.ts:285](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L285)
|
|
148
148
|
|
|
149
149
|
#### Returns
|
|
150
150
|
|
|
@@ -156,7 +156,7 @@ Defined in: [theme.service.ts:285](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
156
156
|
|
|
157
157
|
> **getAvailableThemes**(): `null` \| `string`[]
|
|
158
158
|
|
|
159
|
-
Defined in: [theme.service.ts:295](https://gitlab.com/rxap/packages/-/blob/
|
|
159
|
+
Defined in: [theme.service.ts:295](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L295)
|
|
160
160
|
|
|
161
161
|
#### Returns
|
|
162
162
|
|
|
@@ -168,7 +168,7 @@ Defined in: [theme.service.ts:295](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
168
168
|
|
|
169
169
|
> **getAvailableTypographies**(): `null` \| `string`[]
|
|
170
170
|
|
|
171
|
-
Defined in: [theme.service.ts:305](https://gitlab.com/rxap/packages/-/blob/
|
|
171
|
+
Defined in: [theme.service.ts:305](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L305)
|
|
172
172
|
|
|
173
173
|
#### Returns
|
|
174
174
|
|
|
@@ -180,7 +180,7 @@ Defined in: [theme.service.ts:305](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
180
180
|
|
|
181
181
|
> **getColorPalette**(`colorPaletteName`): `Partial`\<[`ColorPalette`](../interfaces/ColorPalette.md)\>
|
|
182
182
|
|
|
183
|
-
Defined in: [theme.service.ts:324](https://gitlab.com/rxap/packages/-/blob/
|
|
183
|
+
Defined in: [theme.service.ts:324](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L324)
|
|
184
184
|
|
|
185
185
|
#### Parameters
|
|
186
186
|
|
|
@@ -198,7 +198,7 @@ Defined in: [theme.service.ts:324](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
198
198
|
|
|
199
199
|
> **getDensity**(): `ThemeDensity`
|
|
200
200
|
|
|
201
|
-
Defined in: [theme.service.ts:257](https://gitlab.com/rxap/packages/-/blob/
|
|
201
|
+
Defined in: [theme.service.ts:257](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L257)
|
|
202
202
|
|
|
203
203
|
#### Returns
|
|
204
204
|
|
|
@@ -210,7 +210,7 @@ Defined in: [theme.service.ts:257](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
210
210
|
|
|
211
211
|
> **getTheme**(): `string`
|
|
212
212
|
|
|
213
|
-
Defined in: [theme.service.ts:277](https://gitlab.com/rxap/packages/-/blob/
|
|
213
|
+
Defined in: [theme.service.ts:277](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L277)
|
|
214
214
|
|
|
215
215
|
#### Returns
|
|
216
216
|
|
|
@@ -222,7 +222,7 @@ Defined in: [theme.service.ts:277](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
222
222
|
|
|
223
223
|
> **getTypography**(): `string`
|
|
224
224
|
|
|
225
|
-
Defined in: [theme.service.ts:268](https://gitlab.com/rxap/packages/-/blob/
|
|
225
|
+
Defined in: [theme.service.ts:268](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L268)
|
|
226
226
|
|
|
227
227
|
#### Returns
|
|
228
228
|
|
|
@@ -234,7 +234,7 @@ Defined in: [theme.service.ts:268](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
234
234
|
|
|
235
235
|
> **restore**(): `void`
|
|
236
236
|
|
|
237
|
-
Defined in: [theme.service.ts:69](https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
+
Defined in: [theme.service.ts:69](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L69)
|
|
238
238
|
|
|
239
239
|
#### Returns
|
|
240
240
|
|
|
@@ -246,7 +246,7 @@ Defined in: [theme.service.ts:69](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
246
246
|
|
|
247
247
|
> **restoreDensity**(): `null` \| `ThemeDensity`
|
|
248
248
|
|
|
249
|
-
Defined in: [theme.service.ts:142](https://gitlab.com/rxap/packages/-/blob/
|
|
249
|
+
Defined in: [theme.service.ts:142](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L142)
|
|
250
250
|
|
|
251
251
|
#### Returns
|
|
252
252
|
|
|
@@ -258,7 +258,7 @@ Defined in: [theme.service.ts:142](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
258
258
|
|
|
259
259
|
> `protected` **restoreFromPubSub**(): `void`
|
|
260
260
|
|
|
261
|
-
Defined in: [theme.service.ts:81](https://gitlab.com/rxap/packages/-/blob/
|
|
261
|
+
Defined in: [theme.service.ts:81](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L81)
|
|
262
262
|
|
|
263
263
|
#### Returns
|
|
264
264
|
|
|
@@ -270,7 +270,7 @@ Defined in: [theme.service.ts:81](https://gitlab.com/rxap/packages/-/blob/be7e22
|
|
|
270
270
|
|
|
271
271
|
> **restoreThemeName**(): `null` \| `string`
|
|
272
272
|
|
|
273
|
-
Defined in: [theme.service.ts:126](https://gitlab.com/rxap/packages/-/blob/
|
|
273
|
+
Defined in: [theme.service.ts:126](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L126)
|
|
274
274
|
|
|
275
275
|
#### Returns
|
|
276
276
|
|
|
@@ -282,7 +282,7 @@ Defined in: [theme.service.ts:126](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
282
282
|
|
|
283
283
|
> **restoreTypography**(): `null` \| `string`
|
|
284
284
|
|
|
285
|
-
Defined in: [theme.service.ts:134](https://gitlab.com/rxap/packages/-/blob/
|
|
285
|
+
Defined in: [theme.service.ts:134](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L134)
|
|
286
286
|
|
|
287
287
|
#### Returns
|
|
288
288
|
|
|
@@ -294,7 +294,7 @@ Defined in: [theme.service.ts:134](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
294
294
|
|
|
295
295
|
> **setDarkTheme**(`darkMode`, `silent`, `publish`): `void`
|
|
296
296
|
|
|
297
|
-
Defined in: [theme.service.ts:162](https://gitlab.com/rxap/packages/-/blob/
|
|
297
|
+
Defined in: [theme.service.ts:162](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L162)
|
|
298
298
|
|
|
299
299
|
#### Parameters
|
|
300
300
|
|
|
@@ -320,7 +320,7 @@ Defined in: [theme.service.ts:162](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
320
320
|
|
|
321
321
|
> **setDensity**(`density`, `silent`, `publish`): `void`
|
|
322
322
|
|
|
323
|
-
Defined in: [theme.service.ts:166](https://gitlab.com/rxap/packages/-/blob/
|
|
323
|
+
Defined in: [theme.service.ts:166](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L166)
|
|
324
324
|
|
|
325
325
|
#### Parameters
|
|
326
326
|
|
|
@@ -346,7 +346,7 @@ Defined in: [theme.service.ts:166](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
346
346
|
|
|
347
347
|
> **setTheme**(`themeName`, `silent`, `publish`): `void`
|
|
348
348
|
|
|
349
|
-
Defined in: [theme.service.ts:192](https://gitlab.com/rxap/packages/-/blob/
|
|
349
|
+
Defined in: [theme.service.ts:192](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L192)
|
|
350
350
|
|
|
351
351
|
#### Parameters
|
|
352
352
|
|
|
@@ -372,7 +372,7 @@ Defined in: [theme.service.ts:192](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
372
372
|
|
|
373
373
|
> **setTypography**(`typography`, `silent`, `publish`): `void`
|
|
374
374
|
|
|
375
|
-
Defined in: [theme.service.ts:179](https://gitlab.com/rxap/packages/-/blob/
|
|
375
|
+
Defined in: [theme.service.ts:179](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L179)
|
|
376
376
|
|
|
377
377
|
#### Parameters
|
|
378
378
|
|
|
@@ -398,7 +398,7 @@ Defined in: [theme.service.ts:179](https://gitlab.com/rxap/packages/-/blob/be7e2
|
|
|
398
398
|
|
|
399
399
|
> **toggleDarkTheme**(): `void`
|
|
400
400
|
|
|
401
|
-
Defined in: [theme.service.ts:156](https://gitlab.com/rxap/packages/-/blob/
|
|
401
|
+
Defined in: [theme.service.ts:156](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/theme.service.ts#L156)
|
|
402
402
|
|
|
403
403
|
#### Returns
|
|
404
404
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: ColorPaletteAlgorithm
|
|
8
8
|
|
|
9
|
-
Defined in: [compute-color-palette.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [compute-color-palette.ts:25](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/compute-color-palette.ts#L25)
|
|
10
10
|
|
|
11
11
|
## Enumeration Members
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [compute-color-palette.ts:25](https://gitlab.com/rxap/packages/-/blo
|
|
|
14
14
|
|
|
15
15
|
> **BUCKNER**: `"buckner"`
|
|
16
16
|
|
|
17
|
-
Defined in: [compute-color-palette.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [compute-color-palette.ts:27](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/compute-color-palette.ts#L27)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,4 +22,4 @@ Defined in: [compute-color-palette.ts:27](https://gitlab.com/rxap/packages/-/blo
|
|
|
22
22
|
|
|
23
23
|
> **CONSTANTIN**: `"constantin"`
|
|
24
24
|
|
|
25
|
-
Defined in: [compute-color-palette.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [compute-color-palette.ts:26](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/compute-color-palette.ts#L26)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **ComputeColorPalette**(`color`, `colorPalette`, `algorithm`?): [`ColorPalette`](../interfaces/ColorPalette.md)
|
|
10
10
|
|
|
11
|
-
Defined in: [compute-color-palette.ts:30](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [compute-color-palette.ts:30](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/compute-color-palette.ts#L30)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **ObserveCurrentThemeDensity**(): `Observable`\<`ThemeDensity`\>
|
|
10
10
|
|
|
11
|
-
Defined in: [observe-current-theme-density.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [observe-current-theme-density.ts:4](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/observe-current-theme-density.ts#L4)
|
|
12
12
|
|
|
13
13
|
## Returns
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v21.0.1
|
|
1
|
+
[**@rxap/ngx-theme v21.0.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> **provideTheme**(): `EnvironmentProviders`[]
|
|
10
10
|
|
|
11
|
-
Defined in: [provide.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [provide.ts:7](https://gitlab.com/rxap/packages/-/blob/61502283d3119c1cda051f50c92b1b3e3860adb4/packages/angular/theme/src/lib/provide.ts#L7)
|
|
12
12
|
|
|
13
13
|
## Returns
|
|
14
14
|
|