@iobroker/gui-components 10.0.9 → 10.0.11
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/README.md +2 -2
- package/build/Components/ObjectBrowser/renderLeaf.js +4 -1
- package/build/Components/ObjectBrowser/renderLeaf.js.map +1 -1
- package/build/Components/Utils.js +2 -2
- package/build/Components/Utils.js.map +1 -1
- package/build/GenericApp.js +4 -10
- package/build/GenericApp.js.map +1 -1
- package/build/ThemeModern.js +1 -1
- package/build/ThemeModern.js.map +1 -1
- package/package.json +1 -1
|
@@ -1342,13 +1342,13 @@ export class Utils {
|
|
|
1342
1342
|
return window.vendorPrefix;
|
|
1343
1343
|
}
|
|
1344
1344
|
if (themeName === 'auto') {
|
|
1345
|
-
return window.matchMedia('(prefers-color-scheme: dark)').matches ? '
|
|
1345
|
+
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'modernDark' : 'modernLight';
|
|
1346
1346
|
}
|
|
1347
1347
|
themeName ||= (window._localStorage || window.localStorage).getItem('App.themeName');
|
|
1348
1348
|
if (themeName && themeName !== 'auto') {
|
|
1349
1349
|
return themeName;
|
|
1350
1350
|
}
|
|
1351
|
-
return window.matchMedia('(prefers-color-scheme: dark)').matches ? '
|
|
1351
|
+
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'modernDark' : 'modernLight';
|
|
1352
1352
|
}
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Get the type of theme.
|