[emacs] Add weights to font definitions

Fixes doom-big-font-mode (https://github.com/doomemacs/doomemacs/issues/7510)
This commit is contained in:
Correl Roush 2023-12-18 11:23:19 -05:00
parent c1892671cd
commit 3e1ee082bd

View file

@ -12,7 +12,7 @@ It's Catppuccin time!
#+end_src
** Default font
#+begin_src emacs-lisp
(setq doom-font (font-spec :family "Inconsolata" :size 16))
(setq doom-font (font-spec :family "Inconsolata" :size 16 :weight 'medium))
#+end_src
** Dashboard
Customize the Doom Emacs dashboard with commissioned artwork, chosen randomly.
@ -60,7 +60,7 @@ https://dtinth.github.io/comic-mono-font/
#+begin_src emacs-lisp
(defun my/buffer-face-comic-mono ()
(interactive)
(setq buffer-face-mode-face '(:family "Comic Mono"))
(setq buffer-face-mode-face '(:family "Comic Mono" :weight 'medium))
(buffer-face-mode))
(after! php-mode
@ -78,7 +78,7 @@ version of the [[https://github.com/edwardtufte/et-book][Edward Tufte book font]
#+begin_src emacs-lisp
(use-package! mixed-pitch
:hook ((org-mode markdown-mode rst-mode) . mixed-pitch-mode))
(setq doom-variable-pitch-font (font-spec :family "ETBookOT"))
(setq doom-variable-pitch-font (font-spec :family "ETBookOT" :weight 'medium))
#+end_src
* UX Improvements
** Disable C-z backgrounding when the GUI is loaded