My favorite emacs theme.
Go to file
Protesilaos Stavrou c61b4b6fc8
Fix conditional use of 'require-theme'
This snippet is courtesy of Basil L. Contovounesios.  It is meant to
make the themes load their main library regardless of version or setup,
as discussed in issue 162:
<https://gitlab.com/protesilaos/modus-themes/-/issues/162>.
2021-03-05 13:48:45 +02:00
doc Minor tweaks to the manual's formatting 2021-03-05 09:47:37 +02:00
.gitignore MAJOR REVIEW of the manual's formatting for texi 2021-02-24 09:15:13 +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 Fix conditional use of 'require-theme' 2021-03-05 13:48:45 +02:00
modus-themes.el Use simplified syntax for face property annulments 2021-03-05 10:22:15 +02:00
modus-vivendi-theme.el Fix conditional use of 'require-theme' 2021-03-05 13:48:45 +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: