minad / org-modern

:unicorn: Modern Org Style
GNU General Public License v3.0
1.54k stars 48 forks source link

Setting priority faces doesn't do anything. #230

Closed niceiq closed 2 months ago

niceiq commented 2 months ago

Pretty simple issue here. The following code does not do anything at all:

     org-modern-priority-faces
     '((?A . (:foreground "black" :background "#68aaba")) ; Red
       (?B . (:foreground "black" :background "#d48c0d")) ; Orange
       (?C . (:foreground "black" :background "#d6ba04")) ; Yellow
       (?D . (:foreground "black" :background "#93e9fa"))) ; Blue

Modifying the string works as expected:

     org-modern-priority
     '((?A . "󱈸ASAP󱈸")
       (?B . "HIGH")
       (?C . "MEDIUM")
       (?D . "LOW"))

Solution I've found so far is to use:

    (setq org-priority-faces '(
                             (?A . (:background "black" :foreground "#b85862" :weight 'bold))
                             (?B . (:background "black" :foreground "#d48c0d"))
                             (?C . (:background "black" :foreground "#d6ba04"))
                             (?D . (:background "black" :foreground "#93e9fa"))))

Is there a difference between those two variables?

Also, is is possible to modify the font to be of similar size to the TODO item?

image