My favorite emacs theme.
Go to file
Protesilaos Stavrou 07224cda08
Refine bongo faces for consistency
The previous design was meant to keep the track fields distinct from
each other.  However the use of yellow was not good aesthetically: it
does not fit with the rest of the theme.

Upon further experimentation, I realised that the album field (yellow)
is only present when the artist and title fields are also available:
first is the title, then the artist, and finally the album.  This is
true even with 'bongo-join-inserted-tracks' set to a non-nil value.  So
changing the face from yellow to a neutral value is safe.

The other two faces are adapted to look better in the new context.
2021-03-27 14:42:25 +02:00
doc Add support for pandoc-mode 2021-03-26 21:16:00 +02:00
.gitignore Stop building the modus-themes.texi 2021-03-06 12:56:40 +02:00
CHANGELOG.org Add CHANGELOG entry on version 1.2.0 2021-03-04 15:07:02 +02:00
COPYING Add all doc files from main repo 2020-11-18 08:08:45 +02:00
modus-operandi-theme.el Refine code of commit 6f26cc8 ('require-theme') 2021-03-12 22:29:59 +02:00
modus-themes.el Refine bongo faces for consistency 2021-03-27 14:42:25 +02:00
modus-vivendi-theme.el Refine code of commit 6f26cc8 ('require-theme') 2021-03-12 22:29:59 +02:00
README.md Warn about potential issues with custom theme path 2021-02-02 20:14:20 +02:00

Modus themes (Modus Operandi and Modus Vivendi)

A pair of highly accessible themes that conform with the WCAG AAA standard for colour contrast between background and foreground combinations (a minimum contrast of 7:1---the highest standard of its kind).

The themes are built into GNU Emacs 28 (development target). They are also distributed in several packages formats.

  • modus-operandi is light
  • modus-vivendi is dark

Quick setup for the latest version

(use-package modus-themes
  :ensure
  :init
  ;; Add all your customizations prior to loading the themes
  (setq modus-themes-slanted-constructs t
        modus-themes-bold-constructs nil)

  ;; Load the theme files before enabling a theme
  (modus-themes-load-themes)
  :config
  ;; Load the theme of your choice:
  (modus-themes-load-operandi) ;; OR (modus-themes-load-vivendi)
  :bind ("<f5>" . modus-themes-toggle))

Note: make sure that you do not customise custom-theme-load-path or custom-theme-directory after the themes' package declaration. That will lead to failures in loading the files. If you must change those variables, do it before the package declaration.

Further information

Read the Info manual HTML version for how to install, load, enable, and customise the themes. If you are using the latest version of the themes, you already have the manual installed: evaluate (info "(modus-themes) Top") to start reading it.

The themes cover a broad range of packages and are highly customisable.

For some demo content, check: