GitHub Code Colors

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

2021/02/21のページです。最新版はこちら

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Mottie
評価
0 0 0
バージョン
2.0.5
作成日
2016/03/20
更新日
2021/02/21
大きさ
9.01KB
ライセンス
MIT
対象サイト

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.

github-code-color

Hosted with ♥ at GitHub