gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU ELPA] Standard-Themes version 2.0.0


From: ELPA update
Subject: [GNU ELPA] Standard-Themes version 2.0.0
Date: Mon, 27 Nov 2023 05:04:40 -0500

Version 2.0.0 of package Standard-Themes has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Standard-Themes describes itself as:

  ==========================================
  Like the default theme but more consistent
  ==========================================

More at https://elpa.gnu.org/packages/standard-themes.html

## Summary:

             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
              STANDARD-THEMES: LIKE THE DEFAULT THEME BUT MORE
                                 CONSISTENT

                            Protesilaos Stavrou
                            info@protesilaos.com
             ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


  This manual, written by Protesilaos Stavrou, describes the Emacs package
  called `standard-themes', and provides every other piece of information
  pertinent to it.

  The documentation furnished herein corresponds to stable version 2.0.0,
  released on 2023-11-27.  Any reference to a newer feature which does not
  yet form part of the latest tagged commit, is explicitly marked as such.

  Current development target is 2.1.0-dev.

## Recent NEWS:

                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                   CHANGE LOG OF THE STANDARD THEMES
                  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


This document contains the release notes for each tagged commit on the
project's main git repository:
<https://git.sr.ht/~protesilaos/standard-themes>.

The newest release is at the top.  For further details, please consult
the manual: <https://protesilaos.com/emacs/standard-themes>.


Version 2.0.0 on 2023-11-27
═══════════════════════════

Deprecated several user options that changed colours
────────────────────────────────────────────────────

  The following user options are deprecated in favour of palette
  overrides (more in the following section):

  • `standard-themes-mode-line-accented'
  • `standard-themes-links'
  • `standard-themes-region'
  • `standard-themes-fringes'

  In the same spirit, the user option `standard-themes-prompts' no
  longer affects colours.


All colour-related tweaks are done via palette overrides
────────────────────────────────────────────────────────

  In previous versions of the themes, we provided certain hardcoded
  colour variations, such as for an "accented" mode line and more
  "intense" fringes. We no longer do so, in favour of a more flexible
  approach that empowers the user to pick the exact colour they like.

  The Standard themes provide the means to override every entry in their
  palette. Each palette defines named faces (such as what is the exact
  hexademical Red-Green-Blue value of `blue-warmer') as well as semantic
  colour mappings (like `bg-mode-line-active'). Users can configure
  either the `standard-themes-common-palette-overrides' or the
  theme-specific ones, `standard-dark-palette-overrides',
  `standard-light-palette-overrides'.

  Refer to the manual for how this can be done:
  
<https://protesilaos.com/emacs/standard-themes#h:34fe0582-960b-45dc-af5d-23c8f3e9d724>.
  And/or use the commands to preview the palette:
  `standard-themes-preview-colors',
  `standard-themes-preview-colors-current'. Below is a sample:

  ┌────
  │ (setq standard-themes-common-palette-overrides
  │       '((cursor red-warmer)
  │     (bg-mode-line-active bg-blue-subtle)))
  └────

  [ This is the same functionality found in my `modus-themes' and
    `ef-themes'. Modus has the most palette entries and widest package
    support due to its maximalist scope. ]


The `standard-themes-prompts' accept any typographic weight
───────────────────────────────────────────────────────────

  This user option applies to prompt texts of all sorts, such as the
  minibuffer and command-line shells. It now accepts any supported
  typographic weight as part of its value. The list of weights are
  recorded in the documentation of the variable
  `standard-themes-weights' as well as the manual.


Headings have more semantic colour mappings associated with them
────────────────────────────────────────────────────────────────

  Apart from the foreground, each heading level from 0 to 8 now has a
  background and an overline. These new palette entries are set to the
  `unspecified' value, meaning that they do not have any visual effect.
  Users can set them to a colour via palette overrides to have headings
  with a background and/or an overline (per heading level).

  Building on the previous sample code with the overrides:

  ┌────
  │ (setq standard-themes-common-palette-overrides
  │       '((cursor red-warmer)
  │     (bg-mode-line-active bg-blue-subtle)
  │ 
  │     ;; Extra space for didactic purposes
  │ 
  │     (fg-heading-1 rainbow-1)
  │     (fg-heading-2 rainbow-2)
  │ 
  │     (bg-heading-1 bg-blue-nuanced)
  │     (bg-heading-2 bg-yellow-nuanced)
  │ 
  │     (overline-heading-1 blue-faint)
  │     (overline-heading-2 yellow-faint)
  │ 
  │     ))
  └────

  Always remember to reload the theme for changes to take effect.

  Contact me if you need any help.


Space-related semantic colour mappings are available
────────────────────────────────────────────────────

  :PROPERTIES: :CUSTOM_ID: h:818e0d4a-1969-4982-be33-d5f85f075a64 …  …

reply via email to

[Prev in Thread] Current Thread [Next in Thread]