aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/themes.el
blob: 0a102242546dc72c94805afef775b01a4df2fc4a (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-spacegray 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