mirror of
https://github.com/protesilaos/doric-themes.git
synced 2026-02-15 19:35:16 +01:00
Minimalist themes for GNU Emacs
- Emacs Lisp 100%
Two new themes -------------- 'doric-jade' is a light theme with a predominantly green feel. 'doric-copper' is a dark theme with orange, magenta, and cyan colours. I have update all screenshots: <https://protesilaos.com/emacs/doric-themes-pictures>. Revised styles for Org TODO and DONE ------------------------------------ The relevant faces now use a colour-coding scheme where TODO states are rendered in red while DONE are green. This is done to ensure cross-theme consistency. Those faces communicate a certain state and, therefore, it is better to not have to relearn which colour means what while switching between the Doric themes. Org ~code~ faces stand out more ------------------------------- This is done to differentiate them from =verbatim=. It is especially important for users who choose to hide the markup with the user option 'org-hide-emphasis-markers' (I used to do that but realised that the ambiguity was a problem in many cases, because ~code~ and =verbatim= have different semantics in some exported formats). Refinements to all Org heading or heading-like faces ---------------------------------------------------- This covers the regular Org headings as well as anything that performs the same function, such as in the Org agenda buffer. All regular headings use the main foreground value. The document title and the Org agenda equivalent of that are rendered in an accent colour for greater effect. Combined with the aforementioned revision of the TODO and DONE states, Org buffers are easier to read and work with. Tweaks for the Org agenda faces ------------------------------- The faces that communicate the current time and applicable filters are made more intense. The idea is to spot them more quickly. Faces that pertain to diary or diary-style events no longer use italics to avoid exaggerations. Blocked tasks are easier to spot. The applicable query in the structure header is made more prominent. Overall, Org agenda buffers should be easier to scan. More obvious style for Org exporting ------------------------------------ The active/available keys in the Org export dispatcher use more intense colours and have greater padding around them. This is what I also do with the Modus themes (and all derivatives) to improve the legibility of those keys. Magit branch and author faces are redone ---------------------------------------- The authors in log views and elsewhere have a distinct colour to stand out a bit more. Branches use consistent typography, while the current branch stands out more than the others. New colours for transient faces with background values ------------------------------------------------------ Enabled and disabled keys use a green-red coding scheme. Active values and arguments have a style that is the same across themes for the same reason as Org TODO and DONE. Transient headings use the main foreground colour to not draw more attention than they need to. Git commit faces follow the aforementioned patterns --------------------------------------------------- Those are seen when writing a commit message in Magit. VC logs better differentiate the commit author ---------------------------------------------- The relevant face uses a distinct foreground. It no longer applies a bold weight, as that had the effect of making the buffers much busier than necessary. Colour-coded styles for Dired marks ----------------------------------- Items that are marked for selection are rendered in a green style, while those marked for deletion are red. This is done for cross-theme consistency, so that users do not have to think twice before performing the relevant operations. The 'doric-themes-with-colors' macro for advanced users ------------------------------------------------------- This macro is effectively the same as a 'let' for binding the colours of the active Doric theme. Advanced users can rely on this macro to write functions that, for example, set the theme-specific red colour value of a given face. Miscellaneous ------------- Symlinks in Dired buffers are easier to spot. Same for visited links in Info buffers. Org definitions no longer override the foreground of any other face present in them. Same for the notmuch header in view buffers. |
||
|---|---|---|
| tests | ||
| .elpaignore | ||
| contrasts.org | ||
| COPYING | ||
| doric-beach-theme.el | ||
| doric-cherry-theme.el | ||
| doric-copper-theme.el | ||
| doric-dark-theme.el | ||
| doric-earth-theme.el | ||
| doric-fire-theme.el | ||
| doric-jade-theme.el | ||
| doric-light-theme.el | ||
| doric-marble-theme.el | ||
| doric-mermaid-theme.el | ||
| doric-oak-theme.el | ||
| doric-obsidian-theme.el | ||
| doric-pine-theme.el | ||
| doric-plum-theme.el | ||
| doric-siren-theme.el | ||
| doric-themes.el | ||
| doric-valley-theme.el | ||
| doric-water-theme.el | ||
| doric-wind-theme.el | ||
| README.md | ||
Doric themes for GNU Emacs
These are my minimalist themes. They use few colours and will appear mostly monochromatic in many contexts. Styles involve the careful use of typography, such as italics and bold italics.
If you want maximalist themes in terms of colour, check my ef-themes
package. For something in-between, which I would consider the best
"default theme" for a text editor, opt for my modus-themes.
- Package name (GNU ELPA):
doric-themes - Sample pictures: https://protesilaos.com/emacs/doric-themes-pictures
- Git repository: https://github.com/protesilaos/doric-themes
- Backronym: Doric Only Really Intensifies Conservatively ... themes.
Sample configuration
(use-package doric-themes
:ensure t
:demand t
:config
;; These are the default values.
(setq doric-themes-to-toggle '(doric-light doric-dark))
(setq doric-themes-to-rotate doric-themes-collection)
(doric-themes-select 'doric-light)
;; ;; To load a random theme instead, use something like one of these:
;;
;; (doric-themes-load-random)
;; (doric-themes-load-random 'light)
;; (doric-themes-load-random 'dark)
;; ;; For optimal results, also define your preferred font family (or use my `fontaine' package):
;;
;; (set-face-attribute 'default nil :family "Aporetic Sans Mono" :height 160)
;; (set-face-attribute 'variable-pitch nil :family "Aporetic Sans" :height 1.0)
;; (set-face-attribute 'fixed-pitch nil :family "Aporetic Sans Mono" :height 1.0)
:bind
(("<f5>" . doric-themes-toggle)
("C-<f5>" . doric-themes-select)
("M-<f5>" . doric-themes-rotate)))