aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-modeline.el
blob: 1746de07511b921ed5434a1b7dc6b19f7236a3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;;; init-modeline.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;

;;; Code:
;;----------------------------------------------------------------------------
;; Modeline configuration
;;----------------------------------------------------------------------------
(use-package doom-modeline
  :pin "MELPA"
  :ensure t
  :hook (after-init . doom-modeline-mode)
  :config
  (setq column-number-mode t)

  ;; Custom colors for modeline (VSCode theme)
  (set-face-foreground 'mode-line "#FFFFFF")
  (set-face-foreground 'mode-line-inactive "#f4f4f4")
  (set-face-foreground 'mode-line-highlight "#f4f4f4")
  (set-face-background 'mode-line "#6a157e")
  (set-face-background 'mode-line-inactive "#7B1FA2")

  ;; Cursor and background
  (set-cursor-color "#2979FF")
  (set-background-color "#1C1E1F")

  ;; Highlight face
  (set-face-foreground 'highlight "#F4F4F4")
  (set-face-background 'highlight "#004575")

  ;; Fringe
  (set-face-background 'fringe nil)

  ;; Line numbers
  (set-face-attribute 'line-number-current-line nil
                      :background "#007ACC"
                      :foreground "#FFFFFF"))

(provide 'init-modeline)

;; End:
;;; init-modeline.el ends here