Ensure that changing themes should work on Windows when system high contrast

mode is enabled. Fixes #6954
This commit is contained in:
Aditya Toshniwal
2021-11-07 10:46:49 +05:30
committed by Akshay Joshi
parent d7f5e13cdd
commit 31849ea95f
6 changed files with 27 additions and 0 deletions

View File

@@ -11,6 +11,11 @@
font-size: 14px;
background-color: #ebeef3;
}
@media screen and (forced-colors: active) {
body {
forced-color-adjust: none !important;
}
}
</style>
</head>
<body>

View File

@@ -27,6 +27,11 @@
margin-right: auto;
margin-bottom: 10px;
}
@media screen and (forced-colors: active) {
body {
forced-color-adjust: none !important;
}
}
</style>
<!-- Disable/block all password saving in nw.js -->

View File

@@ -11,6 +11,11 @@
font-size: 14px;
background-color: #ebeef3;
}
@media screen and (forced-colors: active) {
body {
forced-color-adjust: none !important;
}
}
</style>
</head>
<body>

View File

@@ -11,6 +11,11 @@
font-size: 14px;
background-color: #ebeef3;
}
@media screen and (forced-colors: active) {
body {
forced-color-adjust: none !important;
}
}
</style>
</head>
<body>