@iobroker/adapter-react-v5 8.2.6 → 8.2.7
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
CHANGED
|
@@ -1354,6 +1354,9 @@ export class Utils {
|
|
|
1354
1354
|
* Get the type of theme.
|
|
1355
1355
|
*/
|
|
1356
1356
|
static getThemeType(themeName) {
|
|
1357
|
+
if (window.vendorPrefix === 'HA' || window.vendorPrefix === 'NW') {
|
|
1358
|
+
return 'dark';
|
|
1359
|
+
}
|
|
1357
1360
|
if (window.vendorPrefix && window.vendorPrefix !== '@@vendorPrefix@@') {
|
|
1358
1361
|
return 'light';
|
|
1359
1362
|
}
|