aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2021-05-10 07:55:31 -0700
committerRaul Benencia <rul@kalgan.cc>2021-05-10 07:55:31 -0700
commit89172175cbfb63640d1ca8470f8c9355639d8fc9 (patch)
tree43ab04f1e5ea6c9934d22345db8006356f2a30d7 /.emacs.local.d
parent3e3f07e92c8ded0d49c1c48f542e2ff95dc25536 (diff)
Load fonts after theme
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/general.el23
-rw-r--r--.emacs.local.d/modes/themes.el24
2 files changed, 20 insertions, 27 deletions
diff --git a/.emacs.local.d/general.el b/.emacs.local.d/general.el
index 4bd4992..b02440a 100644
--- a/.emacs.local.d/general.el
+++ b/.emacs.local.d/general.el
@@ -4,9 +4,6 @@
(eval-when-compile
(require 'use-package))
-(add-to-list 'default-frame-alist
- '(font . "Hack-12"))
-
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
@@ -167,23 +164,3 @@
;; Mutt support.
(setq auto-mode-alist (append '((".*tmp/mutt.*" . mail-mode)) auto-mode-alist))
(setq auto-mode-alist (append '((".*tmp/neomutt.*" . mail-mode)) auto-mode-alist))
-
-;; 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 170)))
-
-;; 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)
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)
nihil fit ex nihilo