[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia 5ce5a0e 200/241: marginalia-annotate-color:
From: |
Stefan Monnier |
Subject: |
[elpa] externals/marginalia 5ce5a0e 200/241: marginalia-annotate-color: Add component letters |
Date: |
Fri, 28 May 2021 20:49:26 -0400 (EDT) |
branch: externals/marginalia
commit 5ce5a0e6d23d92391167a49d994f093764ee0dee
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
marginalia-annotate-color: Add component letters
---
marginalia.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 63dd2f5..6627d52 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -491,14 +491,14 @@ keybinding since CAND includes it."
(marginalia--fields
(" " :face `(:background ,(apply #'color-rgb-to-hex rgb)))
((format "%s%s%s %s"
- (propertize " " 'face `(:background ,(color-rgb-to-hex r 0 0)))
- (propertize " " 'face `(:background ,(color-rgb-to-hex 0 g 0)))
- (propertize " " 'face `(:background ,(color-rgb-to-hex 0 0 b)))
+ (propertize "r" 'face `(:background ,(color-rgb-to-hex r 0 0)))
+ (propertize "g" 'face `(:background ,(color-rgb-to-hex 0 g 0)))
+ (propertize "b" 'face `(:background ,(color-rgb-to-hex 0 0 b)))
(color-rgb-to-hex r g b 2)))
((format "%s%s%s %3s° %3s%% %3s%%"
- (propertize " " 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb h 1 0.5))))
- (propertize " " 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb h s 0.5))))
- (propertize " " 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb h 1 l))))
+ (propertize "h" 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb h 1 0.5))))
+ (propertize "s" 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb h s 0.5))))
+ (propertize "l" 'face `(:background ,(apply #'color-rgb-to-hex
(color-hsl-to-rgb 0 0 l))))
(round (* 360 h))
(round (* 100 s))
(round (* 100 l))))))))
- [elpa] externals/marginalia 64fe724 182/241: readme: do not use drawers to prevent export, (continued)
- [elpa] externals/marginalia 64fe724 182/241: readme: do not use drawers to prevent export, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2387cba 186/241: marginalia-annotate-minor-mode: Support longer lighters, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5159256 220/241: Fix external declaration for selectrum--get-full, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a081005 215/241: marginalia-annotate-bookmark: Truncate file names (Fix #69), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f89974d 222/241: Remove obsolete comment, completion system updates automatically, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 3669f4d 224/241: Stop using the obsolete project-roots function, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 445d283 234/241: README: Update helper commands (Use remq instead of delq), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a0e9903 237/241: Remove marginalia--annotate-binding-hash (See #16), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia bc8e5f2 178/241: customize group: more restrictive prompt classifier, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 6caf9f0 202/241: Add link to readme (Fix #66), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5ce5a0e 200/241: marginalia-annotate-color: Add component letters,
Stefan Monnier <=
- [elpa] externals/marginalia 668265a 211/241: Simplify setup, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 9ca180b 026/241: richer formatting of file and buffer annotations, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2805127 058/241: introduce a small dsl marginalia--fields which helps with formatting, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 31ba78b 072/241: add marginalia-annotate-coding-system, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 783cb49 067/241: improve marginalia-minor-mode, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 659a550 081/241: show annotations even if no documentation is present, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 56ad689 094/241: modify marginalia-annotate-imenu regexp such that it works with consult narrowing, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia ac53a00 097/241: optimize marginalia--truncate, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 7743fd7 109/241: add marginalia-annotate-char, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 78f676e 122/241: marginalia-annotate-package: use package-desc-status, Stefan Monnier, 2021/05/28