emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/modus-themes cec733f367 12/13: Change the default value


From: ELPA Syncer
Subject: [elpa] externals/modus-themes cec733f367 12/13: Change the default value of 'modus-themes-org-blocks' to 'gray-background'
Date: Tue, 27 Feb 2024 03:58:40 -0500 (EST)

branch: externals/modus-themes
commit cec733f367c08e0314f396fefb07c29749b2586a
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Change the default value of 'modus-themes-org-blocks' to 'gray-background'
---
 doc/modus-themes.org | 31 +++++++++++++++++--------------
 modus-themes.el      | 32 ++++++++++++++++----------------
 2 files changed, 33 insertions(+), 30 deletions(-)

diff --git a/doc/modus-themes.org b/doc/modus-themes.org
index 0420499e36..d8dbd152b4 100644
--- a/doc/modus-themes.org
+++ b/doc/modus-themes.org
@@ -902,28 +902,31 @@ Is the same as:
 :end:
 #+vindex: modus-themes-org-blocks
 
+[ The  ~modus-themes-org-blocks~ has a new default value as part of
+  {{{development-version}}}. ]
+
 Brief: Set the overall style of Org code blocks, quotes, and the like.
 
 Symbol: ~modus-themes-org-blocks~ (=choice= type)
 
 Possible values:
 
-1. ~nil~ (default)
-2. ~gray-background~
+1. ~nil~
+2. ~gray-background~ (default)
 3. ~tinted-background~
 
-Option ~nil~ (the default) means that the block has no background of
-its own: it uses the one that applies to the rest of the buffer.
-In this case, the delimiter lines have a gray color for their text,
-making them look exactly like all other Org properties.
-
-Option ~gray-background~ applies a subtle gray background to the
-block's contents.  It also affects the begin and end lines of the
-block as they get another shade of gray as their background, which
-differentiates them from the contents of the block.  All background
-colors extend to the edge of the window, giving the area a
-rectangular, "blocky" presentation.  If the begin/end lines do not
-extend in this way, check the value of the Org user option
+Option ~nil~ means that the block has no background of its own: it
+uses the one that applies to the rest of the buffer. In this case, the
+delimiter lines have a gray color for their text, making them look
+exactly like all other Org properties.
+
+Option ~gray-background~ (the default) applies a subtle gray
+background to the block's contents. It also affects the begin and end
+lines of the block as they get another shade of gray as their
+background, which differentiates them from the contents of the block.
+All background colors extend to the edge of the window, giving the
+area a rectangular, "blocky" presentation. If the begin/end lines do
+not extend in this way, check the value of the Org user option
 ~org-fontify-whole-block-delimiter-line~.
 
 Option ~tinted-background~ uses a colored background for the contents
diff --git a/modus-themes.el b/modus-themes.el
index afe8213bc8..8abc686d65 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -518,22 +518,22 @@ and related user options."
   :initialize #'custom-initialize-default
   :link '(info-link "(modus-themes) Heading styles"))
 
-(defcustom modus-themes-org-blocks nil
+(defcustom modus-themes-org-blocks 'gray-background
   "Set the overall style of Org code blocks, quotes, and the like.
 
-Nil (the default) means that the block has no background of its
-own: it uses the one that applies to the rest of the buffer.  In
-this case, the delimiter lines have a gray color for their text,
-making them look exactly like all other Org properties.
+Nil means that the block has no background of its own: it uses
+the one that applies to the rest of the buffer.  In this case,
+the delimiter lines have a gray color for their text, making them
+look exactly like all other Org properties.
 
-Option `gray-background' applies a subtle gray background to the
-block's contents.  It also affects the begin and end lines of the
-block as they get another shade of gray as their background,
-which differentiates them from the contents of the block.  All
-background colors extend to the edge of the window, giving the
-area a rectangular, \"blocky\" presentation.  If the begin/end
-lines do not extend in this way, check the value of the Org user
-option `org-fontify-whole-block-delimiter-line'.
+Option `gray-background' (the default) applies a subtle gray
+background to the block's contents.  It also affects the begin
+and end lines of the block as they get another shade of gray as
+their background, which differentiates them from the contents of
+the block.  All background colors extend to the edge of the
+window, giving the area a rectangular, \"blocky\" presentation.
+If the begin/end lines do not extend in this way, check the value
+of the Org user option `org-fontify-whole-block-delimiter-line'.
 
 Option `tinted-background' uses a colored background for the
 contents of the block.  The exact color value will depend on the
@@ -547,11 +547,11 @@ highlighting) only when the variable 
`org-src-fontify-natively'
 is non-nil.  While quote/verse blocks require setting
 `org-fontify-quote-and-verse-blocks' to a non-nil value."
   :group 'modus-themes
-  :package-version '(modus-themes . "4.0.0")
+  :package-version '(modus-themes . "4.4.0")
   :version "30.1"
   :type '(choice
-          (const :format "[%v] %t\n" :tag "No Org block background (default)" 
nil)
-          (const :format "[%v] %t\n" :tag "Subtle gray block background" 
gray-background)
+          (const :format "[%v] %t\n" :tag "No Org block background" nil)
+          (const :format "[%v] %t\n" :tag "Subtle gray block background 
(default)" gray-background)
           (const :format "[%v] %t\n" :tag "Color-coded background per 
programming language" tinted-background))
   :set #'modus-themes--set-option
   :initialize #'custom-initialize-default



reply via email to

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