Skip to content

Commit

Permalink
Use extra-light instead of thin for line numbers
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
real-or-random authored and thomasf committed Apr 14, 2023
1 parent 94e7c34 commit 023b0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solarized-faces.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))))
Expand Down

0 comments on commit 023b0de

Please sign in to comment.