Skip to content

Highlight colors not changing after toggling modus themes #85

Closed Answered by tarsius
8dcc asked this question in Q&A
Discussion options

You must be logged in to vote

hl-todo doesn't define any faces, instead it defines a single variable, an alist, which maps keywords to color strings. The face that is used as the value of the font-lock-face text property isn't something like hl-todo-done-keyword, but ((:foreground #afd8af") hl-todo). (So actually there is one face hl-todo, but it is always combined with an explicitly named color.

I assume modus-themes does theme the hl-todo-keyword-faces variable, and when you toggle a theme on or off, that does change the value of that variable, but doing so does not change the values of the font-lock-face text property across all text in all buffers.

You should be able to deal with it by additionally turning off and…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@8dcc
Comment options

@tarsius
Comment options

Answer selected by 8dcc
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #84 on January 13, 2025 19:05.