From e4a0853b306c054e5554f866d731020a7a6f5206 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:57:53 -0500 Subject: MAJOR formatting and documentation --- bard-emacs-modules/bard-emacs-theme.el | 86 +--------------------------------- 1 file changed, 2 insertions(+), 84 deletions(-) (limited to 'bard-emacs-modules/bard-emacs-theme.el') diff --git a/bard-emacs-modules/bard-emacs-theme.el b/bard-emacs-modules/bard-emacs-theme.el index 969adee..beacc09 100644 --- a/bard-emacs-modules/bard-emacs-theme.el +++ b/bard-emacs-modules/bard-emacs-theme.el @@ -3,92 +3,12 @@ ;; declare all themes as safe (i trust developers) (setq custom-safe-themes t) -(use-package ef-themes - :ensure t - :demand t - :hook - ((ef-themes-post-load . bard/ef-themes-hl-todo-faces) - (ef-themes-post-load . logos-update-fringe-in-buffers)) - :config - (defun bard/ef-themes-hl-todo-faces () - "Configure `hl-todo-keyword-faces' with Ef themes colors. -The exact color values are taken from the active Ef theme." - (ef-themes-with-colors - (setq hl-todo-keyword-faces - `(("WAIT" . ,yellow) - ("TODO" . ,red) - ("NEXT" . ,blue) - ("THEM" . ,magenta) - ("PROG" . ,cyan-warmer) - ("OKAY" . ,green-warmer) - ("DONT" . ,yellow-warmer) - ("FAIL" . ,red-warmer) - ("BUG" . ,red-warmer) - ("DONE" . ,green) - ("NOTE" . ,blue-warmer) - ("KLUDGE" . ,cyan) - ("HACK" . ,cyan) - ("TEMP" . ,red) - ("FIXME" . ,red-warmer) - ("XXX+" . ,red-warmer) - ("KILLED" . ,cyan) - ("REVIEW" . ,red) - ("DEPRECATED" . ,yellow))))) - - (setq org-priority-faces - '((?A . (:inherit (bold next-error))) - (?B . org-priority) - (?C . (:inherit (shadow org-priority))))) - - ;; (setq ef-themes-headings - ;; '((0 variable-pitch bold 1.5) - ;; (1 variable-pitch bold 1.3) - ;; (2 regular 1.2) - ;; (3 1.1) - ;; (agenda-date . (variable-pitch bold 1.3)) - ;; (agenda-structure . (variable-pitch bold 1.5)) - ;; (t . 1.1))) - - (setq ef-themes-headings - '((0 . (variable-pitch light 1.5)) - (1 . (variable-pitch light 1.3)) - (2 . (regular 1.2)) - (t . (variable-pitch 1.1)) - (agenda-date . (variable-pitch bold 1.3)) - (agenda-structure . (variable-pitch bold 1.5)))) - - ;; better faces in overrides - (setq ef-themes-common-palette-overrides - `((fringe unspecified) - (bg-line-number-active bg-hl-line) - (bg-line-number-inactive unspecified) - (fg-line-number-active fg-main) - (bg-tab-bar bg-dim))) - - ;; verbatim need higher contrast for org mode - (setq ef-elea-dark-palette-overrides - '((prose-verbatim yellow-cooler))) - - (setq ef-elea-light-palette-overrides - '((prose-verbatim yellow-cooler))) - - (define-key global-map (kbd "M-") #'ef-themes-select) - (setq ef-themes-variable-pitch-ui t - ef-themes-mixed-fonts t)) - (use-package doom-themes :ensure t :config (setq doom-gruvbox-dark-variant "hard") - (bard/select-theme 'doom-gruvbox) - ) + (bard/select-theme 'doom-gruvbox)) -(use-package gruber-darker-theme - :ensure t - :vc (:url "https://github.com/BardofSprites/gruber-darker-theme" - :rev newest)) - -;;;; Fonts (use-package fontaine :ensure nil :config @@ -116,8 +36,7 @@ The exact color values are taken from the active Ef theme." (use-package mixed-pitch :ensure t :hook - (org-mode . mixed-pitch-mode) - ) + (org-mode . mixed-pitch-mode)) (use-package spacious-padding :ensure t @@ -134,5 +53,4 @@ The exact color values are taken from the active Ef theme." (spacious-padding-mode t)) (provide 'bard-emacs-theme) - ;;; bard-emacs-theme.el ends here -- cgit v1.2.3