-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix mode line suggested in README resulting in unreadable mode line #129
Comments
Good spotting, @salutis! I (over)simplified the function in the README and came up with this: (defun my-god-mode-update-mode-line ()
(cond (god-local-mode
(progn
(set-face-attribute 'mode-line nil
:foreground "#e9e2cb"
:background "#0a2832")
(set-face-attribute 'mode-line-inactive nil
:foreground "#e9e2cb"
:background "#0a2832")))
(t
(progn
(set-face-attribute 'mode-line nil
:foreground "#0a2832"
:background "#e9e2cb")
(set-face-attribute 'mode-line-inactive nil
:foreground "#0a2832"
:background "#e9e2cb"))))) I feel users can add in other attributes like |
I think we should use different colors for active and inactive mode lines. Setting both states to the same color sets a bad example and decreases accessibility of Emacs for no good reason. Here is a version with properly differentiated active/inactive state:
Feel free to swap the colors; the ones above are from Modus Themes. P.S. |
Couldn't agree more 👌
Good catch! It looks like you've picked up a decent amount of Emacs Lisp in a relatively short amount of time 😄 I'll update the README shortly. |
In
README
, we say:Then, the sample code below changes only the background color. As a result, with default colors (or any other light color theme), the mode line becomes unreadable, rendering black text on black background. We must change both the background and the foreground color.
For reference, below is my
my-god-mode-update-mode-line
. This is tied tomodus-themes
, but we could pick some "raw" colors that look good.Note: I can do this later.
The text was updated successfully, but these errors were encountered: