Install
Mottie / GitHub Code Colors

Published:

Version: 2.0.6+281e167 updated

Summary: A userscript that adds a color swatch next to the code color definition

Groups:

Support: https://github.com/Mottie/GitHub-userscripts/issues

License: MIT

Antifeature: unspecified

A userscript that adds a color swatch next to the code color definition

  • It works in comment previews and code pages.
  • Supports hex, rgb, rgba, hsl, hsla and all named colors.
  • Additional support for colors set inside strings (e.g. javascript or canvas).
  • It does not interfere if you copy & paste the code.
  • In v2+:
    • You can use Tab to navigate between swatches.
    • Pressing Space and Enter will toggle the popup (when focused).
    • Pressing Esc will close all popups.
  • See example code & the change log here.

github-code-color

Hosted with ♥ at GitHub

Rating: 0

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy