all repos — nixfiles @ cd9927dc096e130404d23769aec648e5bd9a00b5

System and user configuration, managed by nix and home-manager

emacs: tweak display of line numbers and cursor

Alin
commit

cd9927dc096e130404d23769aec648e5bd9a00b5

parent

508354510d25bde7d0ae9ae36d483a58aa6ff85b

1 file changed, 7 insertions(+), 1 deletion(-)

changed files
M user/settings/emacs/theme.el → user/settings/emacs/theme.el
@@ -8,8 +8,13 @@ (dark-mode-theme '@dark-mode-theme@))
(mapc #'disable-theme custom-enabled-themes) (setq modus-themes-common-palette-overrides - '((bg-mode-line-active bg-dim) + '((fg-alt cyan-cooler) + (bg-mode-line-active bg-dim) (bg-mode-line-inactive bg-dim) + (bg-line-number-active bg-main) + (fg-line-number-inactive bg-active) + (fg-line-number-active fg-alt) + (cursor fg-alt) (border-mode-line-active unspecified) (border-mode-line-inactive unspecified)))
@@ -17,6 +22,7 @@ (defun my/modus-themes-custom (&rest _)
(modus-themes-with-colors (custom-set-faces '(region ((t :extend nil))) + `(line-number-current-line ((,c :inherit default))) `(git-gutter:added ((,c :foreground ,bg-added-fringe :background nil))) `(git-gutter:deleted ((,c :foreground ,bg-removed-fringe :background nil))) `(git-gutter:modified ((,c :foreground ,bg-changed-fringe :background nil)))