summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org24
1 files changed, 13 insertions, 11 deletions
diff --git a/init.org b/init.org
index feb6324..31d4d78 100644
--- a/init.org
+++ b/init.org
@@ -182,7 +182,7 @@ pretty, especially when it’s rendered large.
#+BEGIN_SRC elisp
(set-frame-font "DejaVu Sans Mono")
-(set-face-attribute 'variable-pitch nil :height 1.3 :family "Linux Biolinum")
+(set-face-attribute 'variable-pitch nil :height 1.25 :family "Linux Biolinum")
#+END_SRC
* Org-mode
@@ -248,19 +248,21 @@ face to be rendered with a monospaced font.
:foreground "light gray")
(set-face-attribute 'org-document-title nil
:height 1.6
- :foreground "black")
+ :foreground "#073642")
(set-face-attribute 'org-level-1 nil
- :height 1.2
- :foreground "black")
+ :height 1.3
+ :weight 'bold
+ :foreground "#586e75")
(set-face-attribute 'org-level-2 nil
- :height 1.1
- :foreground "black")
+ :height 1.2
+ :weight 'bold
+ :foreground (face-attribute 'default :foreground))
(set-face-attribute 'org-level-3 nil
- :height 1.05
- :foreground "black")
+ :height (face-attribute 'default :height)
+ :foreground (face-attribute 'default :foreground))
(set-face-attribute 'org-level-4 nil
- :height 0.9
- :foreground "black")
+ :height (face-attribute 'default :height)
+ :foreground (face-attribute 'default :foreground))
(set-face-attribute 'org-block-background nil :background "#efe9d6")
(set-face-attribute 'org-verbatim nil :background "#efe9d6")
(dolist (face '(org-meta-line
@@ -280,7 +282,7 @@ face to be rendered with a monospaced font.
(set-face-attribute face nil :inherit 'fixed-pitch)
;; TODO: this is ugly. When scaling up the variable-pitch face the
;; fixed-pitch face will become even larger.
- (set-face-attribute face nil :height .8))
+ (set-face-attribute face nil :height (face-attribute 'default :height)))
#+END_SRC
The following snippet is an attempt to prettify the somewhat ugly