tinted-theming / base16-emacs

Base16 themes for Emacs
MIT License
382 stars 76 forks source link

base16-emacs breaks on zoom when global-display-line-numbers-mode #120

Open YoloClin opened 2 years ago

YoloClin commented 2 years ago

When I enable global-display-line-numbers-mode using the latest base16-emacs, if I zoom in/out, line numbers do not scale. While the screenshot is extreme, this is particularly annoying during everyday use when zooming out to get a more comprehensive view of files, particularly with org-mode tables which are basically unuseable.

The following screenshot is with/without base16-emacs enabled. The rest of my config settings are the same.

linum

tralph3 commented 1 month ago

The problem is that the theme overrides the built-in default inheritance. To fix this, modify the line-numer face definition like this:

(line-number :foreground base03 :background base16-settings-fringe-bg :inherit (shadow default))