Skip to content

Commit caff114

Browse files
committed
rename variable for outline-mode headline scaling
1 parent 3243822 commit caff114

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

starlit-theme.el

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ in the theme."
9393
:value-type (string :tag "Hex")))
9494

9595

96-
(defcustom starlit-scale-headlines t
97-
"Change the font size of headlines."
96+
(defcustom starlit-scale-outline-headlines t
97+
"Increase the font size of `outline-mode' headlines."
9898
:type 'boolean
9999
:group 'starlit-theme)
100100

101101

102102
(defcustom starlit-scale-org-headlines nil
103-
"Change the font size of org-mode headlines."
103+
"Increase the font size of `org-mode' headlines."
104104
:type 'boolean
105105
:group 'starlit-theme)
106106

@@ -266,7 +266,7 @@ in the theme."
266266
`(org-date ((,colorful (:foreground ,.blue :underline t))))
267267
`(org-document-info ((,colorful (:foreground ,.aqua))))
268268
`(org-document-info-keyword ((,colorful (:foreground ,.green))))
269-
`(org-document-title ((,colorful (:weight bold :foreground ,.orange ,@(when starlit-scale-headlines (list :height 1.45))))))
269+
`(org-document-title ((,colorful (:weight bold :foreground ,.orange :height 1.45))))
270270
`(org-done ((,colorful (:foreground ,.green))))
271271
`(org-ellipsis ((,colorful (:foreground ,.comment))))
272272
`(org-footnote ((,colorful (:foreground ,.aqua))))
@@ -296,9 +296,9 @@ in the theme."
296296
`(org-todo ((,colorful (:foreground ,.red))))
297297
`(org-upcoming-deadline ((,colorful (:foreground ,.orange))))
298298
`(org-warning ((,colorful (:weight bold :foreground ,.red))))
299-
`(outline-1 ((,colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-headlines '(:height 1.3))))))
300-
`(outline-2 ((,colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-headlines '(:height 1.2))))))
301-
`(outline-3 ((,colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-headlines '(:height 1.1))))))
299+
`(outline-1 ((,colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-outline-headlines '(:height 1.3))))))
300+
`(outline-2 ((,colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-outline-headlines '(:height 1.2))))))
301+
`(outline-3 ((,colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-outline-headlines '(:height 1.1))))))
302302
`(outline-4 ((,colorful (:inherit nil :foreground ,.aqua))))
303303
`(outline-5 ((,colorful (:inherit nil :foreground ,.orange))))
304304
`(outline-6 ((,colorful (:inherit nil :foreground ,.greenlight))))

0 commit comments

Comments
 (0)