Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Text Contrast for Dark Themes

Text Contrast for Dark Themes by DmitriK

Fixes low-contrast text when using a dark desktop theme.

4.7 (132 reviews)4.7 (132 reviews)
610 Users610 Users
You’ll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Demonstration of effectTest page screenshot
About this extension
This extension is intended for Firefox users that have a light text/dark background system theme.

Users who don't want any native styling in their content should consider an alternate solution as detailed in the first few paragraphs here: https://github.com/DmitriK/darkContrast#text-contrast-for-dark-themes

This extension can help users who wish to keep some dark-theme styling where possible.

The primary purpose of this extension is to fix input elements, which are drawn with a native dark style, but may have an explicit foreground or background color which assumes a light style, resulting in low contrast text. This extension checks if only one of the colors has been defined (foreground color, or background color/image), and defines the unset property as needed. Elements with both colors defined or both colors undefined remain unchanged.

The extension will also autodetect if the user has set inverted colors as their porimary colors (via use system colors option or manually setting light-on-dark colors). In this case the extension will also attempt to adjust all page colors.

(Note: Anyone considering leaving a review, please be aware that this extension will not work on addons.mozilla.org, so you will still have poor contrast on the input boxes. See https://github.com/DmitriK/darkContrast#amo-addonsmozillaorg for details. No, the irony is not lost on me, but there is nothing that I can do)
Rated 4.7 by 132 reviewers
Sign in to rate this extension
There are no ratings yet

Star rating saved

5
108
4
16
3
2
2
1
1
5
Read all 132 reviews
Permissions and dataLearn more

Required permissions:

  • Access browser tabs
  • Access browser activity during navigation
  • Access your data for all websites
More information
Add-on Links
  • Support site
Version
2.1.6
Size
28.04 KB
Last updated
6 years ago (Dec 4, 2019)
Related Categories
  • Appearance
  • Other
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 2.1.6
- Fixed issue where probing for default colors didn't work correctly. In addition to possible incorrect re-coloring, this could also result in performance issues as the extension no longer recognized that styles were set by the author already.
- Fixed issue where foreground color may not have been set when author only sets background image.
More extensions by DmitriK
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla’s homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.