diff options
-rw-r--r-- | .emacs.d/init.el | 3 | ||||
-rw-r--r-- | .emacs.d/rul-emacs.org | 2 | ||||
-rw-r--r-- | .emacs.d/rul-lisp/packages/rul-fonts.el | 32 |
3 files changed, 35 insertions, 2 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 476591b..d595255 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -72,8 +72,10 @@ (require 'rul-completion) (require 'rul-fm) +(require 'rul-fonts) (require 'rul-prog) (require 'rul-elfeed) +(require 'rul-mail) (require 'rul-modeline) (require 'rul-media) (require 'rul-org) @@ -81,7 +83,6 @@ (require 'rul-write) ;; Init parts (will be deprecated in favor of packages) -(load-file "~/.emacs.d/rul-init.d/fonts.el") (load-file "~/.emacs.d/rul-init.d/hydra.el") (load-file "~/.emacs.d/rul-init.d/ibuffer.el") (load-file "~/.emacs.d/rul-init.d/imenu.el") diff --git a/.emacs.d/rul-emacs.org b/.emacs.d/rul-emacs.org index e517f12..9e5fec4 100644 --- a/.emacs.d/rul-emacs.org +++ b/.emacs.d/rul-emacs.org @@ -191,6 +191,7 @@ Now, I simply start it from Emacs itself. This approach works well for me. (require 'rul-completion) (require 'rul-fm) +(require 'rul-fonts) (require 'rul-prog) (require 'rul-elfeed) (require 'rul-mail) @@ -201,7 +202,6 @@ Now, I simply start it from Emacs itself. This approach works well for me. (require 'rul-write) ;; Init parts (will be deprecated in favor of packages) -(load-file "~/.emacs.d/rul-init.d/fonts.el") (load-file "~/.emacs.d/rul-init.d/hydra.el") (load-file "~/.emacs.d/rul-init.d/ibuffer.el") (load-file "~/.emacs.d/rul-init.d/imenu.el") diff --git a/.emacs.d/rul-lisp/packages/rul-fonts.el b/.emacs.d/rul-lisp/packages/rul-fonts.el new file mode 100644 index 0000000..95102e0 --- /dev/null +++ b/.emacs.d/rul-lisp/packages/rul-fonts.el @@ -0,0 +1,32 @@ +(use-package fontaine + :ensure t + :config + (setq fontaine-presets + '((tiny + :default-height 100) + (small + :default-height 120) + (medium + :default-height 140) + (large + :default-weight semilight + :default-height 180 + :bold-weight extrabold) + (presentation + :default-weight semilight + :default-height 200 + :bold-weight extrabold) + (jumbo + :default-weight semilight + :default-height 230 + :bold-weight extrabold) + (t + :default-family "Iosevka" + :default-weight regular + :default-height 140 + :variable-pitch-family "Iosevka Aile"))) + + ;; Set desired style from `fontaine-presets' + (fontaine-set-preset 'medium)) + +(provide 'rul-fonts) |