Closed hans-d closed 2 years ago
I've rewrote the main function for rendering the headher line but I haven't pushed yet. I'll first commit my changes and then I will integrate your PR If it's still relevant.
still relevant, updated code against latest master
Sorry, Im' late. Coudl you post a screenshot before / after?
before:
after:
Together with #18 and something like
(defun my/nano-modeline--clearance-tweaks ()
(seq-do (lambda(elt)
(set-face-attribute elt nil
:box `(:line-width -8 :color ,nano-dark-background)))
(seq-filter (lambda(elt)
(string-prefix-p "nano-modeline-" (symbol-name elt)))
(face-list))))
will make it clear the available width calculation is off
combination of fixes and local customization:
Now I get it and I realized I never understood negative linewidth boxed before. Can you rebase your PR?
rebased
Merged. I've pushed some small adjustments as well.
Together with #18, and using
:box (:line-width -8 :color ,nano-dark-background)
this allows for a small gap between the modeline and the body of the text. Eg when using org mode with a lot of SRC blocks it is more distinct.