nx: highcontrast dark is dark
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/653/head
parent
0476703567
commit
09a707111f
|
@ -229,7 +229,7 @@ export default defineComponent({
|
||||||
// Set theme color for native part
|
// Set theme color for native part
|
||||||
nativex.setThemeColor?.(
|
nativex.setThemeColor?.(
|
||||||
getComputedStyle(document.body).getPropertyValue('--color-main-background'),
|
getComputedStyle(document.body).getPropertyValue('--color-main-background'),
|
||||||
document.body.hasAttribute('data-theme-dark')
|
document.body.hasAttribute('data-theme-dark') || document.body.hasAttribute('data-theme-dark-highcontrast')
|
||||||
);
|
);
|
||||||
|
|
||||||
// Register sidebar metadata tab
|
// Register sidebar metadata tab
|
||||||
|
|
Loading…
Reference in New Issue