Skip to content

Revert GitHub Text Color by Sv443

Screenshot of Revert GitHub Text Color

Details

AuthorSv443

LicenseMIT

Categorygithub

Created

Updated

Size700 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Reverts the GitHub text colors to be a little bit darker like they were before, to reduce contrast. Only works with dark mode enabled!

Notes

Please consider starring on GitHub if you liked this.
Also check out my userscript for tons of YouTube & YT Music improvements here.

Changelog:

  • 1.1.0:
    • Allow specifying a different text color via @var directive
  • 1.0.0:
    • Reverted text color to #e6edf3

Source code

/* ==UserStyle==
@name           Revert GitHub text color (dark mode only)
@description    Reverts the GitHub text color to be a bit darker to reduce contrast
@namespace      https://github.com/Sv443/Revert-GitHub-Text-Color
@version        1.1.0
@author         Sv443
@license        MIT
@var            text text-color "Text color (e.g. #e6edf3)" #e6edf3
@preprocessor   stylus
==/UserStyle== */

/*
Changelog:
- 1.1.0:
  - Allow specifying a different text color via @var directive
- 1.0.0:
  - Reverted text color to #e6edf3
*/

@-moz-document domain("github.com") {
    :root body {
        --fgColor-default: text-color;
        --color-fg-default: text-color;
    }
}

Reviews

No reviews yet.