-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(:name ef-themes | ||
:website "https://protesilaos.com/emacs/ef-themes" | ||
:description "Colorful and legible themes" | ||
:type github | ||
:pkgname "protesilaos/ef-themes" | ||
:minimum-emacs-version "27.1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#+TITLE: ef-themes | ||
#+setupfile: ../setup.org | ||
|
||
#+begin_src emacs-lisp :comments no :padline no | ||
;;; toncs-config-ef-themes.el -*- lexical-binding: t -*- | ||
#+end_src | ||
|
||
#+begin_src emacs-lisp | ||
(require 'ef-themes) | ||
(require 'general) | ||
|
||
(defun toncs-config-ef-themes-configure () | ||
(setq ef-themes-headings | ||
'((1 variable-pitch 1.3) | ||
(2 variable-pitch 1.2) | ||
(agenda-date 1.3) | ||
(agenda-structure variable-pitch light 1.3) | ||
(t variable-pitch 1.1))) | ||
(setq ef-themes-common-palette-overrides | ||
'((bg-region bg-cyan-intense) | ||
(fg-region fg-intense))) | ||
(setq ef-themes-mixed-fonts t | ||
ef-themes-variable-pitch-ui t) | ||
(mapc #'disable-theme custom-enabled-themes) | ||
(setq ef-themes-to-toggle '(ef-duo-light ef-duo-dark)) | ||
(ef-themes-select 'ef-duo-light) | ||
(general-def "<f9>" #'ef-themes-toggle)) | ||
#+end_src | ||
|
||
#+begin_src emacs-lisp :comments no | ||
(provide 'toncs-config-ef-themes) | ||
;;; toncs-config-ef-themes.el ends here | ||
#+end_src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters