doomemacs/modules/tools/rgb
Henrik Lissner 7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
..
autoload.el Add ui/hydra module 2019-07-22 23:51:12 +02:00
packages.el Bump :tools 2020-12-05 16:48:23 -05:00
README.org docs: replace doom-source with doom-repo links 2022-02-01 18:55:27 +01:00

:tools rgb

Back to module index ! Issues ↖ Github ± Suggest edits ? Help


🚧 This module is deprecated. The module is too trivial to warrant a module.

Description   unfold

Highlights color hex values and names with the color itself, and provides tools to easily modify color values or formats.

Maintainers

This module has no dedicated maintainers. Become a maintainer?

Module flags

This module has no flags.

Hacks

No hacks documented for this module.

Installation

Enable this module in your doom! block.

This module has no external requirements.

Usage

rainbow-mode provides automatic highlighting to hex color codes, and in relevant modes, color names (e.g. html color names in css-mode or LaTeX color names in latex-mode)

kurecolor provides commands to easily change the brightness, saturation, and hue of hex colors (and a useful hydra for this, if :ui hydra is enabled), as well as conversion between hex and css colors

Configuration

hl-line-mode overrides the color highlighting of rainbow-mode, limiting the use of that plugin and on-site color changes using kurecolor. To automatically disable it only when rainbow-mode is active, you can add the following hook:

;; in $DOOMDIR/config.el
(add-hook! 'rainbow-mode-hook
  (hl-line-mode (if rainbow-mode -1 +1)))

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?