@@ -99,6 +99,12 @@ in the theme."
99
99
:group 'starlit-theme )
100
100
101
101
102
+ (defcustom starlit-scale-org-headlines nil
103
+ " Change the font size of org-mode headlines."
104
+ :type 'boolean
105
+ :group 'starlit-theme )
106
+
107
+
102
108
; ;; Mapping colors to Faces
103
109
; ; https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Faces.html
104
110
; ; https://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Attributes.html
@@ -266,6 +272,15 @@ in the theme."
266
272
`(org-footnote ((, colorful (:foreground ,.aqua))))
267
273
`(org-formula ((, colorful (:foreground ,.red))))
268
274
`(org-hide ((, colorful (:foreground ,.background :background ,.background))))
275
+ `(org-level-1 ((, colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-org-headlines '(:height 1.3 ))))))
276
+ `(org-level-2 ((, colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-org-headlines '(:height 1.2 ))))))
277
+ `(org-level-3 ((, colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-org-headlines '(:height 1.1 ))))))
278
+ `(org-level-4 ((, colorful (:inherit nil :foreground ,.aqua))))
279
+ `(org-level-5 ((, colorful (:inherit nil :foreground ,.orange))))
280
+ `(org-level-6 ((, colorful (:inherit nil :foreground ,.greenlight))))
281
+ `(org-level-7 ((, colorful (:inherit nil :foreground ,.type))))
282
+ `(org-level-8 ((, colorful (:inherit nil :foreground ,.bluehighlight))))
283
+ `(org-level-9 ((, colorful (:inherit nil :foreground ,.blue))))
269
284
`(org-link ((, colorful (:foreground ,.blue :underline t ))))
270
285
`(org-meta-line ((, colorful (:inherit (fixed-pitch font-lock-comment-face ) :foreground ,.bluedark))))
271
286
`(org-ref-ref-face ((, colorful :underline t )))
@@ -281,9 +296,9 @@ in the theme."
281
296
`(org-todo ((, colorful (:foreground ,.red))))
282
297
`(org-upcoming-deadline ((, colorful (:foreground ,.orange))))
283
298
`(org-warning ((, colorful (:weight bold :foreground ,.red))))
284
- `(outline-1 ((, colorful (:inherit nil :foreground ,.bluelight ,@(when starlit-scale-headlines ( list :height 1.3 ))))))
285
- `(outline-2 ((, colorful (:inherit nil :foreground ,.yellow ,@(when starlit-scale-headlines ( list :height 1.2 ))))))
286
- `(outline-3 ((, colorful (:inherit nil :foreground ,.purple ,@(when starlit-scale-headlines ( list :height 1.1 ))))))
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 ))))))
287
302
`(outline-4 ((, colorful (:inherit nil :foreground ,.aqua))))
288
303
`(outline-5 ((, colorful (:inherit nil :foreground ,.orange))))
289
304
`(outline-6 ((, colorful (:inherit nil :foreground ,.greenlight))))
0 commit comments