| Age | Commit message (Collapse) | Author |
|
Opened an Org buffer with this theme for the first time.
|
|
|
|
(pcase-dolist (`(,sym ,color)
eighters-palette)
(when (string-match-p "\\`fg-[a-z]*\\'" (symbol-name sym))
(when-let* ((sym-dim (intern (concat
(symbol-name sym)
"-dim")))
(dim-cdr (alist-get sym-dim eighters-palette))
(new-color (eighters-hsl-to-hex
(car (apply 'color-rgb-to-hsl
(color-name-to-rgb color)))
0.30 0.60)))
(message "%s → %s" sym-dim new-color)
(setcar dim-cdr new-color))))
|
|
|
|
(pcase-dolist (`(,sym ,color)
eighters-palette)
(when (string-match-p "\\`fg-[a-z]*\\'" (symbol-name sym))
(when-let* ((sym-dim (intern (concat
(symbol-name sym)
"-dim")))
(dim-cdr (alist-get sym-dim eighters-palette))
(new-color (eighters-hsl-to-hex
(car (apply 'color-rgb-to-hsl
(color-name-to-rgb color)))
0.4 0.66)))
(message "%s → %s" sym-dim new-color)
(setcar dim-cdr new-color))))
Followup changes:
* make strings the same color as constants (though dimmer) to make
types stand out more;
(Unfortunate side-effect: constants within strings stand out less.
Hm)
* only use variable-pitch for Gnus header names; keep empty
gnus-header because its docstring says all gnus-header faces must
inherit from it 🫡
* ARGH YES OH RIGHT HAD FORGOTTEN ABOUT MM-UU-EXTRACT UGH MY EYES
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also make code comments outline-compliant.
|
|
Mainly for heading-like elements; keeping more colorful variants for
syntax constructs in programming languages.
|
|
|
|
Write down the method to the madness.
|
|
The rules I'm trying to adhere to:
1. theme faces, then standard faces, then third-parties;
2. if keeping a group of faces together makes maintenance easier,
define a "subgroup" and sort it at the end;
3. keep things sorted lexicographically, unless another order makes
sense (e.g. section hierarchy) and it's too much of a hassle to add
groups of comments.
|
|
By dimming hiding the common parts more.
|
|
Pops more; also somewhat consistent with the idea that it's a key
binding.
|
|
|
|
- bg #0 0 0
- bg-dim #1 1 1 → bg-hl-dimmer #0f0f0f
- bg-hl-dim #1a1a1a → bg-hl-dim #181818
- bg-hl #2 2 2
Dimmer:
- buttons
- fringe
- key bindings
- inactive mode line
- tab bar
- diff header 1 (command)
- diff header 2 (file)
- ediff unfocused hunks
- magit focused section
- magit focused hunk content
Dim:
- Custom editable fields (comment, field widget)
- highlight
- diff header 3 (hunk & function)
- magit unfocused hunk heading
Least dim:
- button box
- magit focused hunk heading
|
|
Nonplussed with Modus v4.
|