Trying to set custom theme faces to no avail

This commit is contained in:
Joseph Ferano 2022-12-10 23:03:45 +04:00
parent b1269af232
commit c6f172de08

View File

@ -168,7 +168,6 @@ Use Dashboard.el. First load `all-the-icons` for nicer rendering
;; (straight-use-package 'all-the-icons)
(straight-use-package 'dashboard)
(dashboard-setup-startup-hook)
;; (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")))
(setq dashboard-items '((recents . 8)
(bookmarks . 8)))
(setq dashboard-startup-banner 'logo)
@ -191,9 +190,28 @@ Use Dashboard.el. First load `all-the-icons` for nicer rendering
*** Themes
#+begin_src emacs-lisp
;; (load "/home/joe/.dotfiles/.emacs.bankruptcy/straight/repos/themes/themes/doom-flatwhite-theme.el")
(straight-use-package 'doom-themes)
(setq custom-safe-themes t)
;; General Faces
(custom-set-faces
'(dashboard-items-face ((t (:inherit widget-button :weight normal)))))
;; Theme Specific
(with-eval-after-load 'doom-themes
(load "/home/joe/.dotfiles/.config/emacs/straight/build/doom-themes/doom-palenight-theme.el")
(load "/home/joe/.dotfiles/.config/emacs/straight/build/doom-themes/doom-flatwhite-theme.el")
(custom-theme-set-faces
'doom-palenight
'(highlight ((t (:background "#3C435E" :foreground "#ffffff"))))
'(markdown-code-face ((t (:extend t :background "#232635")))))
(custom-theme-set-faces
'doom-flatwhite
'(hl-line ((t (:extend t :background "#e4ddd2"))))
'(org-block ((t (:extend t :background "#f1ece4"))))
'(org-block-begin-line ((t (:extend t :background "#3C435E"))))))
#+end_src
We want to add whatever custom theme we selected to the custom variables since emacs will just
@ -1017,8 +1035,8 @@ startup. Reason we have to call this is so the vterm fucntion can call `vterm--i
(setq lsp-keymap-prefix "C-c c")
;; (setq lsp-ui-peek-always-show t)
;; (setq lsp-ui-sideline-show-hover t)
;; (setq lsp-ui-doc-enable t)
;; TODO: Disable lsp sideline
(setq lsp-headerline-breadcrumb-enable nil)
(setq lsp-eldoc-enable-hover t)
(setq max-mini-window-height 0.25)
@ -1065,6 +1083,10 @@ startup. Reason we have to call this is so the vterm fucntion can call `vterm--i
(evil-global-set-key 'normal (kbd "<leader>el") #'flycheck-list-errors)
(evil-global-set-key 'normal (kbd "<leader>ce") #'consult-lsp-diagnostics)
#+end_src
*** Compilation
#+begin_src emacs-lisp
(setq compilation-auto-jump-to-first-error t)
#+end_src
** Languages
*** Rust
#+begin_src emacs-lisp