solarized-emacs

a fork of Bozhidar Batsov's solarized-emacs
git clone https://git.trogloxene.org/solarized-emacs.git
Log | Files | Refs | README

commit 023b0de812dfef606bcb1679b7e8a40b3afc90e3
parent 94e7c342da1b04326028708e5503973d554bd828
Author: Tim Ruffing <crypto@timruffing.de>
Date:   Fri, 19 Aug 2022 14:38:26 +0200

Use extra-light instead of thin for line numbers 

#305 was a great but thin is *too* thin for fonts which support many
weights. This replaces thin by extra-light, which is still visibly
different from the normal weight but also still legible.

In fact, it's so thin, it's not even documented, see
https://github.com/emacs-mirror/emacs/blob/master/src/font.c#L71
https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
Diffstat:
Msolarized-faces.el | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solarized-faces.el b/solarized-faces.el @@ -1051,10 +1051,10 @@ `(ledger-font-reconciler-pending-face ((t (:foreground ,yellow :weight normal)))) `(ledger-font-report-clickable-face ((t (:foreground ,yellow :weight normal)))) ;;;;; linum-mode - `(linum ((,class (:weight thin :underline nil :foreground ,s-fringe-fg :background ,s-fringe-bg)))) + `(linum ((,class (:weight extra-light :underline nil :foreground ,s-fringe-fg :background ,s-fringe-bg)))) `(linum-relative-current-face ((,class (:inherit linum)))) ;;;;; display-line-number-mode - `(line-number ((,class (:weight thin :underline nil :foreground ,s-fringe-fg :background ,s-fringe-bg)))) + `(line-number ((,class (:weight extra-light :underline nil :foreground ,s-fringe-fg :background ,s-fringe-bg)))) `(line-number-minor-tick ((,class (:inherit line-number :weight normal)))) `(line-number-major-tick ((,class (:inherit line-number-minor-tick :weight bold)))) `(line-number-current-line ((,class (:inherit line-number :background ,base03 :foreground ,base0))))