doomemacs/modules/tools/rgb
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
..
autoload.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
packages.el bump: :tools 2022-06-17 21:53:56 +02:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:tools rgb

🚧 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?