Get rid of box around mode line

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:35 +00:00
parent bfa60290af
commit 61de602f92

View File

@ -104,18 +104,33 @@
#+end_src #+end_src
** Colour Scheme ** Colour Scheme
Currently using =spacemacs-theme='s light variant, but I prefer a pure Currently using =spacemacs-theme='s light variant.
white background to the off-white it has by default.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package spacemacs-theme (use-package spacemacs-theme
:defer t) :defer t)
(setq spacemacs-theme-custom-colors
'((bg1 . "#ffffff")
(comment-bg . "#ffffff")))
(load-theme 'spacemacs-light t) (load-theme 'spacemacs-light t)
#+end_src #+end_src
The first tweak I make is changing the borders around the mode line
to be two pixels thick and the same colour as the background (of
the active mode line that is).
#+begin_src emacs-lisp
(set-face-attribute 'mode-line nil
:box '(:line-width 2 :color "#e7e5eb" :style nil))
(set-face-attribute 'mode-line-inactive nil
:box '(:line-width 2 :color "#e7e5eb" :style nil))
#+end_src
I also set the right window divider to the same colour as the
header background.
#+begin_src emacs-lisp
(set-face-attribute 'window-divider nil :foreground "#efeae9")
(setq initial-frame-alist '((right-divider-width . 1)))
#+end_src
* Autocompletion * Autocompletion
Enable =company-mode= globally, and hook it into =completion-at-point-functions=. Enable =company-mode= globally, and hook it into =completion-at-point-functions=.