@arsedizioni/ars-utils 18.2.290 → 18.2.291
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/esm2022/clipper.common/common/definitions.mjs +6 -1
- package/esm2022/core/services/theme.service.mjs +3 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +5 -0
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +2 -0
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1958,6 +1958,7 @@ class ThemeService {
|
|
|
1958
1958
|
* Tooltip text on toggle
|
|
1959
1959
|
*/
|
|
1960
1960
|
this.toggleTooltip = computed(() => this.themeInfo[this.theme()].tooltip);
|
|
1961
|
+
console.log("si");
|
|
1961
1962
|
// React to current theme
|
|
1962
1963
|
this.prefersColorSchemeMediaQueryList.onchange = (_) => this.auto() ? this.setTheme() : null;
|
|
1963
1964
|
// Support boradcast channel messaging
|
|
@@ -1974,6 +1975,7 @@ class ThemeService {
|
|
|
1974
1975
|
if (!this.isTheme(theme)) {
|
|
1975
1976
|
theme = 'auto';
|
|
1976
1977
|
}
|
|
1978
|
+
console.log(theme);
|
|
1977
1979
|
this.setTheme(theme);
|
|
1978
1980
|
}
|
|
1979
1981
|
ngOnDestroy() {
|