Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YoloClin opened this issue Nov 5, 2021 · 1 comment
Open

Comments

@YoloClin
Copy link

YoloClin commented Nov 5, 2021

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
Copy link

tralph3 commented Jun 5, 2024

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))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants