diff options
| author | Raul Benencia <rul@kalgan.cc> | 2021-05-10 07:55:31 -0700 | 
|---|---|---|
| committer | Raul Benencia <rul@kalgan.cc> | 2021-05-10 07:55:31 -0700 | 
| commit | 89172175cbfb63640d1ca8470f8c9355639d8fc9 (patch) | |
| tree | 43ab04f1e5ea6c9934d22345db8006356f2a30d7 /.emacs.local.d/modes | |
| parent | 3e3f07e92c8ded0d49c1c48f542e2ff95dc25536 (diff) | |
Load fonts after theme
Diffstat (limited to '.emacs.local.d/modes')
| -rw-r--r-- | .emacs.local.d/modes/themes.el | 24 | 
1 files changed, 20 insertions, 4 deletions
| diff --git a/.emacs.local.d/modes/themes.el b/.emacs.local.d/modes/themes.el index 5e81cc9..ad7e376 100644 --- a/.emacs.local.d/modes/themes.el +++ b/.emacs.local.d/modes/themes.el @@ -1,7 +1,23 @@ -;; Debian packages: elpa-clues-theme elpa-monokai-theme elpa-smart-mode-line-powerline-theme elpa-solarized-theme elpa-zenburn-theme -;; Elpa packages: atom-one-dark doom-themes - -(load-theme 'clues t) +(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) | 
