aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/themes.el
blob: 83f099573c417314b76eab155324fb2b28a1a4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(load-theme 'doom-spacegrey t)
(set-frame-parameter (selected-frame) 'alpha '(95 . 95))
(add-to-list 'default-frame-alist '(alpha . (95 . 95)))

;; Fonts
;; Set the font face based on platform
(pcase system-type
  ((or 'gnu/linux 'windows-nt 'cygwin)
   (set-face-attribute 'default nil
                       :font "JetBrains Mono"
                       :weight 'light))
  ('darwin (set-face-attribute 'default nil :font "Fira Mono" :height 200)))

;; Set the fixed pitch face
(set-face-attribute 'fixed-pitch nil
                    :font "JetBrains Mono"
                    :weight 'light)

;; Set the variable pitch face
(set-face-attribute 'variable-pitch nil
                    ;; :font "Cantarell"
                    :font "JetBrains Mono"
                    :weight 'light)
nihil fit ex nihilo