@rxap/ngx-theme 19.1.0-dev.0 → 19.1.0-dev.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 +6 -0
- package/README.md +1 -1
- package/compodoc/changelog.html +5 -0
- package/compodoc/classes/ThemeColor.html +874 -0
- package/compodoc/dependencies.html +3 -1
- package/compodoc/index.html +1 -1
- package/compodoc/interfaces/BasePalette.html +844 -0
- package/compodoc/interfaces/ThemeColors.html +898 -0
- package/compodoc/js/menu-wc.js +19 -0
- package/compodoc/js/menu-wc_es5.js +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/functions.html +60 -1
- package/compodoc/miscellaneous/typealiases.html +129 -0
- package/compodoc/miscellaneous/variables.html +161 -0
- package/compodoc/overview.html +9 -1
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +1088 -464
- package/docs/html/assets/hierarchy.js +1 -1
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/ThemeColor.html +4 -0
- 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/applyThemeColorBootstrapHook.html +1 -0
- package/docs/html/functions/provideTheme.html +1 -1
- package/docs/html/hierarchy.html +1 -1
- package/docs/html/index.html +3 -3
- 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/ThemeColors.html +7 -0
- 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 +2 -2
- package/docs/markdown/classes/ThemeColor.md +83 -0
- 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/applyThemeColorBootstrapHook.md +31 -0
- package/docs/markdown/functions/provideTheme.md +2 -2
- package/docs/markdown/globals.md +5 -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/ThemeColors.md +57 -0
- 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.ThemeColor.md +79 -0
- 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.applyThemeColorBootstrapHook.md +27 -0
- package/docs/wiki/Function.provideTheme.md +1 -1
- package/docs/wiki/Home.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.ThemeColors.md +53 -0
- 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/_Sidebar.md +3 -0
- package/docs/wiki/globals.md +4 -1
- package/fesm2022/rxap-ngx-theme.mjs +251 -1
- package/fesm2022/rxap-ngx-theme.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/theme-color.d.ts +29 -0
- package/package.json +5 -4
|
@@ -0,0 +1,874 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="no-js" lang="">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
6
|
+
<title>angular-theme</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
11
|
+
<link rel="stylesheet" href="../styles/style.css">
|
|
12
|
+
<link rel="stylesheet" href="../styles/dark.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<script>
|
|
16
|
+
// Blocking script to avoid flickering dark mode
|
|
17
|
+
// Dark mode toggle button
|
|
18
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
19
|
+
var darkModeState = useDark.matches;
|
|
20
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
21
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
22
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
23
|
+
|
|
24
|
+
function checkToggle(check) {
|
|
25
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
26
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function toggleDarkMode(state) {
|
|
31
|
+
if (window.localStorage) {
|
|
32
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
checkToggle(state);
|
|
36
|
+
|
|
37
|
+
const hasClass = document.body.classList.contains('dark');
|
|
38
|
+
|
|
39
|
+
if (state) {
|
|
40
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
41
|
+
$darkModeToggles[i].classList.add('dark');
|
|
42
|
+
}
|
|
43
|
+
if (!hasClass) {
|
|
44
|
+
document.body.classList.add('dark');
|
|
45
|
+
}
|
|
46
|
+
} else {
|
|
47
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
48
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
49
|
+
}
|
|
50
|
+
if (hasClass) {
|
|
51
|
+
document.body.classList.remove('dark');
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
useDark.addEventListener('change', function (evt) {
|
|
57
|
+
toggleDarkMode(evt.matches);
|
|
58
|
+
});
|
|
59
|
+
if (darkModeStateLocal) {
|
|
60
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
61
|
+
}
|
|
62
|
+
toggleDarkMode(darkModeState);
|
|
63
|
+
</script>
|
|
64
|
+
|
|
65
|
+
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
|
+
<div class="d-flex">
|
|
67
|
+
<a href="../" class="navbar-brand">angular-theme</a>
|
|
68
|
+
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
+
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="container-fluid main">
|
|
77
|
+
<div class="row main">
|
|
78
|
+
<div class="d-none d-md-block menu">
|
|
79
|
+
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
|
+
</div>
|
|
81
|
+
<!-- START CONTENT -->
|
|
82
|
+
<div class="content class">
|
|
83
|
+
<div class="content-data">
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
<ol class="breadcrumb">
|
|
97
|
+
<li class="breadcrumb-item">Classes</li>
|
|
98
|
+
<li class="breadcrumb-item" >ThemeColor</li>
|
|
99
|
+
</ol>
|
|
100
|
+
|
|
101
|
+
<ul class="nav nav-tabs" role="tablist">
|
|
102
|
+
<li class="nav-item">
|
|
103
|
+
<a href="#info"
|
|
104
|
+
class="nav-link"
|
|
105
|
+
class="nav-link active"
|
|
106
|
+
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
107
|
+
</li>
|
|
108
|
+
<li class="nav-item">
|
|
109
|
+
<a href="#source"
|
|
110
|
+
class="nav-link"
|
|
111
|
+
|
|
112
|
+
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
113
|
+
</li>
|
|
114
|
+
</ul>
|
|
115
|
+
|
|
116
|
+
<div class="tab-content">
|
|
117
|
+
<div class="tab-pane fade active in" id="info">
|
|
118
|
+
<p class="comment">
|
|
119
|
+
<h3>File</h3>
|
|
120
|
+
</p>
|
|
121
|
+
<p class="comment">
|
|
122
|
+
<code>src/lib/theme-color.ts</code>
|
|
123
|
+
</p>
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
<section data-compodoc="block-index">
|
|
131
|
+
<h3 id="index">Index</h3>
|
|
132
|
+
<table class="table table-sm table-bordered index-table">
|
|
133
|
+
<tbody>
|
|
134
|
+
|
|
135
|
+
<tr>
|
|
136
|
+
<td class="col-md-4">
|
|
137
|
+
<h6><b>Methods</b></h6>
|
|
138
|
+
</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td class="col-md-4">
|
|
142
|
+
<ul class="index-list">
|
|
143
|
+
<li>
|
|
144
|
+
<span class="modifier">Static</span>
|
|
145
|
+
<a href="#apply" >apply</a>
|
|
146
|
+
</li>
|
|
147
|
+
<li>
|
|
148
|
+
<a href="#apply" >apply</a>
|
|
149
|
+
</li>
|
|
150
|
+
</ul>
|
|
151
|
+
</td>
|
|
152
|
+
</tr>
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
</tbody>
|
|
159
|
+
</table>
|
|
160
|
+
</section>
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
<section data-compodoc="block-methods">
|
|
165
|
+
|
|
166
|
+
<h3 id="methods">
|
|
167
|
+
Methods
|
|
168
|
+
</h3>
|
|
169
|
+
<table class="table table-sm table-bordered">
|
|
170
|
+
<tbody>
|
|
171
|
+
<tr>
|
|
172
|
+
<td class="col-md-4">
|
|
173
|
+
<a name="apply"></a>
|
|
174
|
+
<span class="name">
|
|
175
|
+
<span class="modifier">Static</span>
|
|
176
|
+
<span ><b>apply</b></span>
|
|
177
|
+
<a href="#apply"><span class="icon ion-ios-link"></span></a>
|
|
178
|
+
</span>
|
|
179
|
+
</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<td class="col-md-4">
|
|
183
|
+
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
184
|
+
<code>apply(document: Document, undefined: <a href="../interfaces/ThemeColors.html" target="_self">ThemeColors</a>)</code>
|
|
185
|
+
</td>
|
|
186
|
+
</tr>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
<tr>
|
|
190
|
+
<td class="col-md-4">
|
|
191
|
+
<div class="io-line">Defined in <a href="" data-line="189"
|
|
192
|
+
class="link-to-prism">src/lib/theme-color.ts:189</a></div>
|
|
193
|
+
</td>
|
|
194
|
+
</tr>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
<tr>
|
|
198
|
+
<td class="col-md-4">
|
|
199
|
+
|
|
200
|
+
<div class="io-description">
|
|
201
|
+
<b>Parameters :</b>
|
|
202
|
+
|
|
203
|
+
<table class="params">
|
|
204
|
+
<thead>
|
|
205
|
+
<tr>
|
|
206
|
+
<td>Name</td>
|
|
207
|
+
<td>Type</td>
|
|
208
|
+
<td>Optional</td>
|
|
209
|
+
</tr>
|
|
210
|
+
</thead>
|
|
211
|
+
<tbody>
|
|
212
|
+
<tr>
|
|
213
|
+
<td>document</td>
|
|
214
|
+
<td>
|
|
215
|
+
<code>Document</code>
|
|
216
|
+
</td>
|
|
217
|
+
|
|
218
|
+
<td>
|
|
219
|
+
No
|
|
220
|
+
</td>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
</tr>
|
|
224
|
+
<tr>
|
|
225
|
+
<td>
|
|
226
|
+
<code><a href="../interfaces/ThemeColors.html" target="_self" >ThemeColors</a></code>
|
|
227
|
+
</td>
|
|
228
|
+
|
|
229
|
+
<td>
|
|
230
|
+
No
|
|
231
|
+
</td>
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</tr>
|
|
235
|
+
</tbody>
|
|
236
|
+
</table>
|
|
237
|
+
</div>
|
|
238
|
+
<div class="io-description">
|
|
239
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
240
|
+
|
|
241
|
+
</div>
|
|
242
|
+
<div class="io-description">
|
|
243
|
+
|
|
244
|
+
</div>
|
|
245
|
+
</td>
|
|
246
|
+
</tr>
|
|
247
|
+
</tbody>
|
|
248
|
+
</table>
|
|
249
|
+
<table class="table table-sm table-bordered">
|
|
250
|
+
<tbody>
|
|
251
|
+
<tr>
|
|
252
|
+
<td class="col-md-4">
|
|
253
|
+
<a name="apply"></a>
|
|
254
|
+
<span class="name">
|
|
255
|
+
<span ><b>apply</b></span>
|
|
256
|
+
<a href="#apply"><span class="icon ion-ios-link"></span></a>
|
|
257
|
+
</span>
|
|
258
|
+
</td>
|
|
259
|
+
</tr>
|
|
260
|
+
<tr>
|
|
261
|
+
<td class="col-md-4">
|
|
262
|
+
<code>apply(document: Document, primary: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, secondary?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, tertiary?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, neutral?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, neutralVariant?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, error?: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
263
|
+
</td>
|
|
264
|
+
</tr>
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
<tr>
|
|
268
|
+
<td class="col-md-4">
|
|
269
|
+
<div class="io-line">Defined in <a href="" data-line="350"
|
|
270
|
+
class="link-to-prism">src/lib/theme-color.ts:350</a></div>
|
|
271
|
+
</td>
|
|
272
|
+
</tr>
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
<tr>
|
|
276
|
+
<td class="col-md-4">
|
|
277
|
+
|
|
278
|
+
<div class="io-description">
|
|
279
|
+
<b>Parameters :</b>
|
|
280
|
+
|
|
281
|
+
<table class="params">
|
|
282
|
+
<thead>
|
|
283
|
+
<tr>
|
|
284
|
+
<td>Name</td>
|
|
285
|
+
<td>Type</td>
|
|
286
|
+
<td>Optional</td>
|
|
287
|
+
</tr>
|
|
288
|
+
</thead>
|
|
289
|
+
<tbody>
|
|
290
|
+
<tr>
|
|
291
|
+
<td>document</td>
|
|
292
|
+
<td>
|
|
293
|
+
<code>Document</code>
|
|
294
|
+
</td>
|
|
295
|
+
|
|
296
|
+
<td>
|
|
297
|
+
No
|
|
298
|
+
</td>
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</tr>
|
|
302
|
+
<tr>
|
|
303
|
+
<td>primary</td>
|
|
304
|
+
<td>
|
|
305
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
306
|
+
</td>
|
|
307
|
+
|
|
308
|
+
<td>
|
|
309
|
+
No
|
|
310
|
+
</td>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
</tr>
|
|
314
|
+
<tr>
|
|
315
|
+
<td>secondary</td>
|
|
316
|
+
<td>
|
|
317
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
318
|
+
</td>
|
|
319
|
+
|
|
320
|
+
<td>
|
|
321
|
+
Yes
|
|
322
|
+
</td>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
</tr>
|
|
326
|
+
<tr>
|
|
327
|
+
<td>tertiary</td>
|
|
328
|
+
<td>
|
|
329
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
330
|
+
</td>
|
|
331
|
+
|
|
332
|
+
<td>
|
|
333
|
+
Yes
|
|
334
|
+
</td>
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
</tr>
|
|
338
|
+
<tr>
|
|
339
|
+
<td>neutral</td>
|
|
340
|
+
<td>
|
|
341
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
342
|
+
</td>
|
|
343
|
+
|
|
344
|
+
<td>
|
|
345
|
+
Yes
|
|
346
|
+
</td>
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
</tr>
|
|
350
|
+
<tr>
|
|
351
|
+
<td>neutralVariant</td>
|
|
352
|
+
<td>
|
|
353
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
354
|
+
</td>
|
|
355
|
+
|
|
356
|
+
<td>
|
|
357
|
+
Yes
|
|
358
|
+
</td>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td>error</td>
|
|
364
|
+
<td>
|
|
365
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
366
|
+
</td>
|
|
367
|
+
|
|
368
|
+
<td>
|
|
369
|
+
Yes
|
|
370
|
+
</td>
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
</tr>
|
|
374
|
+
</tbody>
|
|
375
|
+
</table>
|
|
376
|
+
</div>
|
|
377
|
+
<div class="io-description">
|
|
378
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
379
|
+
|
|
380
|
+
</div>
|
|
381
|
+
<div class="io-description">
|
|
382
|
+
|
|
383
|
+
</div>
|
|
384
|
+
</td>
|
|
385
|
+
</tr>
|
|
386
|
+
</tbody>
|
|
387
|
+
</table>
|
|
388
|
+
</section>
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
</div>
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
<div class="tab-pane fade tab-source-code" id="source">
|
|
398
|
+
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
399
|
+
CorePalette,
|
|
400
|
+
TonalPalette
|
|
401
|
+
} from '@material/material-color-utilities';
|
|
402
|
+
import { ConfigService } from '@rxap/config';
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Represents the tone scale numbers used in Material Design palettes.
|
|
406
|
+
* Includes standard tones and specific neutral tones used for surfaces.
|
|
407
|
+
*/
|
|
408
|
+
type Tone =
|
|
409
|
+
| 0
|
|
410
|
+
| 4
|
|
411
|
+
| 6
|
|
412
|
+
| 10
|
|
413
|
+
| 12
|
|
414
|
+
| 17
|
|
415
|
+
| 20
|
|
416
|
+
| 22
|
|
417
|
+
| 24
|
|
418
|
+
| 25
|
|
419
|
+
| 30
|
|
420
|
+
| 35
|
|
421
|
+
| 40
|
|
422
|
+
| 50
|
|
423
|
+
| 60
|
|
424
|
+
| 70
|
|
425
|
+
| 80
|
|
426
|
+
| 87
|
|
427
|
+
| 90
|
|
428
|
+
| 92
|
|
429
|
+
| 94
|
|
430
|
+
| 95
|
|
431
|
+
| 96
|
|
432
|
+
| 98
|
|
433
|
+
| 99
|
|
434
|
+
| 100;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Represents a color value, typically a hex string.
|
|
438
|
+
*/
|
|
439
|
+
type ColorValue = string;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Represents a palette mapping tones to color values.
|
|
443
|
+
*/
|
|
444
|
+
type TonePalette = Partial<Record<Tone, ColorValue>>;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Represents the full structure of a Material Design base palette,
|
|
448
|
+
* including primary tones and nested palettes for secondary, neutral,
|
|
449
|
+
* neutral-variant, and error colors.
|
|
450
|
+
*/
|
|
451
|
+
interface BasePalette extends TonePalette {
|
|
452
|
+
secondary: TonePalette;
|
|
453
|
+
tertiary: TonePalette;
|
|
454
|
+
neutral: TonePalette;
|
|
455
|
+
neutralVariant: TonePalette;
|
|
456
|
+
error: TonePalette;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Defines the possible theme types.
|
|
461
|
+
*/
|
|
462
|
+
type ThemeType = 'light' | 'dark';
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Represents the output map of CSS variable names to their color values.
|
|
466
|
+
* e.g., { '--mat-sys-primary': '#6750A4', ... }
|
|
467
|
+
*/
|
|
468
|
+
type CssVariables = Record<string, ColorValue>;
|
|
469
|
+
|
|
470
|
+
// --- Mappings from System Roles to Reference Palette Keys ---
|
|
471
|
+
|
|
472
|
+
const lightRoleToRefKeyMap: Record<string, string> = {
|
|
473
|
+
background: 'neutral98',
|
|
474
|
+
error: 'error40',
|
|
475
|
+
'error-container': 'error90',
|
|
476
|
+
'inverse-on-surface': 'neutral95',
|
|
477
|
+
'inverse-primary': 'primary80',
|
|
478
|
+
'inverse-surface': 'neutral20',
|
|
479
|
+
'on-background': 'neutral10',
|
|
480
|
+
'on-error': 'error100',
|
|
481
|
+
'on-error-container': 'error10',
|
|
482
|
+
'on-primary': 'primary100',
|
|
483
|
+
'on-primary-container': 'primary10',
|
|
484
|
+
'on-primary-fixed': 'primary10',
|
|
485
|
+
'on-primary-fixed-variant': 'primary30',
|
|
486
|
+
'on-secondary': 'secondary100',
|
|
487
|
+
'on-secondary-container': 'secondary10',
|
|
488
|
+
'on-secondary-fixed': 'secondary10',
|
|
489
|
+
'on-secondary-fixed-variant': 'secondary30',
|
|
490
|
+
'on-surface': 'neutral10',
|
|
491
|
+
'on-surface-variant': 'neutral-variant30',
|
|
492
|
+
'on-tertiary': 'tertiary100',
|
|
493
|
+
'on-tertiary-container': 'tertiary10',
|
|
494
|
+
'on-tertiary-fixed': 'tertiary10',
|
|
495
|
+
'on-tertiary-fixed-variant': 'tertiary30',
|
|
496
|
+
outline: 'neutral-variant50',
|
|
497
|
+
'outline-variant': 'neutral-variant80',
|
|
498
|
+
primary: 'primary40',
|
|
499
|
+
'primary-container': 'primary90',
|
|
500
|
+
'primary-fixed': 'primary90',
|
|
501
|
+
'primary-fixed-dim': 'primary80',
|
|
502
|
+
scrim: 'neutral0',
|
|
503
|
+
secondary: 'secondary40',
|
|
504
|
+
'secondary-container': 'secondary90',
|
|
505
|
+
'secondary-fixed': 'secondary90',
|
|
506
|
+
'secondary-fixed-dim': 'secondary80',
|
|
507
|
+
shadow: 'neutral0',
|
|
508
|
+
surface: 'neutral98',
|
|
509
|
+
'surface-bright': 'neutral98',
|
|
510
|
+
'surface-container': 'neutral94',
|
|
511
|
+
'surface-container-high': 'neutral92',
|
|
512
|
+
'surface-container-highest': 'neutral90',
|
|
513
|
+
'surface-container-low': 'neutral96',
|
|
514
|
+
'surface-container-lowest': 'neutral100',
|
|
515
|
+
'surface-dim': 'neutral87',
|
|
516
|
+
'surface-tint': 'primary40',
|
|
517
|
+
'surface-variant': 'neutral-variant90',
|
|
518
|
+
tertiary: 'tertiary40',
|
|
519
|
+
'tertiary-container': 'tertiary90',
|
|
520
|
+
'tertiary-fixed': 'tertiary90',
|
|
521
|
+
'tertiary-fixed-dim': 'tertiary80',
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
const darkRoleToRefKeyMap: Record<string, string> = {
|
|
525
|
+
background: 'neutral6',
|
|
526
|
+
error: 'error80',
|
|
527
|
+
'error-container': 'error30',
|
|
528
|
+
'inverse-on-surface': 'neutral20',
|
|
529
|
+
'inverse-primary': 'primary40',
|
|
530
|
+
'inverse-surface': 'neutral90',
|
|
531
|
+
'on-background': 'neutral90',
|
|
532
|
+
'on-error': 'error20',
|
|
533
|
+
'on-error-container': 'error90',
|
|
534
|
+
'on-primary': 'primary20',
|
|
535
|
+
'on-primary-container': 'primary90',
|
|
536
|
+
'on-primary-fixed': 'primary10',
|
|
537
|
+
'on-primary-fixed-variant': 'primary30',
|
|
538
|
+
'on-secondary': 'secondary20',
|
|
539
|
+
'on-secondary-container': 'secondary90',
|
|
540
|
+
'on-secondary-fixed': 'secondary10',
|
|
541
|
+
'on-secondary-fixed-variant': 'secondary30',
|
|
542
|
+
'on-surface': 'neutral90',
|
|
543
|
+
'on-surface-variant': 'neutral-variant90',
|
|
544
|
+
'on-tertiary': 'tertiary20',
|
|
545
|
+
'on-tertiary-container': 'tertiary90',
|
|
546
|
+
'on-tertiary-fixed': 'tertiary10',
|
|
547
|
+
'on-tertiary-fixed-variant': 'tertiary30',
|
|
548
|
+
outline: 'neutral-variant60',
|
|
549
|
+
'outline-variant': 'neutral-variant30',
|
|
550
|
+
primary: 'primary80',
|
|
551
|
+
'primary-container': 'primary30',
|
|
552
|
+
'primary-fixed': 'primary90',
|
|
553
|
+
'primary-fixed-dim': 'primary80',
|
|
554
|
+
scrim: 'neutral0',
|
|
555
|
+
secondary: 'secondary80',
|
|
556
|
+
'secondary-container': 'secondary30',
|
|
557
|
+
'secondary-fixed': 'secondary90',
|
|
558
|
+
'secondary-fixed-dim': 'secondary80',
|
|
559
|
+
shadow: 'neutral0',
|
|
560
|
+
surface: 'neutral6',
|
|
561
|
+
'surface-bright': 'neutral24',
|
|
562
|
+
'surface-container': 'neutral12',
|
|
563
|
+
'surface-container-high': 'neutral17',
|
|
564
|
+
'surface-container-highest': 'neutral24',
|
|
565
|
+
'surface-container-low': 'neutral10',
|
|
566
|
+
'surface-container-lowest': 'neutral4',
|
|
567
|
+
'surface-dim': 'neutral6',
|
|
568
|
+
'surface-tint': 'primary80',
|
|
569
|
+
'surface-variant': 'neutral-variant30',
|
|
570
|
+
tertiary: 'tertiary80',
|
|
571
|
+
'tertiary-container': 'tertiary30',
|
|
572
|
+
'tertiary-fixed': 'tertiary90',
|
|
573
|
+
'tertiary-fixed-dim': 'tertiary80',
|
|
574
|
+
};
|
|
575
|
+
|
|
576
|
+
export interface ThemeColors {
|
|
577
|
+
primary: string;
|
|
578
|
+
secondary?: string;
|
|
579
|
+
tertiary?: string;
|
|
580
|
+
neutral?: string;
|
|
581
|
+
neutralVariant?: string;
|
|
582
|
+
error?: string;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export class ThemeColor {
|
|
586
|
+
static apply(
|
|
587
|
+
document: Document,
|
|
588
|
+
{
|
|
589
|
+
primary,
|
|
590
|
+
secondary,
|
|
591
|
+
tertiary,
|
|
592
|
+
neutral,
|
|
593
|
+
neutralVariant,
|
|
594
|
+
error,
|
|
595
|
+
}: ThemeColors
|
|
596
|
+
) {
|
|
597
|
+
const themeColor = new ThemeColor();
|
|
598
|
+
themeColor.apply(
|
|
599
|
+
document,
|
|
600
|
+
primary,
|
|
601
|
+
secondary,
|
|
602
|
+
tertiary,
|
|
603
|
+
neutral,
|
|
604
|
+
neutralVariant,
|
|
605
|
+
error
|
|
606
|
+
);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
private generateSystemLevelColors(
|
|
610
|
+
primaryPalette: BasePalette,
|
|
611
|
+
themeType: ThemeType,
|
|
612
|
+
tertiaryPalette?: BasePalette,
|
|
613
|
+
cssVarPrefix = '--mat-sys-'
|
|
614
|
+
): CssVariables {
|
|
615
|
+
const tertiary = tertiaryPalette ?? primaryPalette; // Default tertiary to primary
|
|
616
|
+
const output: CssVariables = {};
|
|
617
|
+
|
|
618
|
+
// 1. Create the flattened reference palette (md-ref-palette equivalent)
|
|
619
|
+
// We use kebab-case for keys like 'neutral-variant' to match the role maps.
|
|
620
|
+
const refPalette: Record<string, ColorValue> = {};
|
|
621
|
+
|
|
622
|
+
const palettesToFlatten: Record<string, TonePalette> = {
|
|
623
|
+
primary: primaryPalette,
|
|
624
|
+
secondary: primaryPalette.secondary,
|
|
625
|
+
tertiary: tertiary, // Use the resolved tertiary palette (just tones)
|
|
626
|
+
neutral: primaryPalette.neutral,
|
|
627
|
+
'neutral-variant': primaryPalette.neutralVariant,
|
|
628
|
+
error: primaryPalette.error,
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
for (const [name, palette] of Object.entries(palettesToFlatten)) {
|
|
632
|
+
if (!palette) {
|
|
633
|
+
console.warn(
|
|
634
|
+
`Warning: Palette source '${name}' is missing or undefined.`
|
|
635
|
+
);
|
|
636
|
+
continue;
|
|
637
|
+
}
|
|
638
|
+
for (const [tone, value] of Object.entries(palette)) {
|
|
639
|
+
// Check if the key is a valid tone number (string representation) and value is a string color
|
|
640
|
+
if (!isNaN(Number(tone)) && typeof value === 'string') {
|
|
641
|
+
const key = `${name}${tone}`; // e.g., primary40, neutral98, neutral-variant30
|
|
642
|
+
refPalette[key] = value;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
// 2. Select the correct role mapping based on theme type
|
|
648
|
+
const roleToRefKeyMap =
|
|
649
|
+
themeType === 'light' ? lightRoleToRefKeyMap : darkRoleToRefKeyMap;
|
|
650
|
+
|
|
651
|
+
// 3. Generate CSS variables from the mapping
|
|
652
|
+
for (const [role, refKey] of Object.entries(roleToRefKeyMap)) {
|
|
653
|
+
const colorValue = refPalette[refKey];
|
|
654
|
+
if (colorValue === undefined) {
|
|
655
|
+
// Log a warning if a required reference color is missing in the provided palettes
|
|
656
|
+
console.warn(
|
|
657
|
+
`Warning: Reference color key '${refKey}' not found in generated reference palette for CSS variable role '${role}'. Skipping variable '${cssVarPrefix}${role}'.`
|
|
658
|
+
);
|
|
659
|
+
continue; // Skip this variable if the color isn't found
|
|
660
|
+
}
|
|
661
|
+
output[`${cssVarPrefix}${role}`] = colorValue;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
// 4. Add the extra manually inserted colors (as per _m3-system.scss logic)
|
|
665
|
+
// These seem to be directly used sometimes instead of going through roles.
|
|
666
|
+
const extraRefKeys: Record<string, string> = {
|
|
667
|
+
'neutral-variant20': 'neutral-variant20', // Role name maps directly to ref key
|
|
668
|
+
neutral10: 'neutral10',
|
|
669
|
+
};
|
|
670
|
+
for (const [role, refKey] of Object.entries(extraRefKeys)) {
|
|
671
|
+
const colorValue = refPalette[refKey];
|
|
672
|
+
if (colorValue !== undefined) {
|
|
673
|
+
// Check if it wasn't already added via the main mapping (unlikely but safe)
|
|
674
|
+
if (!output[`${cssVarPrefix}${role}`]) {
|
|
675
|
+
output[`${cssVarPrefix}${role}`] = colorValue;
|
|
676
|
+
}
|
|
677
|
+
} else {
|
|
678
|
+
console.warn(
|
|
679
|
+
`Warning: Extra color key '${refKey}' not found in generated reference palette for role '${role}'.`
|
|
680
|
+
);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
return output;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Helper function to convert a TonalPalette to a TonePalette.
|
|
689
|
+
* @param tonalPalette TonalPalette instance
|
|
690
|
+
* @returns TonePalette object
|
|
691
|
+
*/
|
|
692
|
+
private convertTonalPalette(tonalPalette: TonalPalette): TonePalette {
|
|
693
|
+
const tones: Tone[] = [
|
|
694
|
+
0, 4, 6, 10, 12, 17, 20, 22, 24, 25, 30, 35, 40, 50, 60, 70, 80, 87, 90,
|
|
695
|
+
92, 94, 95, 96, 98, 99, 100,
|
|
696
|
+
];
|
|
697
|
+
const result: TonePalette = {};
|
|
698
|
+
|
|
699
|
+
for (const tone of tones) {
|
|
700
|
+
result[tone] = tonalPalette.tone(tone).toString(16).replace(/^ff/i, '#'); // Convert ARGB to HEX
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
return result;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Converts a CorePalette into a BasePalette structure.
|
|
708
|
+
* @param corePalette CorePalette instance
|
|
709
|
+
* @returns BasePalette object
|
|
710
|
+
*/
|
|
711
|
+
private convertCorePaletteToBasePalette(
|
|
712
|
+
corePalette: CorePalette
|
|
713
|
+
): BasePalette {
|
|
714
|
+
return {
|
|
715
|
+
...this.convertTonalPalette(corePalette.a1), // Primary tones
|
|
716
|
+
secondary: this.convertTonalPalette(corePalette.a2),
|
|
717
|
+
tertiary: this.convertTonalPalette(corePalette.a3),
|
|
718
|
+
neutral: this.convertTonalPalette(corePalette.n1),
|
|
719
|
+
neutralVariant: this.convertTonalPalette(corePalette.n2),
|
|
720
|
+
error: this.convertTonalPalette(corePalette.error),
|
|
721
|
+
};
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
private mergeLightAndDarkVars(
|
|
725
|
+
lightVars: CssVariables,
|
|
726
|
+
darkVars: CssVariables
|
|
727
|
+
): CssVariables {
|
|
728
|
+
const output: CssVariables = {};
|
|
729
|
+
for (const [key, value] of Object.entries(lightVars)) {
|
|
730
|
+
output[key] = value;
|
|
731
|
+
}
|
|
732
|
+
for (const [key, value] of Object.entries(darkVars)) {
|
|
733
|
+
output[key] = `light-dark(${output[key]}, ${value})`;
|
|
734
|
+
}
|
|
735
|
+
return output;
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
private convertBasePaletteToCss(lightDarkVars: CssVariables) {
|
|
739
|
+
return `:root {
|
|
740
|
+
${Object.entries(lightDarkVars)
|
|
741
|
+
.map(([key, value]) => `${key}: ${value};`)
|
|
742
|
+
.join('\n ')}
|
|
743
|
+
}
|
|
744
|
+
`;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
apply(
|
|
748
|
+
document: Document,
|
|
749
|
+
primary: string,
|
|
750
|
+
secondary?: string,
|
|
751
|
+
tertiary?: string,
|
|
752
|
+
neutral?: string,
|
|
753
|
+
neutralVariant?: string,
|
|
754
|
+
error?: string
|
|
755
|
+
) {
|
|
756
|
+
const corePalette = CorePalette.fromColors({
|
|
757
|
+
primary: parseInt(primary.replace('#', 'FF'), 16),
|
|
758
|
+
secondary: secondary
|
|
759
|
+
? parseInt(secondary.replace('#', 'FF'), 16)
|
|
760
|
+
: undefined,
|
|
761
|
+
tertiary: tertiary
|
|
762
|
+
? parseInt(tertiary.replace('#', 'FF'), 16)
|
|
763
|
+
: undefined,
|
|
764
|
+
neutral: neutral ? parseInt(neutral.replace('#', 'FF'), 16) : undefined,
|
|
765
|
+
neutralVariant: neutralVariant
|
|
766
|
+
? parseInt(neutralVariant.replace('#', 'FF'), 16)
|
|
767
|
+
: undefined,
|
|
768
|
+
error: error ? parseInt(error.replace('#', 'FF'), 16) : undefined,
|
|
769
|
+
});
|
|
770
|
+
|
|
771
|
+
const basePalette = this.convertCorePaletteToBasePalette(corePalette);
|
|
772
|
+
|
|
773
|
+
const lightVars = this.generateSystemLevelColors(basePalette, 'light');
|
|
774
|
+
const darkVars = this.generateSystemLevelColors(basePalette, 'dark');
|
|
775
|
+
const lightDarkVars = this.mergeLightAndDarkVars(lightVars, darkVars);
|
|
776
|
+
|
|
777
|
+
for (const [key, value] of Object.entries(lightDarkVars)) {
|
|
778
|
+
document.documentElement.style.setProperty(key, value);
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export function applyThemeColorBootstrapHook(defaultThemeControls?: ThemeColors) {
|
|
784
|
+
return (config: ConfigService) => {
|
|
785
|
+
const themeColors = config.get('theme.colors', defaultThemeControls);
|
|
786
|
+
if (themeColors) {
|
|
787
|
+
ThemeColor.apply(window.document, themeColors);
|
|
788
|
+
}
|
|
789
|
+
};
|
|
790
|
+
}
|
|
791
|
+
</code></pre>
|
|
792
|
+
</div>
|
|
793
|
+
</div>
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
</div><div class="search-results">
|
|
804
|
+
<div class="has-results">
|
|
805
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
|
806
|
+
<ul class="search-results-list"></ul>
|
|
807
|
+
</div>
|
|
808
|
+
<div class="no-results">
|
|
809
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
810
|
+
</div>
|
|
811
|
+
</div>
|
|
812
|
+
</div>
|
|
813
|
+
<!-- END CONTENT -->
|
|
814
|
+
</div>
|
|
815
|
+
</div>
|
|
816
|
+
|
|
817
|
+
<label class="dark-mode-switch">
|
|
818
|
+
<input type="checkbox">
|
|
819
|
+
<span class="slider">
|
|
820
|
+
<svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
|
|
821
|
+
<path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
|
|
822
|
+
</svg>
|
|
823
|
+
</span>
|
|
824
|
+
</label>
|
|
825
|
+
|
|
826
|
+
<script>
|
|
827
|
+
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
828
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'class';
|
|
829
|
+
var COMPODOC_CURRENT_PAGE_URL = 'ThemeColor.html';
|
|
830
|
+
var MAX_SEARCH_RESULTS = 15;
|
|
831
|
+
</script>
|
|
832
|
+
|
|
833
|
+
<script>
|
|
834
|
+
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
835
|
+
checkToggle(darkModeState);
|
|
836
|
+
if ($darkModeToggleSwitchers.length > 0) {
|
|
837
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
838
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
839
|
+
darkModeState = !darkModeState;
|
|
840
|
+
toggleDarkMode(darkModeState);
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
</script>
|
|
845
|
+
|
|
846
|
+
<script src="../js/libs/custom-elements.min.js"></script>
|
|
847
|
+
<script src="../js/libs/lit-html.js"></script>
|
|
848
|
+
|
|
849
|
+
<script src="../js/menu-wc.js" defer></script>
|
|
850
|
+
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
851
|
+
|
|
852
|
+
<script src="../js/libs/bootstrap-native.js"></script>
|
|
853
|
+
|
|
854
|
+
<script src="../js/libs/es6-shim.min.js"></script>
|
|
855
|
+
<script src="../js/libs/EventDispatcher.js"></script>
|
|
856
|
+
<script src="../js/libs/promise.min.js"></script>
|
|
857
|
+
<script src="../js/libs/zepto.min.js"></script>
|
|
858
|
+
|
|
859
|
+
<script src="../js/compodoc.js"></script>
|
|
860
|
+
|
|
861
|
+
<script src="../js/tabs.js"></script>
|
|
862
|
+
<script src="../js/menu.js"></script>
|
|
863
|
+
<script src="../js/libs/clipboard.min.js"></script>
|
|
864
|
+
<script src="../js/libs/prism.js"></script>
|
|
865
|
+
<script src="../js/sourceCode.js"></script>
|
|
866
|
+
<script src="../js/search/search.js"></script>
|
|
867
|
+
<script src="../js/search/lunr.min.js"></script>
|
|
868
|
+
<script src="../js/search/search-lunr.js"></script>
|
|
869
|
+
<script src="../js/search/search_index.js"></script>
|
|
870
|
+
<script src="../js/lazy-load-graphs.js"></script>
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
</body>
|
|
874
|
+
</html>
|