Greasy Fork is available in English.

GitHub Code Colors

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

Pada tanggal 12 Februari 2021. Lihat %(latest_version_link).

Penulis
Mottie
Nilai
0 0 0
Versi
2.0.5
Dibuat
20 Maret 2016
Diperbarui
12 Februari 2021
Size
8,94 KB
Lisensi
MIT
Berlaku untuk

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