Tweak the manual for colour overrides

Provides a more grey alternative for modus-operandi.
This commit is contained in:
Protesilaos Stavrou 2022-02-23 07:41:04 +02:00
parent 8523955636
commit 57165f269f
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 107 additions and 77 deletions

View file

@ -2692,8 +2692,7 @@ both themes and expands to some more assosiations in the palette:
(bg-header . "#ede3e0")
(bg-tab-bar . "#dcd3d3")
(bg-tab-active . "#fdf6eb")
(bg-tab-inactive . "#c8bab8")
(fg-unfocused . "#55556f"))
(bg-tab-inactive . "#c8bab8"))
modus-themes-vivendi-color-overrides
'((bg-main . "#100b17")
(bg-dim . "#161129")
@ -2705,16 +2704,31 @@ both themes and expands to some more assosiations in the palette:
(bg-header . "#202037")
(bg-tab-bar . "#262b41")
(bg-tab-active . "#120f18")
(bg-tab-inactive . "#3a3a5a")
(fg-unfocused . "#9a9aab")))
(bg-tab-inactive . "#3a3a5a")))
(setq modus-themes-operandi-color-overrides nil
modus-themes-vivendi-color-overrides nil)))
With this in place, one can invoke M-x my-modus-themes-tinted and
A more neutral style for modus-themes-operandi-color-overrides can
look like this:
'((bg-main . "#f7f7f7")
(bg-dim . "#f2f2f2")
(bg-alt . "#e8e8e8")
(bg-hl-line . "#eaeaef")
(bg-active . "#e0e0e0")
(bg-inactive . "#e6e6e6")
(bg-region . "#b5b5b5")
(bg-header . "#e4e4e4")
(bg-tab-bar . "#d1d1d4")
(bg-tab-active . "#f5f5f5")
(bg-tab-inactive . "#c0c0c0"))
With those in place, one can use M-x my-modus-themes-tinted and
then load the Modus theme of their choice. The new palette subset will
come into effect: subtle ochre tints for Modus Operandi and night sky
shades for Modus Vivendi. Switching between the two themes, such as
with M-x modus-themes-toggle will also use the overrides.
come into effect: subtle ochre tints (or shades of gray) for Modus
Operandi and night sky blue shades for Modus Vivendi. Switching between
the two themes, such as with M-x modus-themes-toggle will also use the
overrides.
Given that this is a user-level customisation, one is free to
implement whatever color values they desire, even if the possible
@ -6102,66 +6116,66 @@ Node: Face specs at scale using the themes' palette90130
Node: Remap face with local value94931
Node: Cycle through arbitrary colors97356
Node: Override colors103784
Node: Override color saturation108649
Node: Override colors through blending114328
Node: Font configurations for Org and others117185
Ref: Font configurations for Org and others-Footnote-1120001
Node: Configure bold and italic faces120188
Node: Custom Org todo keyword and priority faces124336
Node: Custom Org emphasis faces128009
Node: Update Org block delimiter fontification132810
Node: Measure color contrast134727
Node: Load theme depending on time of day137450
Node: Backdrop for pdf-tools138443
Node: Decrease mode line height141295
Node: Toggle themes without reloading them145417
Node: A theme-agnostic hook for theme loading146696
Node: Diffs with only the foreground149098
Node: Ediff without diff color-coding152212
Node: Face coverage154307
Node: Supported packages154759
Node: Indirectly covered packages161275
Node: Notes on individual packages162295
Node: Note on avy hints163359
Node: Note on calendarel weekday and weekend colors164527
Node: Note on underlines in compilation buffers165710
Node: Note on inline Latex in Org buffers166557
Node: Note on dimmerel167167
Node: Note on display-fill-column-indicator-mode168652
Node: Note on highlight-parenthesesel170215
Node: Note on mmm-modeel background colors176204
Node: Note for prism178519
Node: Note for god-mode181673
Node: Note on company-mode overlay pop-up183277
Ref: Note on company-mode overlay pop-up-Footnote-1183967
Ref: Note on company-mode overlay pop-up-Footnote-2184034
Node: Note on ERC escaped color sequences184089
Ref: Note on ERC escaped color sequences-Footnote-1185517
Node: Note on powerline or spaceline185627
Node: Note on SHR colors186041
Node: Note on SHR fonts186453
Node: Note on Ement colors and fonts187086
Node: Note on Helm grep188585
Node: Note on vc-annotate-background-mode190062
Node: Note on pdf-tools link hints190947
Node: Frequently Asked Questions193379
Node: Is the contrast ratio about adjacent colors?194010
Node: What does it mean to avoid exaggerations?195517
Node: Why are colors mostly variants of blue magenta cyan?197346
Node: What is the best setup for legibility?201659
Node: Are these color schemes?204304
Node: Port the Modus themes to other platforms?208024
Node: Contributing210808
Node: Sources of the themes211205
Node: Issues you can help with211841
Node: Patches require copyright assignment to the FSF213041
Node: Acknowledgements215336
Node: Meta218345
Node: GNU Free Documentation License220824
Node: Indices246176
Node: Function index246355
Node: Variable index247878
Node: Concept index250092
Node: Override color saturation109022
Node: Override colors through blending114701
Node: Font configurations for Org and others117558
Ref: Font configurations for Org and others-Footnote-1120374
Node: Configure bold and italic faces120561
Node: Custom Org todo keyword and priority faces124709
Node: Custom Org emphasis faces128382
Node: Update Org block delimiter fontification133183
Node: Measure color contrast135100
Node: Load theme depending on time of day137823
Node: Backdrop for pdf-tools138816
Node: Decrease mode line height141668
Node: Toggle themes without reloading them145790
Node: A theme-agnostic hook for theme loading147069
Node: Diffs with only the foreground149471
Node: Ediff without diff color-coding152585
Node: Face coverage154680
Node: Supported packages155132
Node: Indirectly covered packages161648
Node: Notes on individual packages162668
Node: Note on avy hints163732
Node: Note on calendarel weekday and weekend colors164900
Node: Note on underlines in compilation buffers166083
Node: Note on inline Latex in Org buffers166930
Node: Note on dimmerel167540
Node: Note on display-fill-column-indicator-mode169025
Node: Note on highlight-parenthesesel170588
Node: Note on mmm-modeel background colors176577
Node: Note for prism178892
Node: Note for god-mode182046
Node: Note on company-mode overlay pop-up183650
Ref: Note on company-mode overlay pop-up-Footnote-1184340
Ref: Note on company-mode overlay pop-up-Footnote-2184407
Node: Note on ERC escaped color sequences184462
Ref: Note on ERC escaped color sequences-Footnote-1185890
Node: Note on powerline or spaceline186000
Node: Note on SHR colors186414
Node: Note on SHR fonts186826
Node: Note on Ement colors and fonts187459
Node: Note on Helm grep188958
Node: Note on vc-annotate-background-mode190435
Node: Note on pdf-tools link hints191320
Node: Frequently Asked Questions193752
Node: Is the contrast ratio about adjacent colors?194383
Node: What does it mean to avoid exaggerations?195890
Node: Why are colors mostly variants of blue magenta cyan?197719
Node: What is the best setup for legibility?202032
Node: Are these color schemes?204677
Node: Port the Modus themes to other platforms?208397
Node: Contributing211181
Node: Sources of the themes211578
Node: Issues you can help with212214
Node: Patches require copyright assignment to the FSF213414
Node: Acknowledgements215709
Node: Meta218718
Node: GNU Free Documentation License221197
Node: Indices246549
Node: Function index246728
Node: Variable index248251
Node: Concept index250465

End Tag Table

View file

@ -2620,8 +2620,7 @@ both themes and expands to some more assosiations in the palette:
(bg-header . "#ede3e0")
(bg-tab-bar . "#dcd3d3")
(bg-tab-active . "#fdf6eb")
(bg-tab-inactive . "#c8bab8")
(fg-unfocused . "#55556f"))
(bg-tab-inactive . "#c8bab8"))
modus-themes-vivendi-color-overrides
'((bg-main . "#100b17")
(bg-dim . "#161129")
@ -2633,17 +2632,34 @@ both themes and expands to some more assosiations in the palette:
(bg-header . "#202037")
(bg-tab-bar . "#262b41")
(bg-tab-active . "#120f18")
(bg-tab-inactive . "#3a3a5a")
(fg-unfocused . "#9a9aab")))
(bg-tab-inactive . "#3a3a5a")))
(setq modus-themes-operandi-color-overrides nil
modus-themes-vivendi-color-overrides nil)))
#+end_src
With this in place, one can invoke {{{kbd(M-x my-modus-themes-tinted)}}} and
then load the Modus theme of their choice. The new palette subset will
come into effect: subtle ochre tints for Modus Operandi and night sky
shades for Modus Vivendi. Switching between the two themes, such as
with {{{kbd(M-x modus-themes-toggle)}}} will also use the overrides.
A more neutral style for ~modus-themes-operandi-color-overrides~ can
look like this:
#+begin_src emacs-lisp
'((bg-main . "#f7f7f7")
(bg-dim . "#f2f2f2")
(bg-alt . "#e8e8e8")
(bg-hl-line . "#eaeaef")
(bg-active . "#e0e0e0")
(bg-inactive . "#e6e6e6")
(bg-region . "#b5b5b5")
(bg-header . "#e4e4e4")
(bg-tab-bar . "#d1d1d4")
(bg-tab-active . "#f5f5f5")
(bg-tab-inactive . "#c0c0c0"))
#+end_src
With those in place, one can use {{{kbd(M-x my-modus-themes-tinted)}}}
and then load the Modus theme of their choice. The new palette subset
will come into effect: subtle ochre tints (or shades of gray) for Modus
Operandi and night sky blue shades for Modus Vivendi. Switching between
the two themes, such as with {{{kbd(M-x modus-themes-toggle)}}} will
also use the overrides.
Given that this is a user-level customisation, one is free to implement
whatever color values they desire, even if the possible combinations