From 41600094d0a032a4b695c5a26ce5cce6562951cd Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 8 Apr 2024 18:25:51 -0500 Subject: [PATCH] Uses background for link from doom theme --- user/app/doom-emacs/config.el | 3 ++- user/app/doom-emacs/doom.org | 14 ++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index d3834b0..2779572 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -973,6 +973,7 @@ If FULL-MODE is not null, run full krita." org-agenda-skip-scheduled-if-deadline-is-shown t org-agenda-skip-timestamp-if-deadline-is-shown t) + ;; Custom styles for dates in agenda (custom-set-faces! '(org-agenda-date :inherit outline-1 :height 1.15) @@ -980,7 +981,7 @@ If FULL-MODE is not null, run full krita." '(org-agenda-date-weekend :ineherit outline-2 :height 1.15) '(org-agenda-date-weekend-today :inherit outline-4 :height 1.15) '(org-super-agenda-header :inherit custom-button :weight bold :height 1.05) - '(link :foreground unspecified :underline nil :background "#46354a") + `(link :foreground unspecified :underline nil :background ,(nth 1 (nth 7 doom-themes--colors))) '(org-link :foreground unspecified) ) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 0c2b6a1..38d81f1 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -1130,6 +1130,7 @@ On Wayland, EAF doesn't work. org-agenda-skip-scheduled-if-deadline-is-shown t org-agenda-skip-timestamp-if-deadline-is-shown t) + ;; Custom styles for dates in agenda (custom-set-faces! '(org-agenda-date :inherit outline-1 :height 1.15) @@ -1137,7 +1138,7 @@ On Wayland, EAF doesn't work. '(org-agenda-date-weekend :ineherit outline-2 :height 1.15) '(org-agenda-date-weekend-today :inherit outline-4 :height 1.15) '(org-super-agenda-header :inherit custom-button :weight bold :height 1.05) - '(link :foreground unspecified :underline nil :background "#46354a") + `(link :foreground unspecified :underline nil :background ,(nth 1 (nth 7 doom-themes--colors))) '(org-link :foreground unspecified) ) @@ -1180,17 +1181,6 @@ On Wayland, EAF doesn't work. #+END_SRC -#+RESULTS: -| Teaching.p | () | nil | nil | :ascent | center | -| Family.s | () | nil | nil | :ascent | center | -| Producer.p | () | nil | nil | :ascent | center | -| Bard.p | () | nil | nil | :ascent | center | -| Stories.s | () | nil | nil | :ascent | center | -| Author.p | () | nil | nil | :ascent | center | -| Gamedev.s | () | nil | nil | :ascent | center | -| Knowledge.p | () | nil | nil | :ascent | center | -| Personal.p | () | nil | nil | :ascent | center | - *** Org Agenda Convenience Functions #+BEGIN_SRC emacs-lisp :tangle config.el (defun org-categorize-by-roam-db-on-save ()