* Function to load the various themes provided by modus-themes
@ 2024-04-15 23:31 Heime
0 siblings, 0 replies; only message in thread
From: Heime @ 2024-04-15 23:31 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
Want to use modus-themes with the various options. Currently I am only
able to handle a dark (vivendi) or light (operandi) theme.
But modus-themes has recently introduced
modus-vivendi-tinted modus-operandi-tinted
modus-vivendi-deuteranopia modus-operandi-deuteranopia
modus-vivendi-tritanopia modus-operandi-tritanopia
How can I best modify my modus-themes-launch function to handle
all the new themes.
(defconst modus-themes-dark t)
(defun modus-themes-launch ()
(add-to-list 'load-path "~/bin/contrib/modus-themes-4.4")
(require 'modus-themes)
(if modus-themes-dark
(load-theme 'modus-vivendi :no-confirm)
(load-theme 'modus-operandi :no-confirm)) )
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-15 23:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-15 23:31 Function to load the various themes provided by modus-themes Heime
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.