From e0db9b3aeaef8acff31d1ea8c18e533e8d497e4e Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Sun, 1 Jan 2023 07:24:06 +0200 Subject: [PATCH] One a node further down in the manual --- doc/modus-themes.org | 68 ++++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/doc/modus-themes.org b/doc/modus-themes.org index d4c5430..6660ab0 100644 --- a/doc/modus-themes.org +++ b/doc/modus-themes.org @@ -1209,40 +1209,6 @@ set their color to that of the underlying background. (border-mode-line-inactive unspecified))) #+end_src -**** Make the fringe invisible or another color -:PROPERTIES: -:CUSTOM_ID: h:c312dcac-36b6-4a1f-b1f5-ab1c9abe27b0 -:END: - -This is one of our practical examples to override the semantic colors -of the Modus themes ([[#h:df1199d8-eaba-47db-805d-6b568a577bf3][Stylistic variants using palette overrides]]). -Here we show how to make the fringe invisible or how to assign to it a -different color. The "fringe" is a small area to the right and left -side of the Emacs window which shows indicators such as for truncation -or continuation lines. - -#+begin_src emacs-lisp -;; These overrides are common to all Modus themes. We also provide -;; theme-specific options, such as `modus-operandi-palette-overrides'. -;; -;; In general, the theme-specific overrides are better for overriding -;; color values, such as redefining what `blue-faint' looks like. The -;; common overrides are best used for changes to semantic color -;; mappings, as we show below. - -;; Make the fringe invisible -(setq modus-themes-common-palette-overrides - '((fringe unspecified))) - -;; Make the fringe more intense -(setq modus-themes-common-palette-overrides - '((fringe bg-active))) - -;; Make the fringe colorful, but nuanced -(setq modus-themes-common-palette-overrides - '((fringe bg-blue-nuanced))) -#+end_src - **** Make the active mode line colorful :PROPERTIES: :CUSTOM_ID: h:e8d781be-eefc-4a81-ac4e-5ed156190df7 @@ -1287,6 +1253,40 @@ have a blue mode line for ~modus-operandi~ and a red one for (border-mode-line-active bg-red-subtle))) #+end_src +**** Make the fringe invisible or another color +:PROPERTIES: +:CUSTOM_ID: h:c312dcac-36b6-4a1f-b1f5-ab1c9abe27b0 +:END: + +This is one of our practical examples to override the semantic colors +of the Modus themes ([[#h:df1199d8-eaba-47db-805d-6b568a577bf3][Stylistic variants using palette overrides]]). +Here we show how to make the fringe invisible or how to assign to it a +different color. The "fringe" is a small area to the right and left +side of the Emacs window which shows indicators such as for truncation +or continuation lines. + +#+begin_src emacs-lisp +;; These overrides are common to all Modus themes. We also provide +;; theme-specific options, such as `modus-operandi-palette-overrides'. +;; +;; In general, the theme-specific overrides are better for overriding +;; color values, such as redefining what `blue-faint' looks like. The +;; common overrides are best used for changes to semantic color +;; mappings, as we show below. + +;; Make the fringe invisible +(setq modus-themes-common-palette-overrides + '((fringe unspecified))) + +;; Make the fringe more intense +(setq modus-themes-common-palette-overrides + '((fringe bg-active))) + +;; Make the fringe colorful, but nuanced +(setq modus-themes-common-palette-overrides + '((fringe bg-blue-nuanced))) +#+end_src + **** Make links use subtle or no underlines :PROPERTIES: :CUSTOM_ID: h:6c1d1dea-5cbf-4d92-b7bb-570a7a23ffe9