branch: externals/modus-themes
commit e6463c0e216ea75f73bcb5efd51b5e4328f164c8
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Reinstate the generic typography faces
    
    This is to ensure that we do not get unwanted styles in some cases, as
    reported by chainedghost in issue 167:
    <https://github.com/protesilaos/modus-themes/issues/167>.
---
 modus-themes.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modus-themes.el b/modus-themes.el
index 487bed0c8f..89633a6eca 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -4558,6 +4558,10 @@ FG and BG are the main colors."
 ;;;; standard faces
 ;;;;; absolute essentials
     `(default ((,c :background ,bg-main :foreground ,fg-main)))
+    `(bold ((,c :weight bold)))
+    `(bold-italic ((,c :inherit (bold italic))))
+    `(underline ((,c :underline ,fg-dim)))
+    `(italic ((,c :slant italic)))
     `(cursor ((,c :background ,cursor)))
     `(fringe ((,c :background ,fringe :foreground ,fg-main)))
     `(menu ((,c :background ,bg-dim :foreground ,fg-main)))

Reply via email to