[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spacemacs-theme fd3ac0a4be 262/336: Added support to custo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spacemacs-theme fd3ac0a4be 262/336: Added support to customise bold headings of org levels and priority items |
Date: |
Fri, 14 Jan 2022 10:59:43 -0500 (EST) |
branch: elpa/spacemacs-theme
commit fd3ac0a4bedcc2ee6764889664ad0a1adca0adc5
Author: Jernej Kaše <jernej.kase@gmx.at>
Commit: Jernej Kaše <jernej.kase@gmx.at>
Added support to customise bold headings of org levels and priority items
Spacemacs theme makes headings of org items level 1 and 2 inherit bold
weight without apparent way to customise it.
The same goes for agenda (priority) items, which are bold.
This commit adds two custom variables:
- spacemacs-theme-org-bold
controls if level 1 and 2 items should be bold or not
default: t
- spacemacs-theme-org-priority-bold
controls if items in the agenda should be bold
default: t
---
spacemacs-common.el | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/spacemacs-common.el b/spacemacs-common.el
index 62cb0e8887..5b6eac127a 100644
--- a/spacemacs-common.el
+++ b/spacemacs-common.el
@@ -70,6 +70,16 @@ to 'auto, tags may not be properly aligned. "
:type 'boolean
:group 'spacemacs-theme)
+(defcustom spacemacs-theme-org-bold t
+ "Inherit text bold for org headings"
+ :type 'boolean
+ :group 'spacemacs-theme)
+
+(defcustom spacemacs-theme-org-priority-bold t
+ "Inherit text bold for priority items in agenda view"
+ :type 'boolean
+ :group 'spacemacs-theme)
+
(defcustom spacemacs-theme-org-highlight nil
"Highlight org headings."
:type 'boolean
@@ -719,8 +729,8 @@ to 'auto, tags may not be properly aligned. "
`(org-footnote ((,class (:underline t :foreground ,base))))
`(org-hide ((,class (:foreground ,base))))
`(org-kbd ((,class (:inherit region :foreground ,base :box (:line-width 1
:style released-button)))))
- `(org-level-1 ((,class (:inherit bold :foreground ,head1 :height ,(if
spacemacs-theme-org-height 1.3 1.0) :background ,(when
spacemacs-theme-org-highlight head1-bg)))))
- `(org-level-2 ((,class (:inherit bold :foreground ,head2 :height ,(if
spacemacs-theme-org-height 1.2 1.0) :background ,(when
spacemacs-theme-org-highlight head2-bg)))))
+ `(org-level-1 ((,class (:inherit bold :bold ,(if spacemacs-theme-org-bold
'unspecified nil) :foreground ,head1 :height ,(if spacemacs-theme-org-height
1.3 1.0) :background ,(when spacemacs-theme-org-highlight head1-bg)))))
+ `(org-level-2 ((,class (:inherit bold :bold ,(if spacemacs-theme-org-bold
'unspecified nil) :foreground ,head2 :height ,(if spacemacs-theme-org-height
1.2 1.0) :background ,(when spacemacs-theme-org-highlight head2-bg)))))
`(org-level-3 ((,class (:bold nil :foreground ,head3 :height ,(if
spacemacs-theme-org-height 1.1 1.0) :background ,(when
spacemacs-theme-org-highlight head3-bg)))))
`(org-level-4 ((,class (:bold nil :foreground ,head4 :background ,(when
spacemacs-theme-org-highlight head4-bg)))))
`(org-level-5 ((,class (:bold nil :foreground ,head1))))
@@ -730,7 +740,7 @@ to 'auto, tags may not be properly aligned. "
`(org-link ((,class (:underline t :foreground ,comment))))
`(org-meta-line ((,class (:foreground ,meta))))
`(org-mode-line-clock-overrun ((,class (:foreground ,err))))
- `(org-priority ((,class (:foreground ,war :inherit bold))))
+ `(org-priority ((,class (:foreground ,war :inherit bold :bold ,(if
spacemacs-theme-org-priority-bold 'unspecified nil)))))
`(org-quote ((,class (:inherit org-block :slant italic))))
`(org-scheduled ((,class (:foreground ,comp))))
`(org-scheduled-today ((,class (:foreground ,func :height ,(if
spacemacs-theme-org-agenda-height 1.2 1.0)))))
- [nongnu] elpa/spacemacs-theme 3c43532474 233/336: Fix issue (#79), (continued)
- [nongnu] elpa/spacemacs-theme 3c43532474 233/336: Fix issue (#79), ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c6742a0dff 275/336: Fix ediff-fine-diff-{A, B, C} colors, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 0cd15af82b 238/336: Merge pull request #106 from jabranham/org-agenda-improvements, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 8e18ea0e21 269/336: Merge pull request #124 from valignatev/web-mode-current-element-highlight-face, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 8964145da9 235/336: Add support for flymake errors, notes, and warnings, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c162ad13e4 274/336: Update comments, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 00356dc91c 240/336: Fix mismatch parens., ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 4a85d6fd5c 231/336: Fix issue (#99) improve avy colors, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme e4b3fda02d 242/336: Merge pull request #109 from jabranham/org-agenda-colors, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 9270ca5158 266/336: Update README file, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme fd3ac0a4be 262/336: Added support to customise bold headings of org levels and priority items,
ELPA Syncer <=
- [nongnu] elpa/spacemacs-theme a8b51ed10a 230/336: Make ace-window leading char bigger, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 381bfe6004 281/336: Use ediff-current-diff-A, -B, -C, bg non -s colors, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme c4d8a99253 277/336: Unify ediff-current-diff-{A, B, C} background colors, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 350221a24d 257/336: Support evil-goggles, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 3c1a613a36 256/336: Merge pull request #113 from jabranham/change-mu4e-modeline, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 3eae3726fa 286/336: Support hl-todo mode, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 1896542cd8 287/336: Added unselected modified face, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme 0732f18232 272/336: Merge pull request #125 from bmag/fix-line-number-face, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme a35e586dce 271/336: Add support for outline-minor-mode, ELPA Syncer, 2022/01/14
- [nongnu] elpa/spacemacs-theme bae6b761ce 244/336: Theme flyspell, ELPA Syncer, 2022/01/14