"Invert the `default' face (swap its background and foreground).
Effectively a very simple light/dark theme toggle switch."
(interactive)
- (invert-face 'default))
+ (invert-face 'default)
+ (when (display-graphic-p)
+ (invert-face 'mode-line)))
\f
;;; General key bindings