Install this mod when you use dark theme in Windows and have occasionally problems with unreadable text color in your browser or Teams document viewer, such as bright text on white background or black text on dark background.
This mod does not force color change on websites that specify their own colors. Only badly implemented web sites that accidentally (and inconsistently) try to use Windows colors will be adjusted.
The odd-looking web sites that are unreadable under dark theme are that way because they try to use Windows colors, but do so inconsistently. Additionally, these sites assume that the Windows colors use bright theme. These sites are not dark theme aware.
The mod works by emulating bright Windows 10 default color scheme for these web sites, to match their assumptions.
The color adjustments made by this mod generally do not affect the browsers' or Teams main frame appearance. The mod might affect the Firefox menu highlight color in some computers. Additionally, the mod detects calls from file picker and does not replace the colors there.
You may need to restart your browser after installing this mod for the adjustments to take effect, though some web sites in some browsers will be fixed immediately.
Currently supported browsers are: Brave, Chrome, Chromium, Edge, Firefox, and Opera. And additionally Teams document viewer.
Under mod's settings there is an option to apply color adjustments to all msedgewebview*.exe processes, not only to the ones related to Teams. This option is off by default. Browser colors are always adjusted regardless of this setting.
You can test the following web sites before and after installing the mod:
For some reason, these problems do not manifest in all computers with dark color scheme. I have multiple computers with similar setups, and in a few computer-and-browser combinations the issue did not manifest. But all targeted browsers have the problem in general.
Unloading this mod while a browser is running is not recommended. Unloading the mod may crash these browser tabs that used default Windows colors. Though rest of the tabs will be probably fine.