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

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

[nongnu] elpa/subatomic-theme 1eca744 50/58: Added customizable variable


From: ELPA Syncer
Subject: [nongnu] elpa/subatomic-theme 1eca744 50/58: Added customizable variable for comment delimiter apperance.
Date: Thu, 21 Oct 2021 18:11:20 -0400 (EDT)

branch: elpa/subatomic-theme
commit 1eca7445c0e73d3d02353b23f64c819f0e1ce604
Author: John Olsson <john@cryon.se>
Commit: John Olsson <john@cryon.se>

    Added customizable variable for comment delimiter apperance.
---
 README.md                            |   8 ++++++++
 readme-files/brighter-delimiters.png | Bin 0 -> 10020 bytes
 readme-files/darker-delimiters.png   | Bin 0 -> 10075 bytes
 subatomic-theme.el                   |   9 ++++++++-
 4 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 1b696af..c029b11 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,14 @@ Now also featuring a high contrast mode!
 
 <code>M-x customize-group subatomic</code> and toggle "Subatomic High 
Contrast" to enable.
 
+To customize the apperance of comment delimiter characters toggle 
<code>subatomic-more-visible-comment-delimiters</code>
+
+Default
+![Default 
delimiters](https://raw.github.com/cryon/subatomic/master/readme-files/darker-delimiters.png
 "Default delimiters")
+
+Brighter delimiters
+![Brighter 
delimiters](https://raw.github.com/cryon/subatomic/master/readme-files/brighter-delimiters.png
 "Brighter delimiters")
+
 Installation
 ============
 
diff --git a/readme-files/brighter-delimiters.png 
b/readme-files/brighter-delimiters.png
new file mode 100644
index 0000000..5b4a4e9
Binary files /dev/null and b/readme-files/brighter-delimiters.png differ
diff --git a/readme-files/darker-delimiters.png 
b/readme-files/darker-delimiters.png
new file mode 100644
index 0000000..7c8d7ef
Binary files /dev/null and b/readme-files/darker-delimiters.png differ
diff --git a/subatomic-theme.el b/subatomic-theme.el
index bdbba88..1a5c529 100644
--- a/subatomic-theme.el
+++ b/subatomic-theme.el
@@ -42,6 +42,11 @@ The theme has to be reloaded after changing anything in this 
group."
   :type 'boolean
   :group 'subatomic)
 
+(defcustom subatomic-more-visible-comment-delimiters nil
+  "Makes the comment delimiter characters the same color as the rest of the 
comment"
+  :type 'boolean
+  :group 'subatomic)
+
 (let ((midnight          (if subatomic-high-contrast "#000000" "#303347"))
       (midnight-1        "#2e3043")
       (midnight-2        "#2a2c3e")
@@ -181,7 +186,9 @@ The theme has to be reloaded after changing anything in 
this group."
      ((t (:foreground ,jungle-green))))
 
    `(font-lock-comment-delimiter-face
-     ((t (:foreground ,midnight-3))))
+     ((t (:foreground ,(if subatomic-more-visible-comment-delimiters
+                           mystic-blue
+                         midnight-3)))))
 
    `(font-lock-doc-face
      ((t (:foreground ,axiomatic-purple :italic t))))



reply via email to

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