emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/moe-theme 669da2b186 047/352: 1. Fixed (maybe...) wrong ba


From: ELPA Syncer
Subject: [nongnu] elpa/moe-theme 669da2b186 047/352: 1. Fixed (maybe...) wrong background and foreground color under GUI version Emacs. 2. Update README #Known Issue
Date: Fri, 7 Jan 2022 03:59:05 -0500 (EST)

branch: elpa/moe-theme
commit 669da2b186eefb994344ed8fa5c6b23a93ce04b1
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>

    1. Fixed (maybe...) wrong background and foreground color under GUI version 
Emacs. 2. Update README #Known Issue
---
 README.md          | 2 +-
 moe-dark-theme.el  | 6 +++++-
 moe-light-theme.el | 6 +++++-
 3 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 383a78422c..514983a080 100644
--- a/README.md
+++ b/README.md
@@ -103,7 +103,7 @@ Can't bear a mode with an ugly looking? `moe-theme` doesn't 
support the mode you
 
 ## Known Issues
 * When using `moe-light` and typing characters under terminal emulator (e.g. 
Konsole) with IM (e.g. fcitx), the string embedded in Emacs may be very 
insignificant (But as you output the word from IM, it turns normal).
-* The background colors seems to be wrong under a GUI version's Emacs.
+* [Maybe have fixed] (I don't sure due to strange behavior of Emacs, it's 
welcome to report issue) The background colors seems to be wrong under a GUI 
version's Emacs.
 
 ## License
 `moe-theme.el` (include images) is released under GPL v3. Copyleft is so cute!
diff --git a/moe-dark-theme.el b/moe-dark-theme.el
index d0afe88732..99d2c6967c 100644
--- a/moe-dark-theme.el
+++ b/moe-dark-theme.el
@@ -377,7 +377,11 @@ Moe, moe, chew!")
    'moe-dark
    `(ansi-color-names-vector [,black-5 ,red-0 ,green-0 ,yellow-1
                              ,blue-1 ,purple-1 ,blue-0 ,white-1])))
-
+;; fix wrong default face under GUI version Emacs
+(if window-system 
+    (progn 
+      (set-background-color "#303030")
+      (set-foreground-color "#c6c6c6")))
 
 (provide-theme 'moe-dark)
 
diff --git a/moe-light-theme.el b/moe-light-theme.el
index bc1ae68e0c..5a36297437 100644
--- a/moe-light-theme.el
+++ b/moe-light-theme.el
@@ -376,7 +376,11 @@ Moe, moe, chew!")
    'moe-light
    `(ansi-color-names-vector [,black-5 ,red-0 ,green-0 ,yellow-1
                              ,blue-1 ,purple-1 ,blue-0 ,white-0])))
-
+;; fix wrong default face
+(if window-system
+    (progn 
+      (set-background-color "#ffffd7")
+      (set-foreground-color "#5f5f5f")))
 
 (provide-theme 'moe-light)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]