[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spacemacs-theme 11d6958364 208/336: Merge pull request #83
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spacemacs-theme 11d6958364 208/336: Merge pull request #83 from rafaelrinaldi/add-italics-in-comments-support |
Date: |
Fri, 14 Jan 2022 10:59:36 -0500 (EST) |
branch: elpa/spacemacs-theme
commit 11d6958364271e11c920015c24d509f9bdcce6c9
Merge: 6f41a33212 30e16f3435
Author: Nasser Alshammari <designernasser@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #83 from rafaelrinaldi/add-italics-in-comments-support
Add custom option to enable italics for comments
---
README.md | 4 ++++
spacemacs-common.el | 10 ++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 3d3dc23a44..90ddbc9f67 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,10 @@ The theme has some options that can be tweaked via `M-x
customize`:
This toggles a background color for the comment lines.
+* `spacemacs-theme-comment-italic`:
+
+This toggles italics for comments and will also add a lighter color to it. It
is recommended to disable `spacemacs-theme-comment-bg` if you turn this option
on for better contrast.
+
* `spacemacs-theme-org-agenda-height`:
This toggles the use of varying org agenda heights.
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 7a99bee095..70492e55e9 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -46,6 +46,11 @@
:type 'boolean
:group 'spacemacs-theme)
+(defcustom spacemacs-theme-comment-italic nil
+ "Enable italics for comments and also disable background."
+ :type 'boolean
+ :group 'spacemacs-theme)
+
(defcustom spacemacs-theme-org-agenda-height t
"Use varying text heights for org agenda."
:type 'boolean
@@ -62,7 +67,7 @@
:group 'spacemacs-theme)
(defcustom spacemacs-theme-custom-colors nil
- "Specify a list of custom colors"
+ "Specify a list of custom colors."
:type 'alist
:group 'spacemacs-theme)
@@ -95,6 +100,7 @@
(cursor (if (eq variant 'dark) (if (true-color-p) "#e3dedd"
"#d0d0d0") (if (true-color-p) "#100a14" "#121212")))
(const (if (eq variant 'dark) (if (true-color-p) "#a45bad"
"#d75fd7") (if (true-color-p) "#4e3163" "#8700af")))
(comment (if (eq variant 'dark) (if (true-color-p) "#2aa1ae"
"#008787") (if (true-color-p) "#2aa1ae" "#008787")))
+ (comment-light (if (eq variant 'dark) (if (true-color-p) "#2aa1ae"
"#008787") (if (true-color-p) "#a49da5" "#008787")))
(comment-bg (if (eq variant 'dark) (if (true-color-p) "#292e34"
"#262626") (if (true-color-p) "#ecf3ec" "#ffffff")))
(comp (if (eq variant 'dark) (if (true-color-p) "#c56ec3"
"#d75fd7") (if (true-color-p) "#6c4173" "#8700af")))
(err (if (eq variant 'dark) (if (true-color-p) "#e0211d"
"#e0211d") (if (true-color-p) "#e0211d" "#e0211d")))
@@ -153,7 +159,7 @@
`(eval-sexp-fu-flash ((,class (:background ,suc :foreground ,bg1))))
`(eval-sexp-fu-flash-error ((,class (:background ,err :foreground ,bg1))))
`(font-lock-builtin-face ((,class (:foreground ,keyword))))
- `(font-lock-comment-face ((,class (:foreground ,comment :background
,(when spacemacs-theme-comment-bg comment-bg)))))
+ `(font-lock-comment-face ((,class (:foreground ,(if
spacemacs-theme-comment-italic comment-light comment) :background ,(when
spacemacs-theme-comment-bg comment-bg) :slant ,(if
spacemacs-theme-comment-italic 'italic 'normal)))))
`(font-lock-constant-face ((,class (:foreground ,const))))
`(font-lock-doc-face ((,class (:foreground ,comment))))
`(font-lock-function-name-face ((,class (:foreground ,func :inherit
bold))))
- [nongnu] elpa/spacemacs-theme 967eb257db 190/336: Link to base16-builder, (continued)
- [nongnu] elpa/spacemacs-theme 967eb257db 190/336: Link to base16-builder, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c45aa258dc 195/336: Support diff-file-header (Fix #74), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme b426a15eab 216/336: Improvements to mu4e, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 998ead9a5d 012/336: Added the light version, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme a1ba9da71a 147/336: add colours for man pages, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme bb287bb64f 191/336: rcirc support, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme b26162e897 209/336: Remove trailing white space from README, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme e7bc8df50b 283/336: Change diff refine fg to match ediff fine diff fg, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme cc77a8ee66 202/336: Make mu4e-maildirs headers head2, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 6975915e3b 228/336: Support ace-window, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 11d6958364 208/336: Merge pull request #83 from rafaelrinaldi/add-italics-in-comments-support,
ELPA Syncer <=
- [nongnu] elpa/spacemacs-theme cd44e4f91d 224/336: Make markdown-table-face match org-table face, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 5df16efbf1 227/336: Merge pull request #95 from Havner/master, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme ce45974252 223/336: Support treemacs, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme e630b0cbaf 250/336: Update copyright year, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme ec1283ff8f 267/336: Add info for using custom fringe bitmaps without spacemacs, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 0a5a745c20 222/336: Fix (#91) Show-paren-mode erroneously highlights the left margin, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme be65de0e67 276/336: Uncouple keyword color from diff changed faces, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c8faf7b5a7 278/336: Merge pull request #128 from duianto/patch-2, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 0d5782f3b1 280/336: Merge pull request #127 from duianto/patch-1, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 510e0d84c5 289/336: hl-todo-keyword-faces restore upstream strings, ELPA Syncer, 2022/01/14