https://github.com/fgeller/iv-theme.el
Minimalistic theme for GNU Emacs using 4 colors
https://github.com/fgeller/iv-theme.el
Last synced: 5 months ago
JSON representation
Minimalistic theme for GNU Emacs using 4 colors
- Host: GitHub
- URL: https://github.com/fgeller/iv-theme.el
- Owner: fgeller
- Created: 2015-10-24T09:14:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-24T18:15:59.000Z (over 10 years ago)
- Last Synced: 2025-10-10T23:10:36.342Z (9 months ago)
- Language: Emacs Lisp
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* iv
Minimalistic theme for GNU Emacs using 4 colors.
** Details
The theme relies only on 4 colors: black, white, red and gold.
By default the =mode-line= faces are using the same colors for fore- and
background to reduce the noise. I use a little helper to toggle the color and
face height of relevant faces similar to the following:
#+begin_src emacs-lisp
(defun mode-line-visual-toggle ()
(interactive)
(let ((faces-to-toggle '(mode-line mode-line-inactive))
(invisible-color "white")
(visible-color "black"))
(cond ((string= visible-color (face-attribute 'mode-line :foreground))
(mapcar (lambda (face) (set-face-foreground face invisible-color))
faces-to-toggle))
(t
(mapcar (lambda (face) (set-face-foreground face visible-color))
faces-to-toggle)))))
#+end_src