mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Adding org-level 1-8 font settings for Org headers.
This commit is contained in:
@@ -29,11 +29,24 @@
|
|||||||
;; refresh your font settings. If Emacs still can't find your font, it likely
|
;; refresh your font settings. If Emacs still can't find your font, it likely
|
||||||
;; wasn't installed correctly. Font issues are rarely Doom issues!
|
;; wasn't installed correctly. Font issues are rarely Doom issues!
|
||||||
|
|
||||||
|
(setq doom-font (font-spec :family "JetBrains Mono" :size 15))
|
||||||
|
|
||||||
|
(custom-theme-set-faces!
|
||||||
|
'doom-one
|
||||||
|
'(org-level-8 :inherit outline-3 :height 1.0)
|
||||||
|
'(org-level-7 :inherit outline-3 :height 1.0)
|
||||||
|
'(org-level-6 :inherit outline-3 :height 1.1)
|
||||||
|
'(org-level-5 :inherit outline-3 :height 1.2)
|
||||||
|
'(org-level-4 :inherit outline-3 :height 1.3)
|
||||||
|
'(org-level-3 :inherit outline-3 :height 1.4)
|
||||||
|
'(org-level-2 :inherit outline-2 :height 1.5)
|
||||||
|
'(org-level-1 :inherit outline-1 :height 1.6)
|
||||||
|
'(org-document-title :height 1.8 :bold t :underline nil))
|
||||||
|
|
||||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
(setq doom-theme 'doom-one)
|
(setq doom-theme 'doom-one)
|
||||||
(setq doom-font (font-spec :family "JetBrains Mono" :size 15))
|
|
||||||
|
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
@@ -41,7 +54,8 @@
|
|||||||
|
|
||||||
;; If you use `org' and don't want your org files in the default location below,
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
;; change `org-directory'. It must be set before org loads!
|
;; change `org-directory'. It must be set before org loads!
|
||||||
(setq org-directory "~/org/")
|
|
||||||
|
(setq org-directory "~/nc/Org/")
|
||||||
|
|
||||||
|
|
||||||
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
org ; organize your plain life in plain text
|
(org +pretty) ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;graphviz ; diagrams for confusing yourself even more
|
;;graphviz ; diagrams for confusing yourself even more
|
||||||
|
|||||||
Reference in New Issue
Block a user