nx: highcontrast dark is dark

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-07 21:10:05 -07:00
parent 0476703567
commit 09a707111f
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ export default defineComponent({
// Set theme color for native part
nativex.setThemeColor?.(
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