Merge pull request #3060 from itai33/rgb-readme
README for tools/rgb, also minor typo fix
This commit is contained in:
commit
576134ffb7
2 changed files with 55 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
#+TITLE: lang/kotlin
|
#+TITLE: lang/kotlin
|
||||||
#+DATE: March 28, @019
|
#+DATE: March 28, 2019
|
||||||
#+SINCE: v3.0.0
|
#+SINCE: v3.0.0
|
||||||
#+STARTUP: inlineimages
|
#+STARTUP: inlineimages
|
||||||
|
|
||||||
|
|
54
modules/tools/rgb/README.org
Normal file
54
modules/tools/rgb/README.org
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
#+TITLE: tools/rgb
|
||||||
|
#+DATE: May 6, 2020
|
||||||
|
#+SINCE: 3.0.0
|
||||||
|
#+STARTUP: inlineimages nofold
|
||||||
|
|
||||||
|
* Table of Contents :TOC_3:noexport:
|
||||||
|
- [[#description][Description]]
|
||||||
|
- [[#maintainers][Maintainers]]
|
||||||
|
- [[#module-flags][Module Flags]]
|
||||||
|
- [[#plugins][Plugins]]
|
||||||
|
- [[#prerequisites][Prerequisites]]
|
||||||
|
- [[#features][Features]]
|
||||||
|
- [[#configuration][Configuration]]
|
||||||
|
|
||||||
|
* Description
|
||||||
|
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.
|
||||||
|
|
||||||
|
** Module Flags
|
||||||
|
This module provides no flags.
|
||||||
|
|
||||||
|
** Plugins
|
||||||
|
# A list of linked plugins
|
||||||
|
+ [[https://elpa.gnu.org/packages/rainbow-mode.html][rainbow-mode]]
|
||||||
|
+ [[https://github.com/alphapapa/kurecolor][kurecolor]]
|
||||||
|
|
||||||
|
* Prerequisites
|
||||||
|
This module has no prerequisites.
|
||||||
|
|
||||||
|
* Features
|
||||||
|
# An in-depth list of features, how to use them, and their dependencies.
|
||||||
|
=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
|
||||||
|
# How to configure this module, including common problems and how to address them.
|
||||||
|
=hl-line-mode= overrides the color highlighting of =rainbow-mode=, which limits
|
||||||
|
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:
|
||||||
|
|
||||||
|
#+BEGIN_SRC elisp
|
||||||
|
;; ~/.doom.d/config.el
|
||||||
|
(add-hook! 'rainbow-mode-hook
|
||||||
|
(hl-line-mode (if rainbow-mode -1 +1)))
|
||||||
|
#+END_SRC
|
Loading…
Add table
Add a link
Reference in a new issue