@rxap/ngx-theme 19.1.1 → 19.2.0-dev.0
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 +32 -0
- package/compodoc/changelog.html +31 -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 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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:46](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [theme-mode.service.ts:46](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L46)
|
|
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**(`mediaMatcher`, `document`): [`ThemeModeService`](ThemeModeService.md)
|
|
30
30
|
|
|
31
|
-
Defined in: [theme-mode.service.ts:62](https://gitlab.com/rxap/packages/-/blob/
|
|
31
|
+
Defined in: [theme-mode.service.ts:62](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L62)
|
|
32
32
|
|
|
33
33
|
#### Parameters
|
|
34
34
|
|
|
@@ -50,7 +50,7 @@ Defined in: [theme-mode.service.ts:62](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
50
50
|
|
|
51
51
|
> `readonly` **activeTheme**: `WritableSignal`\<[`ActiveTheme`](../type-aliases/ActiveTheme.md)\>
|
|
52
52
|
|
|
53
|
-
Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L51)
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ Defined in: [theme-mode.service.ts:51](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
58
58
|
|
|
59
59
|
> `readonly` **config**: `ConfigService`\<`any`\>
|
|
60
60
|
|
|
61
|
-
Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/
|
|
61
|
+
Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L48)
|
|
62
62
|
|
|
63
63
|
***
|
|
64
64
|
|
|
@@ -66,7 +66,7 @@ Defined in: [theme-mode.service.ts:48](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
66
66
|
|
|
67
67
|
> `protected` `readonly` **darkColorSchemaMediaQuery**: `MediaQueryList`
|
|
68
68
|
|
|
69
|
-
Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L55)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ Defined in: [theme-mode.service.ts:55](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
74
74
|
|
|
75
75
|
> `readonly` **darkMode**: `Signal`\<`boolean`\>
|
|
76
76
|
|
|
77
|
-
Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/
|
|
77
|
+
Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L53)
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
@@ -82,7 +82,7 @@ Defined in: [theme-mode.service.ts:53](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
82
82
|
|
|
83
83
|
> `protected` `readonly` **document**: `Document`
|
|
84
84
|
|
|
85
|
-
Defined in: [theme-mode.service.ts:64](https://gitlab.com/rxap/packages/-/blob/
|
|
85
|
+
Defined in: [theme-mode.service.ts:64](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L64)
|
|
86
86
|
|
|
87
87
|
***
|
|
88
88
|
|
|
@@ -90,7 +90,7 @@ Defined in: [theme-mode.service.ts:64](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
90
90
|
|
|
91
91
|
> `protected` `readonly` **mediaMatcher**: `MediaMatcher`
|
|
92
92
|
|
|
93
|
-
Defined in: [theme-mode.service.ts:63](https://gitlab.com/rxap/packages/-/blob/
|
|
93
|
+
Defined in: [theme-mode.service.ts:63](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L63)
|
|
94
94
|
|
|
95
95
|
***
|
|
96
96
|
|
|
@@ -98,7 +98,7 @@ Defined in: [theme-mode.service.ts:63](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
98
98
|
|
|
99
99
|
> `protected` `readonly` **mediaQueryListener**: (`this`, `ev`) => `any`
|
|
100
100
|
|
|
101
|
-
Defined in: [theme-mode.service.ts:58](https://gitlab.com/rxap/packages/-/blob/
|
|
101
|
+
Defined in: [theme-mode.service.ts:58](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L58)
|
|
102
102
|
|
|
103
103
|
#### Parameters
|
|
104
104
|
|
|
@@ -120,7 +120,7 @@ Defined in: [theme-mode.service.ts:58](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
120
120
|
|
|
121
121
|
> `readonly` **pubSub**: `PubSubService`
|
|
122
122
|
|
|
123
|
-
Defined in: [theme-mode.service.ts:49](https://gitlab.com/rxap/packages/-/blob/
|
|
123
|
+
Defined in: [theme-mode.service.ts:49](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L49)
|
|
124
124
|
|
|
125
125
|
***
|
|
126
126
|
|
|
@@ -128,7 +128,7 @@ Defined in: [theme-mode.service.ts:49](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
128
128
|
|
|
129
129
|
> `protected` `readonly` **subscriptions**: `null` \| `Subscription` = `null`
|
|
130
130
|
|
|
131
|
-
Defined in: [theme-mode.service.ts:57](https://gitlab.com/rxap/packages/-/blob/
|
|
131
|
+
Defined in: [theme-mode.service.ts:57](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L57)
|
|
132
132
|
|
|
133
133
|
***
|
|
134
134
|
|
|
@@ -136,7 +136,7 @@ Defined in: [theme-mode.service.ts:57](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
136
136
|
|
|
137
137
|
> `protected` `optional` **syncSubscription**: `Subscription`
|
|
138
138
|
|
|
139
|
-
Defined in: [theme-mode.service.ts:60](https://gitlab.com/rxap/packages/-/blob/
|
|
139
|
+
Defined in: [theme-mode.service.ts:60](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L60)
|
|
140
140
|
|
|
141
141
|
***
|
|
142
142
|
|
|
@@ -144,7 +144,7 @@ Defined in: [theme-mode.service.ts:60](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
144
144
|
|
|
145
145
|
> `readonly` **themeSetting**: `WritableSignal`\<[`ThemeSetting`](../type-aliases/ThemeSetting.md)\>
|
|
146
146
|
|
|
147
|
-
Defined in: [theme-mode.service.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
147
|
+
Defined in: [theme-mode.service.ts:52](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L52)
|
|
148
148
|
|
|
149
149
|
## Methods
|
|
150
150
|
|
|
@@ -152,7 +152,7 @@ Defined in: [theme-mode.service.ts:52](https://gitlab.com/rxap/packages/-/blob/3
|
|
|
152
152
|
|
|
153
153
|
> **ngOnDestroy**(): `void`
|
|
154
154
|
|
|
155
|
-
Defined in: [theme-mode.service.ts:128](https://gitlab.com/rxap/packages/-/blob/
|
|
155
|
+
Defined in: [theme-mode.service.ts:128](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L128)
|
|
156
156
|
|
|
157
157
|
Cleans up subscriptions and event listeners when the service is destroyed.
|
|
158
158
|
|
|
@@ -170,7 +170,7 @@ Cleans up subscriptions and event listeners when the service is destroyed.
|
|
|
170
170
|
|
|
171
171
|
> `protected` **removeThemeClasses**(): `void`
|
|
172
172
|
|
|
173
|
-
Defined in: [theme-mode.service.ts:148](https://gitlab.com/rxap/packages/-/blob/
|
|
173
|
+
Defined in: [theme-mode.service.ts:148](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L148)
|
|
174
174
|
|
|
175
175
|
#### Returns
|
|
176
176
|
|
|
@@ -182,7 +182,7 @@ Defined in: [theme-mode.service.ts:148](https://gitlab.com/rxap/packages/-/blob/
|
|
|
182
182
|
|
|
183
183
|
> `protected` **restoreFromPubSub**(): `void`
|
|
184
184
|
|
|
185
|
-
Defined in: [theme-mode.service.ts:108](https://gitlab.com/rxap/packages/-/blob/
|
|
185
|
+
Defined in: [theme-mode.service.ts:108](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L108)
|
|
186
186
|
|
|
187
187
|
#### Returns
|
|
188
188
|
|
|
@@ -194,7 +194,7 @@ Defined in: [theme-mode.service.ts:108](https://gitlab.com/rxap/packages/-/blob/
|
|
|
194
194
|
|
|
195
195
|
> `protected` **restoreThemeSetting**(): [`ThemeSetting`](../type-aliases/ThemeSetting.md)
|
|
196
196
|
|
|
197
|
-
Defined in: [theme-mode.service.ts:136](https://gitlab.com/rxap/packages/-/blob/
|
|
197
|
+
Defined in: [theme-mode.service.ts:136](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L136)
|
|
198
198
|
|
|
199
199
|
#### Returns
|
|
200
200
|
|
|
@@ -206,7 +206,7 @@ Defined in: [theme-mode.service.ts:136](https://gitlab.com/rxap/packages/-/blob/
|
|
|
206
206
|
|
|
207
207
|
> **setTheme**(`active`, `publish`?): `void`
|
|
208
208
|
|
|
209
|
-
Defined in: [theme-mode.service.ts:179](https://gitlab.com/rxap/packages/-/blob/
|
|
209
|
+
Defined in: [theme-mode.service.ts:179](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L179)
|
|
210
210
|
|
|
211
211
|
Sets the active theme for the application and optionally publishes the change.
|
|
212
212
|
|
|
@@ -234,7 +234,7 @@ Indicates whether to publish the theme change event.
|
|
|
234
234
|
|
|
235
235
|
> `protected` **setThemeClasses**(`active`): `void`
|
|
236
236
|
|
|
237
|
-
Defined in: [theme-mode.service.ts:153](https://gitlab.com/rxap/packages/-/blob/
|
|
237
|
+
Defined in: [theme-mode.service.ts:153](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L153)
|
|
238
238
|
|
|
239
239
|
#### Parameters
|
|
240
240
|
|
|
@@ -252,7 +252,7 @@ Defined in: [theme-mode.service.ts:153](https://gitlab.com/rxap/packages/-/blob/
|
|
|
252
252
|
|
|
253
253
|
> `protected` **storeThemeSetting**(`setting`): `void`
|
|
254
254
|
|
|
255
|
-
Defined in: [theme-mode.service.ts:144](https://gitlab.com/rxap/packages/-/blob/
|
|
255
|
+
Defined in: [theme-mode.service.ts:144](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L144)
|
|
256
256
|
|
|
257
257
|
#### Parameters
|
|
258
258
|
|
|
@@ -270,7 +270,7 @@ Defined in: [theme-mode.service.ts:144](https://gitlab.com/rxap/packages/-/blob/
|
|
|
270
270
|
|
|
271
271
|
> **toggleTheme**(): `void`
|
|
272
272
|
|
|
273
|
-
Defined in: [theme-mode.service.ts:164](https://gitlab.com/rxap/packages/-/blob/
|
|
273
|
+
Defined in: [theme-mode.service.ts:164](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme-mode.service.ts#L164)
|
|
274
274
|
|
|
275
275
|
Toggles the application theme between 'light' and 'dark' modes.
|
|
276
276
|
It checks the currently active theme and switches to the opposite mode.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/36b0e9
|
|
|
14
14
|
|
|
15
15
|
> **new ThemeService**(`mediaMatcher`): [`ThemeService`](ThemeService.md)
|
|
16
16
|
|
|
17
|
-
Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L61)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
32
32
|
|
|
33
33
|
> `readonly` **config**: `ConfigService`\<`any`\>
|
|
34
34
|
|
|
35
|
-
Defined in: [theme.service.ts:49](https://gitlab.com/rxap/packages/-/blob/
|
|
35
|
+
Defined in: [theme.service.ts:49](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L49)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Defined in: [theme.service.ts:49](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
40
40
|
|
|
41
41
|
> `readonly` **darkMode**: `Signal`\<`boolean`\>
|
|
42
42
|
|
|
43
|
-
Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/
|
|
43
|
+
Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L54)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
48
48
|
|
|
49
49
|
> `readonly` **density**: `WritableSignal`\<`ThemeDensity`\>
|
|
50
50
|
|
|
51
|
-
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L56)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
56
56
|
|
|
57
57
|
> `readonly` **pubSub**: `PubSubService`
|
|
58
58
|
|
|
59
|
-
Defined in: [theme.service.ts:50](https://gitlab.com/rxap/packages/-/blob/
|
|
59
|
+
Defined in: [theme.service.ts:50](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L50)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [theme.service.ts:50](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
64
64
|
|
|
65
65
|
> `protected` `optional` **syncSubscription**: `Subscription`
|
|
66
66
|
|
|
67
|
-
Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/
|
|
67
|
+
Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L59)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
72
72
|
|
|
73
73
|
> `readonly` **themeModeService**: [`ThemeModeService`](ThemeModeService.md)
|
|
74
74
|
|
|
75
|
-
Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/
|
|
75
|
+
Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L52)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
80
80
|
|
|
81
81
|
> `readonly` **themeName**: `WritableSignal`\<`string`\>
|
|
82
82
|
|
|
83
|
-
Defined in: [theme.service.ts:55](https://gitlab.com/rxap/packages/-/blob/
|
|
83
|
+
Defined in: [theme.service.ts:55](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L55)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [theme.service.ts:55](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
88
88
|
|
|
89
89
|
> `readonly` **typography**: `WritableSignal`\<`string`\>
|
|
90
90
|
|
|
91
|
-
Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/
|
|
91
|
+
Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L57)
|
|
92
92
|
|
|
93
93
|
## Methods
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
96
96
|
|
|
97
97
|
> **applyDensity**(`density`): `void`
|
|
98
98
|
|
|
99
|
-
Defined in: [theme.service.ts:209](https://gitlab.com/rxap/packages/-/blob/
|
|
99
|
+
Defined in: [theme.service.ts:209](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L209)
|
|
100
100
|
|
|
101
101
|
#### Parameters
|
|
102
102
|
|
|
@@ -114,7 +114,7 @@ Defined in: [theme.service.ts:209](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
114
114
|
|
|
115
115
|
> **applyTheme**(`themeName`): `void`
|
|
116
116
|
|
|
117
|
-
Defined in: [theme.service.ts:220](https://gitlab.com/rxap/packages/-/blob/
|
|
117
|
+
Defined in: [theme.service.ts:220](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L220)
|
|
118
118
|
|
|
119
119
|
#### Parameters
|
|
120
120
|
|
|
@@ -132,7 +132,7 @@ Defined in: [theme.service.ts:220](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
132
132
|
|
|
133
133
|
> **applyTypography**(`typography`): `void`
|
|
134
134
|
|
|
135
|
-
Defined in: [theme.service.ts:216](https://gitlab.com/rxap/packages/-/blob/
|
|
135
|
+
Defined in: [theme.service.ts:216](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L216)
|
|
136
136
|
|
|
137
137
|
#### Parameters
|
|
138
138
|
|
|
@@ -150,7 +150,7 @@ Defined in: [theme.service.ts:216](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
150
150
|
|
|
151
151
|
> **getAvailableColorPalettes**(): `null` \| `string`[]
|
|
152
152
|
|
|
153
|
-
Defined in: [theme.service.ts:283](https://gitlab.com/rxap/packages/-/blob/
|
|
153
|
+
Defined in: [theme.service.ts:283](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L283)
|
|
154
154
|
|
|
155
155
|
#### Returns
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ Defined in: [theme.service.ts:283](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
162
162
|
|
|
163
163
|
> **getAvailableThemes**(): `null` \| `string`[]
|
|
164
164
|
|
|
165
|
-
Defined in: [theme.service.ts:293](https://gitlab.com/rxap/packages/-/blob/
|
|
165
|
+
Defined in: [theme.service.ts:293](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L293)
|
|
166
166
|
|
|
167
167
|
#### Returns
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ Defined in: [theme.service.ts:293](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
174
174
|
|
|
175
175
|
> **getAvailableTypographies**(): `null` \| `string`[]
|
|
176
176
|
|
|
177
|
-
Defined in: [theme.service.ts:303](https://gitlab.com/rxap/packages/-/blob/
|
|
177
|
+
Defined in: [theme.service.ts:303](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L303)
|
|
178
178
|
|
|
179
179
|
#### Returns
|
|
180
180
|
|
|
@@ -186,7 +186,7 @@ Defined in: [theme.service.ts:303](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
186
186
|
|
|
187
187
|
> **getColorPalette**(`colorPaletteName`): `Partial`\<[`ColorPalette`](../interfaces/ColorPalette.md)\>
|
|
188
188
|
|
|
189
|
-
Defined in: [theme.service.ts:322](https://gitlab.com/rxap/packages/-/blob/
|
|
189
|
+
Defined in: [theme.service.ts:322](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L322)
|
|
190
190
|
|
|
191
191
|
#### Parameters
|
|
192
192
|
|
|
@@ -204,7 +204,7 @@ Defined in: [theme.service.ts:322](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
204
204
|
|
|
205
205
|
> **getDensity**(): `ThemeDensity`
|
|
206
206
|
|
|
207
|
-
Defined in: [theme.service.ts:255](https://gitlab.com/rxap/packages/-/blob/
|
|
207
|
+
Defined in: [theme.service.ts:255](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L255)
|
|
208
208
|
|
|
209
209
|
#### Returns
|
|
210
210
|
|
|
@@ -216,7 +216,7 @@ Defined in: [theme.service.ts:255](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
216
216
|
|
|
217
217
|
> **getTheme**(): `string`
|
|
218
218
|
|
|
219
|
-
Defined in: [theme.service.ts:275](https://gitlab.com/rxap/packages/-/blob/
|
|
219
|
+
Defined in: [theme.service.ts:275](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L275)
|
|
220
220
|
|
|
221
221
|
#### Returns
|
|
222
222
|
|
|
@@ -228,7 +228,7 @@ Defined in: [theme.service.ts:275](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
228
228
|
|
|
229
229
|
> **getTypography**(): `string`
|
|
230
230
|
|
|
231
|
-
Defined in: [theme.service.ts:266](https://gitlab.com/rxap/packages/-/blob/
|
|
231
|
+
Defined in: [theme.service.ts:266](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L266)
|
|
232
232
|
|
|
233
233
|
#### Returns
|
|
234
234
|
|
|
@@ -240,7 +240,7 @@ Defined in: [theme.service.ts:266](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
240
240
|
|
|
241
241
|
> **restore**(): `void`
|
|
242
242
|
|
|
243
|
-
Defined in: [theme.service.ts:67](https://gitlab.com/rxap/packages/-/blob/
|
|
243
|
+
Defined in: [theme.service.ts:67](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L67)
|
|
244
244
|
|
|
245
245
|
#### Returns
|
|
246
246
|
|
|
@@ -252,7 +252,7 @@ Defined in: [theme.service.ts:67](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
252
252
|
|
|
253
253
|
> **restoreDensity**(): `null` \| `ThemeDensity`
|
|
254
254
|
|
|
255
|
-
Defined in: [theme.service.ts:140](https://gitlab.com/rxap/packages/-/blob/
|
|
255
|
+
Defined in: [theme.service.ts:140](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L140)
|
|
256
256
|
|
|
257
257
|
#### Returns
|
|
258
258
|
|
|
@@ -264,7 +264,7 @@ Defined in: [theme.service.ts:140](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
264
264
|
|
|
265
265
|
> `protected` **restoreFromPubSub**(): `void`
|
|
266
266
|
|
|
267
|
-
Defined in: [theme.service.ts:79](https://gitlab.com/rxap/packages/-/blob/
|
|
267
|
+
Defined in: [theme.service.ts:79](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L79)
|
|
268
268
|
|
|
269
269
|
#### Returns
|
|
270
270
|
|
|
@@ -276,7 +276,7 @@ Defined in: [theme.service.ts:79](https://gitlab.com/rxap/packages/-/blob/36b0e9
|
|
|
276
276
|
|
|
277
277
|
> **restoreThemeName**(): `null` \| `string`
|
|
278
278
|
|
|
279
|
-
Defined in: [theme.service.ts:124](https://gitlab.com/rxap/packages/-/blob/
|
|
279
|
+
Defined in: [theme.service.ts:124](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L124)
|
|
280
280
|
|
|
281
281
|
#### Returns
|
|
282
282
|
|
|
@@ -288,7 +288,7 @@ Defined in: [theme.service.ts:124](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
288
288
|
|
|
289
289
|
> **restoreTypography**(): `null` \| `string`
|
|
290
290
|
|
|
291
|
-
Defined in: [theme.service.ts:132](https://gitlab.com/rxap/packages/-/blob/
|
|
291
|
+
Defined in: [theme.service.ts:132](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L132)
|
|
292
292
|
|
|
293
293
|
#### Returns
|
|
294
294
|
|
|
@@ -300,7 +300,7 @@ Defined in: [theme.service.ts:132](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
300
300
|
|
|
301
301
|
> **setDarkTheme**(`darkMode`, `silent`, `publish`): `void`
|
|
302
302
|
|
|
303
|
-
Defined in: [theme.service.ts:160](https://gitlab.com/rxap/packages/-/blob/
|
|
303
|
+
Defined in: [theme.service.ts:160](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L160)
|
|
304
304
|
|
|
305
305
|
#### Parameters
|
|
306
306
|
|
|
@@ -326,7 +326,7 @@ Defined in: [theme.service.ts:160](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
326
326
|
|
|
327
327
|
> **setDensity**(`density`, `silent`, `publish`): `void`
|
|
328
328
|
|
|
329
|
-
Defined in: [theme.service.ts:164](https://gitlab.com/rxap/packages/-/blob/
|
|
329
|
+
Defined in: [theme.service.ts:164](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L164)
|
|
330
330
|
|
|
331
331
|
#### Parameters
|
|
332
332
|
|
|
@@ -352,7 +352,7 @@ Defined in: [theme.service.ts:164](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
352
352
|
|
|
353
353
|
> **setTheme**(`themeName`, `silent`, `publish`): `void`
|
|
354
354
|
|
|
355
|
-
Defined in: [theme.service.ts:190](https://gitlab.com/rxap/packages/-/blob/
|
|
355
|
+
Defined in: [theme.service.ts:190](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L190)
|
|
356
356
|
|
|
357
357
|
#### Parameters
|
|
358
358
|
|
|
@@ -378,7 +378,7 @@ Defined in: [theme.service.ts:190](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
378
378
|
|
|
379
379
|
> **setTypography**(`typography`, `silent`, `publish`): `void`
|
|
380
380
|
|
|
381
|
-
Defined in: [theme.service.ts:177](https://gitlab.com/rxap/packages/-/blob/
|
|
381
|
+
Defined in: [theme.service.ts:177](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L177)
|
|
382
382
|
|
|
383
383
|
#### Parameters
|
|
384
384
|
|
|
@@ -404,7 +404,7 @@ Defined in: [theme.service.ts:177](https://gitlab.com/rxap/packages/-/blob/36b0e
|
|
|
404
404
|
|
|
405
405
|
> **toggleDarkTheme**(): `void`
|
|
406
406
|
|
|
407
|
-
Defined in: [theme.service.ts:154](https://gitlab.com/rxap/packages/-/blob/
|
|
407
|
+
Defined in: [theme.service.ts:154](https://gitlab.com/rxap/packages/-/blob/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/theme.service.ts#L154)
|
|
408
408
|
|
|
409
409
|
#### Returns
|
|
410
410
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/compute-color-palette.ts#L26)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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 v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/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 v19.
|
|
1
|
+
[**@rxap/ngx-theme v19.2.0-dev.0**](../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/c440f5cccebab3281a30a4b253e4e1fc490fe1e4/packages/angular/theme/src/lib/provide.ts#L7)
|
|
12
12
|
|
|
13
13
|
## Returns
|
|
14
14
|
|