Add support for God
I would like to request the mode line to be colorized in God mode, similar to what Modus does for Evil.
God: https://github.com/emacsorphanage/god-mode
The official code to colorize the mode line in God is as follows:
(defun my-god-mode-update-modeline ()
(let ((limited-colors-p (> 257 (length (defined-colors)))))
(cond (god-local-mode (progn
(set-face-background 'mode-line (if limited-colors-p "white" "#e9e2cb"))
(set-face-background 'mode-line-inactive (if limited-colors-p "white" "#e9e2cb"))))
(t (progn
(set-face-background 'mode-line (if limited-colors-p "black" "#0a2832"))
(set-face-background 'mode-line-inactive (if limited-colors-p "black" "#0a2832")))))))
(add-hook 'god-mode-enabled-hook #'my-god-mode-update-modeline)
(add-hook 'god-mode-disabled-hook #'my-god-mode-update-modeline)