Text Contrast for Dark Themes

Text Contrast for Dark Themes

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

Text Contrast for Dark Themes promo image
What is Text Contrast for Dark Themes?

Text Contrast for Dark Themes is a Firefox extension designed to optimize visibility for users with a light text/dark background system theme. This add-on specifically fixes input elements drawn with a native dark style. The add-on checks undefined color properties in the text or background of elements and adjusts accordingly to improve contrast, helping to maintain usability and visibility.

By: DmitriK
Users: 883 ▼ -14
Rating: 4.67 (132)
Version: 2.1.6 (Last updated: 2019-12-04)
Creation date: 2015-08-20
Weekly download count: 4
Firefox on Android: No
Risk impact: High risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
  • <all_urls>
  • storage
  • tabs
  • webNavigation
Size: 28.71K
URLs: Website
Stats date:

Other platforms

Not available on Chrome
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Firefox Browser Add-ons.
Chrome-Stats 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)

User reviews
User reviews summary
These summaries are automatically generated weekly using AI based on recent user reviews. Firefox Browser Add-ons does not verify user reviews, so some user reviews may be inaccurate, spammy, or outdated.
  • Works perfectly
  • Fixes text contrast issues
  • Solves a long-standing problem
  • Great for dark themes
  • Some users reported installation errors
Most mentioned
  • Fixes text contrast
  • Works perfectly
  • Great for dark themes
  • Solves a long-standing problem
View all user reviews
Risk impact

Text Contrast for Dark Themes is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install Text Contrast for Dark Themes if you trust the publisher.

Risk likelihood

Text Contrast for Dark Themes has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details