mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
Update theme files for Emacs 28 inclusion+upgrade
The themes are already in Emacs, but we have to use a new function for things to work as intended with the new version of the files (check the Emacs source code for the technicalities of 'require-theme'). This is in preparation of the imminent release of version 1.2.0.
This commit is contained in:
parent
b5a198df86
commit
0a5ec7dbe0
|
|
@ -50,7 +50,9 @@
|
|||
|
||||
|
||||
|
||||
(require 'modus-themes)
|
||||
(if (>= emacs-major-version 28)
|
||||
(require-theme 'modus-themes)
|
||||
(require 'modus-themes))
|
||||
|
||||
(deftheme modus-operandi
|
||||
"Accessible and customizable light theme (WCAG AAA standard).
|
||||
|
|
|
|||
|
|
@ -50,7 +50,9 @@
|
|||
|
||||
|
||||
|
||||
(require 'modus-themes)
|
||||
(if (>= emacs-major-version 28)
|
||||
(require-theme 'modus-themes)
|
||||
(require 'modus-themes))
|
||||
|
||||
(deftheme modus-vivendi
|
||||
"Accessible and customizable light theme (WCAG AAA standard).
|
||||
|
|
|
|||
Loading…
Reference in a new issue