项目作者: rougier

项目描述 :
GNU Emacs / N Λ N O Theme
高级语言: Emacs Lisp
项目地址: git://github.com/rougier/nano-theme.git
创建时间: 2021-06-03T14:40:20Z
项目社区:https://github.com/rougier/nano-theme

开源协议:GNU General Public License v3.0

下载


GNU Emacs / N Λ N O Theme

A consistent theme for GNU Emacs. The light theme is based on Material
colors
and the dark theme is based on Nord
colors
.

The theme is based on a set of six faces (only):

  • Critical face is for information that requires immediate action.

    It should be of high constrast when compared to other faces. This
    can be realized (for example) by setting an intense background
    color, typically a shade of red. It must be used scarcely.

  • Popout face is used for information that needs attention.

    To achieve such effect, the hue of the face has to be sufficiently
    different from other faces such that it attracts attention through
    the popout effect.

  • Strong face is used for information of a structural nature.

    It has to be the same color as the default color and only the
    weight differs by one level (e.g., light/regular or
    regular/bold). IT is generally used for titles, keywords,
    directory, etc.

  • Salient face is used for information that are important.

    To suggest the information is of the same nature but important,
    the face uses a different hue with approximately the same
    intensity as the default face. This is typically used for links.

  • Faded face is for information that are less important.

    It is made by using the same hue as the default but with a lesser
    intensity than the default. It can be used for comments, secondary
    information and also replace italic (which is generally abused
    anyway

  • Subtle face is used to suggest a physical area on the screen.

    It is important to not disturb too strongly the reading of
    information and this can be made by setting a very light
    background color that is barely perceptible.

Installation

Install with straight.el:

  1. (straight-use-package '(nano-theme :type git :host github
  2. :repo "rougier/nano-theme"))

… or install with quelpa:

  1. (use-package nano-theme
  2. :ensure nil
  3. :defer t
  4. :quelpa (nano-theme
  5. :fetcher github
  6. :repo "rougier/nano-theme"))

Usage

Load theme directly: M-x: (load-theme 'nano t)

Alternatively, you can type:

  • M-x: (nano-light) for light theme
  • M-x: (nano-dark) for dark theme

If you want the same aspect as in the screenshots, you can also use
M-x: (nano-mode)

Screenshots