/nano-theme.el

Emacs theme split from nano-emacs.

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

nano-theme.el

This is an emacs theme spilt from nano-emacs.

Installation

Put nano-theme.el in your custom-theme-load-path, or use straight.el.

(straight-use-package '(nano-theme :type git :host github :repo "404cn/nano-theme.el"))

Then (load-theme 'nano t).

The default theme is light, add this to your config before load theme if you want to use dark theme.

(setq nano-theme-light/dark 'dark)

Use system appearence

Add this to your init.el to auto change light or dark theme after system appearance changed.

(when (boundp 'ns-system-appearance)
  (add-to-list 'ns-system-appearance-change-functions
               (lambda (l?d)
                 (setq nano-theme-light/dark l?d)
                 (mapc #'disable-theme custom-enabled-themes)
                 (load-theme 'nano t))))

Screenshot

./img/light.png