mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
+present/big-mode => doom-big-font-mode
And added new variable: doom-big-font app/present is deprecated so this feature has been moved into core.
This commit is contained in:
@ -70,3 +70,16 @@ window changes before then, the undo expires."
|
||||
(run-hooks 'doom-pre-reload-theme-hook)
|
||||
(doom|init-ui)
|
||||
(run-hooks 'doom-post-reload-theme-hook)))
|
||||
|
||||
;;;###autoload
|
||||
(define-minor-mode doom-big-font-mode
|
||||
"A global mode that resizes the font, for streams, screen-sharing and
|
||||
presentations."
|
||||
:init-value nil
|
||||
:lighter " BIG"
|
||||
:global t
|
||||
(unless (fontp doom-big-font)
|
||||
(user-error "`doom-big-font' isn't set to a valid font"))
|
||||
(if doom-big-font-mode
|
||||
(set-frame-font doom-big-font t t)
|
||||
(set-frame-font doom-font t t)))
|
||||
|
@ -9,6 +9,9 @@
|
||||
(defvar doom-font (font-spec :family "Fira Mono" :size 12)
|
||||
"The default font to use. Expects a FONT-SPEC (`font-spec').")
|
||||
|
||||
(defvar doom-big-font nil
|
||||
"The default font to use. Expects a FONT-SPEC (`font-spec').")
|
||||
|
||||
(defvar doom-variable-pitch-font (font-spec :family "Fira Sans" :size 12)
|
||||
"The default font to use for variable-pitch text. Expects a FONT-SPEC (`font-spec').")
|
||||
|
||||
|
Reference in New Issue
Block a user