blob: ad7e376cb26686ca0c892b606a5dfb3f1a5faf58 (
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 'zenburn 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)
|