sindresorhus/caprine

[Win10] Dark mode issue with OS high contrast mode

开放

#1,254 创建于 2020年1月26日

 (0 条评论) (1 个反应) (0 位负责人)TypeScript (601 个派生)user submission
enhancementhelp wanted

仓库指标

星标
 (7,365 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Dark mode toggle not working when high contrast mode is enabled in Windows 10. Using 'High contrast black' theme. Using Caprine 2.43.0, but the issue has been present since autumn or so.

The temporary fix is to: 1: Disable the Windows high contrast mode (ALT+LSHIFT+PRNTSCRN), 2: In Caprine, toggle dark mode off then on 3: Enable high contrast mode in Windows.

When refreshing or restarting Caprine, it goes back to white background and one will need to redo the process to enable dark mode.

贡献者指南