[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/subatomic-theme b592edc 21/58: Added option for higher con
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/subatomic-theme b592edc 21/58: Added option for higher contrast (black background). |
Date: |
Thu, 21 Oct 2021 18:11:14 -0400 (EDT) |
branch: elpa/subatomic-theme
commit b592edc4c78a47b57c1af6a285b6c93e9ebd070b
Author: John Olsson <john@cryon.se>
Commit: John Olsson <john@cryon.se>
Added option for higher contrast (black background).
---
subatomic-theme.el | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/subatomic-theme.el b/subatomic-theme.el
index 02d1d19..b437d39 100644
--- a/subatomic-theme.el
+++ b/subatomic-theme.el
@@ -22,7 +22,17 @@
(deftheme subatomic
"subatomic emacs theme")
-(let ((midnight "#303347")
+(defgroup subatomic nil
+ "Subatomic theme options.
+The theme has to be reloaded after changing anything in this group."
+ :group 'faces)
+
+(defcustom subatomic-high-contrast nil
+ "Makes the general contrast higher by setting the background as black"
+ :type 'boolean
+ :group 'subatomic)
+
+(let ((midnight (if subatomic-high-contrast "#000000" "#303347"))
(midnight-1 "#2e3043")
(midnight-2 "#2a2c3e")
(midnight-3 "#232533")
@@ -105,7 +115,7 @@
((t (:background ,midnight-3 :foreground ,full-white :weight bold))))
`(hl-line
- ((t (:background ,midnight-1))))
+ ((t (:background ,(if subatomic-high-contrast midnight-3 midnight-1)))))
`(highlight-current-line-face
((t (:inherit hl-line))))
- [nongnu] branch elpa/subatomic-theme created (now a13cdac), ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 07ba70a 18/58: Release 1.4.0!, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 4c087ed 14/58: happy new year!, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 01181c0 19/58: Awesome is the new nice., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme e88bc0c3 41/58: Make SHM's current face lighter, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 15a6412 30/58: Added and modified some package meta data in preparation for marmalade release., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 4a8a96d 44/58: Added faces for refined diff., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme b592edc 21/58: Added option for higher contrast (black background).,
ELPA Syncer <=
- [nongnu] elpa/subatomic-theme 3f3bade 48/58: Add basic auctex support, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 2bd2895 49/58: Initial helm support., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 893a1485 55/58: Minor tweak to helm selection and match faces., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme a13cdac 58/58: Merge pull request #21 from pera/patch-1, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 568a73c 07/58: some documentation, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 67bcc16 22/58: Fix line number colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 7f88c1e 36/58: Minor modifications to magit-log faces., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme f6a3b7a 43/58: Added new variants of green and red., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme 2543881 47/58: Version 1.7.0., ELPA Syncer, 2021/10/21
- [nongnu] elpa/subatomic-theme ff127c6 46/58: Initial support for magit 2.1.0., ELPA Syncer, 2021/10/21