@rxap/ngx-theme 19.0.4-dev.0 → 19.1.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 +6 -0
- package/README.md +85 -0
- package/compodoc/changelog.html +5 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/index.html +69 -1
- package/compodoc/injectables/ThemeModeService.html +1256 -0
- package/compodoc/injectables/ThemeService.html +82 -265
- package/compodoc/interfaces/ColorPaletteConfig.html +6 -71
- package/compodoc/interfaces/ColorPaletteConfigWithName.html +6 -71
- package/compodoc/interfaces/ThemeConfig.html +6 -71
- package/compodoc/js/menu-wc.js +6 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/typealiases.html +235 -0
- package/compodoc/miscellaneous/variables.html +32 -0
- package/compodoc/overview.html +1 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1672 -532
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/highlight.css +28 -0
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ThemeModeService.html +35 -0
- package/docs/html/classes/ThemeService.html +4 -6
- 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 +60 -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 -0
- package/docs/html/types/ThemeSetting.html +1 -0
- package/docs/html/variables/THEME_SETTING_KEY.html +1 -0
- package/docs/markdown/README.md +86 -1
- package/docs/markdown/classes/ThemeModeService.md +282 -0
- package/docs/markdown/classes/ThemeService.md +39 -69
- 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 +12 -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 +11 -0
- package/docs/markdown/type-aliases/ThemeSetting.md +11 -0
- package/docs/markdown/variables/THEME_SETTING_KEY.md +11 -0
- package/docs/wiki/Class.ThemeModeService.md +278 -0
- package/docs/wiki/Class.ThemeService.md +38 -68
- 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/Home.md +85 -0
- 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 +7 -0
- package/docs/wiki/TypeAlias.ThemeSetting.md +7 -0
- package/docs/wiki/Variable.THEME_SETTING_KEY.md +7 -0
- package/docs/wiki/_Sidebar.md +10 -0
- package/docs/wiki/globals.md +11 -1
- package/fesm2022/rxap-ngx-theme.mjs +142 -61
- package/fesm2022/rxap-ngx-theme.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/theme-mode.service.d.ts +61 -0
- package/lib/theme.service.d.ts +3 -5
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.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:
|
|
9
|
+
Defined in: [theme.service.ts:47](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/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:46](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
14
14
|
|
|
15
15
|
> **new ThemeService**(`mediaMatcher`): [`ThemeService`](ThemeService.md)
|
|
16
16
|
|
|
17
|
-
Defined in: [theme.service.ts:
|
|
17
|
+
Defined in: [theme.service.ts:61](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L61)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -32,23 +32,15 @@ Defined in: [theme.service.ts:60](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
32
32
|
|
|
33
33
|
> `readonly` **config**: `ConfigService`\<`any`\>
|
|
34
34
|
|
|
35
|
-
Defined in: [theme.service.ts:
|
|
35
|
+
Defined in: [theme.service.ts:49](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L49)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
39
|
### darkMode
|
|
40
40
|
|
|
41
|
-
> `readonly` **darkMode**: `
|
|
41
|
+
> `readonly` **darkMode**: `Signal`\<`boolean`\>
|
|
42
42
|
|
|
43
|
-
Defined in: [theme.service.ts:
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
### darkModeMediaQuery
|
|
48
|
-
|
|
49
|
-
> `protected` `readonly` **darkModeMediaQuery**: `MediaQueryList`
|
|
50
|
-
|
|
51
|
-
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/theme/src/lib/theme.service.ts#L56)
|
|
43
|
+
Defined in: [theme.service.ts:54](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L54)
|
|
52
44
|
|
|
53
45
|
***
|
|
54
46
|
|
|
@@ -56,7 +48,7 @@ Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
56
48
|
|
|
57
49
|
> `readonly` **density**: `WritableSignal`\<`ThemeDensity`\>
|
|
58
50
|
|
|
59
|
-
Defined in: [theme.service.ts:
|
|
51
|
+
Defined in: [theme.service.ts:56](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L56)
|
|
60
52
|
|
|
61
53
|
***
|
|
62
54
|
|
|
@@ -64,7 +56,7 @@ Defined in: [theme.service.ts:53](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
64
56
|
|
|
65
57
|
> `readonly` **pubSub**: `PubSubService`
|
|
66
58
|
|
|
67
|
-
Defined in: [theme.service.ts:
|
|
59
|
+
Defined in: [theme.service.ts:50](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L50)
|
|
68
60
|
|
|
69
61
|
***
|
|
70
62
|
|
|
@@ -72,7 +64,15 @@ Defined in: [theme.service.ts:49](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
72
64
|
|
|
73
65
|
> `protected` `optional` **syncSubscription**: `Subscription`
|
|
74
66
|
|
|
75
|
-
Defined in: [theme.service.ts:
|
|
67
|
+
Defined in: [theme.service.ts:59](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L59)
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### themeModeService
|
|
72
|
+
|
|
73
|
+
> `readonly` **themeModeService**: [`ThemeModeService`](ThemeModeService.md)
|
|
74
|
+
|
|
75
|
+
Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L52)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [theme.service.ts:58](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
80
80
|
|
|
81
81
|
> `readonly` **themeName**: `WritableSignal`\<`string`\>
|
|
82
82
|
|
|
83
|
-
Defined in: [theme.service.ts:
|
|
83
|
+
Defined in: [theme.service.ts:55](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L55)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,33 +88,15 @@ Defined in: [theme.service.ts:52](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
88
88
|
|
|
89
89
|
> `readonly` **typography**: `WritableSignal`\<`string`\>
|
|
90
90
|
|
|
91
|
-
Defined in: [theme.service.ts:
|
|
91
|
+
Defined in: [theme.service.ts:57](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L57)
|
|
92
92
|
|
|
93
93
|
## Methods
|
|
94
94
|
|
|
95
|
-
### applyDarkMode()
|
|
96
|
-
|
|
97
|
-
> **applyDarkMode**(`darkMode`): `void`
|
|
98
|
-
|
|
99
|
-
Defined in: [theme.service.ts:258](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/theme/src/lib/theme.service.ts#L258)
|
|
100
|
-
|
|
101
|
-
#### Parameters
|
|
102
|
-
|
|
103
|
-
##### darkMode
|
|
104
|
-
|
|
105
|
-
`boolean`
|
|
106
|
-
|
|
107
|
-
#### Returns
|
|
108
|
-
|
|
109
|
-
`void`
|
|
110
|
-
|
|
111
|
-
***
|
|
112
|
-
|
|
113
95
|
### applyDensity()
|
|
114
96
|
|
|
115
97
|
> **applyDensity**(`density`): `void`
|
|
116
98
|
|
|
117
|
-
Defined in: [theme.service.ts:
|
|
99
|
+
Defined in: [theme.service.ts:209](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L209)
|
|
118
100
|
|
|
119
101
|
#### Parameters
|
|
120
102
|
|
|
@@ -132,7 +114,7 @@ Defined in: [theme.service.ts:274](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
132
114
|
|
|
133
115
|
> **applyTheme**(`themeName`): `void`
|
|
134
116
|
|
|
135
|
-
Defined in: [theme.service.ts:
|
|
117
|
+
Defined in: [theme.service.ts:220](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L220)
|
|
136
118
|
|
|
137
119
|
#### Parameters
|
|
138
120
|
|
|
@@ -150,7 +132,7 @@ Defined in: [theme.service.ts:285](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
150
132
|
|
|
151
133
|
> **applyTypography**(`typography`): `void`
|
|
152
134
|
|
|
153
|
-
Defined in: [theme.service.ts:
|
|
135
|
+
Defined in: [theme.service.ts:216](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L216)
|
|
154
136
|
|
|
155
137
|
#### Parameters
|
|
156
138
|
|
|
@@ -168,7 +150,7 @@ Defined in: [theme.service.ts:281](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
168
150
|
|
|
169
151
|
> **getAvailableColorPalettes**(): `null` \| `string`[]
|
|
170
152
|
|
|
171
|
-
Defined in: [theme.service.ts:
|
|
153
|
+
Defined in: [theme.service.ts:283](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L283)
|
|
172
154
|
|
|
173
155
|
#### Returns
|
|
174
156
|
|
|
@@ -180,7 +162,7 @@ Defined in: [theme.service.ts:348](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
180
162
|
|
|
181
163
|
> **getAvailableThemes**(): `null` \| `string`[]
|
|
182
164
|
|
|
183
|
-
Defined in: [theme.service.ts:
|
|
165
|
+
Defined in: [theme.service.ts:293](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L293)
|
|
184
166
|
|
|
185
167
|
#### Returns
|
|
186
168
|
|
|
@@ -192,7 +174,7 @@ Defined in: [theme.service.ts:358](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
192
174
|
|
|
193
175
|
> **getAvailableTypographies**(): `null` \| `string`[]
|
|
194
176
|
|
|
195
|
-
Defined in: [theme.service.ts:
|
|
177
|
+
Defined in: [theme.service.ts:303](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L303)
|
|
196
178
|
|
|
197
179
|
#### Returns
|
|
198
180
|
|
|
@@ -204,7 +186,7 @@ Defined in: [theme.service.ts:368](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
204
186
|
|
|
205
187
|
> **getColorPalette**(`colorPaletteName`): `Partial`\<[`ColorPalette`](../interfaces/ColorPalette.md)\>
|
|
206
188
|
|
|
207
|
-
Defined in: [theme.service.ts:
|
|
189
|
+
Defined in: [theme.service.ts:322](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L322)
|
|
208
190
|
|
|
209
191
|
#### Parameters
|
|
210
192
|
|
|
@@ -222,7 +204,7 @@ Defined in: [theme.service.ts:387](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
222
204
|
|
|
223
205
|
> **getDensity**(): `ThemeDensity`
|
|
224
206
|
|
|
225
|
-
Defined in: [theme.service.ts:
|
|
207
|
+
Defined in: [theme.service.ts:255](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L255)
|
|
226
208
|
|
|
227
209
|
#### Returns
|
|
228
210
|
|
|
@@ -234,7 +216,7 @@ Defined in: [theme.service.ts:320](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
234
216
|
|
|
235
217
|
> **getTheme**(): `string`
|
|
236
218
|
|
|
237
|
-
Defined in: [theme.service.ts:
|
|
219
|
+
Defined in: [theme.service.ts:275](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L275)
|
|
238
220
|
|
|
239
221
|
#### Returns
|
|
240
222
|
|
|
@@ -246,7 +228,7 @@ Defined in: [theme.service.ts:340](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
246
228
|
|
|
247
229
|
> **getTypography**(): `string`
|
|
248
230
|
|
|
249
|
-
Defined in: [theme.service.ts:
|
|
231
|
+
Defined in: [theme.service.ts:266](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L266)
|
|
250
232
|
|
|
251
233
|
#### Returns
|
|
252
234
|
|
|
@@ -258,7 +240,7 @@ Defined in: [theme.service.ts:331](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
258
240
|
|
|
259
241
|
> **restore**(): `void`
|
|
260
242
|
|
|
261
|
-
Defined in: [theme.service.ts:
|
|
243
|
+
Defined in: [theme.service.ts:67](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L67)
|
|
262
244
|
|
|
263
245
|
#### Returns
|
|
264
246
|
|
|
@@ -266,23 +248,11 @@ Defined in: [theme.service.ts:71](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
266
248
|
|
|
267
249
|
***
|
|
268
250
|
|
|
269
|
-
### restoreDarkMode()
|
|
270
|
-
|
|
271
|
-
> **restoreDarkMode**(): `null` \| `boolean`
|
|
272
|
-
|
|
273
|
-
Defined in: [theme.service.ts:149](https://gitlab.com/rxap/packages/-/blob/e4552670b179901abc7ce57cc3ff490ac705b867/packages/angular/theme/src/lib/theme.service.ts#L149)
|
|
274
|
-
|
|
275
|
-
#### Returns
|
|
276
|
-
|
|
277
|
-
`null` \| `boolean`
|
|
278
|
-
|
|
279
|
-
***
|
|
280
|
-
|
|
281
251
|
### restoreDensity()
|
|
282
252
|
|
|
283
253
|
> **restoreDensity**(): `null` \| `ThemeDensity`
|
|
284
254
|
|
|
285
|
-
Defined in: [theme.service.ts:
|
|
255
|
+
Defined in: [theme.service.ts:140](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L140)
|
|
286
256
|
|
|
287
257
|
#### Returns
|
|
288
258
|
|
|
@@ -294,7 +264,7 @@ Defined in: [theme.service.ts:180](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
294
264
|
|
|
295
265
|
> `protected` **restoreFromPubSub**(): `void`
|
|
296
266
|
|
|
297
|
-
Defined in: [theme.service.ts:
|
|
267
|
+
Defined in: [theme.service.ts:79](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L79)
|
|
298
268
|
|
|
299
269
|
#### Returns
|
|
300
270
|
|
|
@@ -306,7 +276,7 @@ Defined in: [theme.service.ts:92](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
306
276
|
|
|
307
277
|
> **restoreThemeName**(): `null` \| `string`
|
|
308
278
|
|
|
309
|
-
Defined in: [theme.service.ts:
|
|
279
|
+
Defined in: [theme.service.ts:124](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L124)
|
|
310
280
|
|
|
311
281
|
#### Returns
|
|
312
282
|
|
|
@@ -318,7 +288,7 @@ Defined in: [theme.service.ts:164](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
318
288
|
|
|
319
289
|
> **restoreTypography**(): `null` \| `string`
|
|
320
290
|
|
|
321
|
-
Defined in: [theme.service.ts:
|
|
291
|
+
Defined in: [theme.service.ts:132](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L132)
|
|
322
292
|
|
|
323
293
|
#### Returns
|
|
324
294
|
|
|
@@ -330,7 +300,7 @@ Defined in: [theme.service.ts:172](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
330
300
|
|
|
331
301
|
> **setDarkTheme**(`darkMode`, `silent`, `publish`): `void`
|
|
332
302
|
|
|
333
|
-
Defined in: [theme.service.ts:
|
|
303
|
+
Defined in: [theme.service.ts:160](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L160)
|
|
334
304
|
|
|
335
305
|
#### Parameters
|
|
336
306
|
|
|
@@ -356,7 +326,7 @@ Defined in: [theme.service.ts:200](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
356
326
|
|
|
357
327
|
> **setDensity**(`density`, `silent`, `publish`): `void`
|
|
358
328
|
|
|
359
|
-
Defined in: [theme.service.ts:
|
|
329
|
+
Defined in: [theme.service.ts:164](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L164)
|
|
360
330
|
|
|
361
331
|
#### Parameters
|
|
362
332
|
|
|
@@ -382,7 +352,7 @@ Defined in: [theme.service.ts:213](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
382
352
|
|
|
383
353
|
> **setTheme**(`themeName`, `silent`, `publish`): `void`
|
|
384
354
|
|
|
385
|
-
Defined in: [theme.service.ts:
|
|
355
|
+
Defined in: [theme.service.ts:190](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L190)
|
|
386
356
|
|
|
387
357
|
#### Parameters
|
|
388
358
|
|
|
@@ -408,7 +378,7 @@ Defined in: [theme.service.ts:239](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
408
378
|
|
|
409
379
|
> **setTypography**(`typography`, `silent`, `publish`): `void`
|
|
410
380
|
|
|
411
|
-
Defined in: [theme.service.ts:
|
|
381
|
+
Defined in: [theme.service.ts:177](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L177)
|
|
412
382
|
|
|
413
383
|
#### Parameters
|
|
414
384
|
|
|
@@ -434,7 +404,7 @@ Defined in: [theme.service.ts:226](https://gitlab.com/rxap/packages/-/blob/e4552
|
|
|
434
404
|
|
|
435
405
|
> **toggleDarkTheme**(): `void`
|
|
436
406
|
|
|
437
|
-
Defined in: [theme.service.ts:
|
|
407
|
+
Defined in: [theme.service.ts:154](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L154)
|
|
438
408
|
|
|
439
409
|
#### Returns
|
|
440
410
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.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/b32f110144dafee760d535d217a2855e77f154a5/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/b32f110144dafee760d535d217a2855e77f154a5/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/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L26)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.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/b32f110144dafee760d535d217a2855e77f154a5/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.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.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/b32f110144dafee760d535d217a2855e77f154a5/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.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.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/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/provide.ts#L7)
|
|
12
12
|
|
|
13
13
|
## Returns
|
|
14
14
|
|
package/docs/markdown/globals.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.0-dev.0**](README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# @rxap/ngx-theme v19.0
|
|
5
|
+
# @rxap/ngx-theme v19.1.0-dev.0
|
|
6
6
|
|
|
7
7
|
## Enumerations
|
|
8
8
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## Classes
|
|
12
12
|
|
|
13
|
+
- [ThemeModeService](classes/ThemeModeService.md)
|
|
13
14
|
- [ThemeService](classes/ThemeService.md)
|
|
14
15
|
|
|
15
16
|
## Interfaces
|
|
@@ -19,6 +20,15 @@
|
|
|
19
20
|
- [ColorPaletteConfigWithName](interfaces/ColorPaletteConfigWithName.md)
|
|
20
21
|
- [ThemeConfig](interfaces/ThemeConfig.md)
|
|
21
22
|
|
|
23
|
+
## Type Aliases
|
|
24
|
+
|
|
25
|
+
- [ActiveTheme](type-aliases/ActiveTheme.md)
|
|
26
|
+
- [ThemeSetting](type-aliases/ThemeSetting.md)
|
|
27
|
+
|
|
28
|
+
## Variables
|
|
29
|
+
|
|
30
|
+
- [THEME\_SETTING\_KEY](variables/THEME_SETTING_KEY.md)
|
|
31
|
+
|
|
22
32
|
## Functions
|
|
23
33
|
|
|
24
34
|
- [ComputeColorPalette](functions/ComputeColorPalette.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.0-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: ColorPalette
|
|
8
8
|
|
|
9
|
-
Defined in: [compute-color-palette.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
Defined in: [compute-color-palette.ts:8](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L8)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [compute-color-palette.ts:8](https://gitlab.com/rxap/packages/-/blob
|
|
|
14
14
|
|
|
15
15
|
> **100**: `string`
|
|
16
16
|
|
|
17
|
-
Defined in: [compute-color-palette.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [compute-color-palette.ts:10](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L10)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Defined in: [compute-color-palette.ts:10](https://gitlab.com/rxap/packages/-/blo
|
|
|
22
22
|
|
|
23
23
|
> **200**: `string`
|
|
24
24
|
|
|
25
|
-
Defined in: [compute-color-palette.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
25
|
+
Defined in: [compute-color-palette.ts:11](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L11)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [compute-color-palette.ts:11](https://gitlab.com/rxap/packages/-/blo
|
|
|
30
30
|
|
|
31
31
|
> **300**: `string`
|
|
32
32
|
|
|
33
|
-
Defined in: [compute-color-palette.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [compute-color-palette.ts:12](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L12)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Defined in: [compute-color-palette.ts:12](https://gitlab.com/rxap/packages/-/blo
|
|
|
38
38
|
|
|
39
39
|
> **400**: `string`
|
|
40
40
|
|
|
41
|
-
Defined in: [compute-color-palette.ts:13](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
Defined in: [compute-color-palette.ts:13](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L13)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ Defined in: [compute-color-palette.ts:13](https://gitlab.com/rxap/packages/-/blo
|
|
|
46
46
|
|
|
47
47
|
> **50**: `string`
|
|
48
48
|
|
|
49
|
-
Defined in: [compute-color-palette.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
Defined in: [compute-color-palette.ts:9](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L9)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ Defined in: [compute-color-palette.ts:9](https://gitlab.com/rxap/packages/-/blob
|
|
|
54
54
|
|
|
55
55
|
> **500**: `string`
|
|
56
56
|
|
|
57
|
-
Defined in: [compute-color-palette.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
57
|
+
Defined in: [compute-color-palette.ts:14](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L14)
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ Defined in: [compute-color-palette.ts:14](https://gitlab.com/rxap/packages/-/blo
|
|
|
62
62
|
|
|
63
63
|
> **600**: `string`
|
|
64
64
|
|
|
65
|
-
Defined in: [compute-color-palette.ts:15](https://gitlab.com/rxap/packages/-/blob/
|
|
65
|
+
Defined in: [compute-color-palette.ts:15](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L15)
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ Defined in: [compute-color-palette.ts:15](https://gitlab.com/rxap/packages/-/blo
|
|
|
70
70
|
|
|
71
71
|
> **700**: `string`
|
|
72
72
|
|
|
73
|
-
Defined in: [compute-color-palette.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
73
|
+
Defined in: [compute-color-palette.ts:16](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L16)
|
|
74
74
|
|
|
75
75
|
***
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ Defined in: [compute-color-palette.ts:16](https://gitlab.com/rxap/packages/-/blo
|
|
|
78
78
|
|
|
79
79
|
> **800**: `string`
|
|
80
80
|
|
|
81
|
-
Defined in: [compute-color-palette.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
81
|
+
Defined in: [compute-color-palette.ts:17](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L17)
|
|
82
82
|
|
|
83
83
|
***
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Defined in: [compute-color-palette.ts:17](https://gitlab.com/rxap/packages/-/blo
|
|
|
86
86
|
|
|
87
87
|
> **900**: `string`
|
|
88
88
|
|
|
89
|
-
Defined in: [compute-color-palette.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
89
|
+
Defined in: [compute-color-palette.ts:18](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L18)
|
|
90
90
|
|
|
91
91
|
***
|
|
92
92
|
|
|
@@ -94,7 +94,7 @@ Defined in: [compute-color-palette.ts:18](https://gitlab.com/rxap/packages/-/blo
|
|
|
94
94
|
|
|
95
95
|
> **A100**: `string`
|
|
96
96
|
|
|
97
|
-
Defined in: [compute-color-palette.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
97
|
+
Defined in: [compute-color-palette.ts:19](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L19)
|
|
98
98
|
|
|
99
99
|
***
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ Defined in: [compute-color-palette.ts:19](https://gitlab.com/rxap/packages/-/blo
|
|
|
102
102
|
|
|
103
103
|
> **A200**: `string`
|
|
104
104
|
|
|
105
|
-
Defined in: [compute-color-palette.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
105
|
+
Defined in: [compute-color-palette.ts:20](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L20)
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ Defined in: [compute-color-palette.ts:20](https://gitlab.com/rxap/packages/-/blo
|
|
|
110
110
|
|
|
111
111
|
> **A400**: `string`
|
|
112
112
|
|
|
113
|
-
Defined in: [compute-color-palette.ts:21](https://gitlab.com/rxap/packages/-/blob/
|
|
113
|
+
Defined in: [compute-color-palette.ts:21](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L21)
|
|
114
114
|
|
|
115
115
|
***
|
|
116
116
|
|
|
@@ -118,4 +118,4 @@ Defined in: [compute-color-palette.ts:21](https://gitlab.com/rxap/packages/-/blo
|
|
|
118
118
|
|
|
119
119
|
> **A700**: `string`
|
|
120
120
|
|
|
121
|
-
Defined in: [compute-color-palette.ts:22](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [compute-color-palette.ts:22](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/compute-color-palette.ts#L22)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/ngx-theme v19.0
|
|
1
|
+
[**@rxap/ngx-theme v19.1.0-dev.0**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: ColorPaletteConfig
|
|
8
8
|
|
|
9
|
-
Defined in: [theme.service.ts:
|
|
9
|
+
Defined in: [theme.service.ts:40](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L40)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Defined in: [theme.service.ts:39](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
18
18
|
|
|
19
19
|
> `optional` **algorithm**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [theme.service.ts:
|
|
21
|
+
Defined in: [theme.service.ts:41](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L41)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [theme.service.ts:40](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
26
26
|
|
|
27
27
|
> `optional` **base**: `string`
|
|
28
28
|
|
|
29
|
-
Defined in: [theme.service.ts:
|
|
29
|
+
Defined in: [theme.service.ts:42](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L42)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,4 +34,4 @@ Defined in: [theme.service.ts:41](https://gitlab.com/rxap/packages/-/blob/e45526
|
|
|
34
34
|
|
|
35
35
|
> `optional` **color**: `Partial`\<[`ColorPalette`](ColorPalette.md)\>
|
|
36
36
|
|
|
37
|
-
Defined in: [theme.service.ts:
|
|
37
|
+
Defined in: [theme.service.ts:43](https://gitlab.com/rxap/packages/-/blob/b32f110144dafee760d535d217a2855e77f154a5/packages/angular/theme/src/lib/theme.service.ts#L43)
|