Theme overline does not appear over org-modern elements #248
Unanswered
spencerjackson
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi! Thanks for the report. Can you provide a patch, which demonstrates the fix via add-face-text-property and provide a minimal configuration I could use for testing? It could however be that this cannot be fixed satisfactorily since the TODO and tag boxes will be in conflict with the overlines. In your screenshot the boxes are overly large which is not the intended design of org-modern. org-modern itself is opionated and it can conflict with other special settings like headline overlines. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! First off, thank you for making such a wonderful package!
I've recently switched to the modus-vivendi theme, and configured it to show overlines above org headlines. Unfortunately, this appears to conflict with org-modern, and the overline will not appear over prettified elements:
Looking at the text in the headline, it appears to set with faces like
(org-headline-done org-level-2)
.org-level-2
inherits frommodus-themes-heading-2
, which sets a depth-specific overline color. Looking at the text in a prettified DONE tag, I see that the only face it possesses isorg-modern-done
.I considered adding overline attributes to the org-modern faces, but the correct overline color depends on the depth of the headline.
I think a way to fix this might be to prepend the org-modern faces to the pre-existing set of faces existing on the text using
add-face-text-property
instead ofput-text-property.
Then, org-modern would override any face attributes set by the theme, but still allow the theme to provide defaults.Beta Was this translation helpful? Give feedback.
All reactions