aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-fonts.el
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2024-10-27 17:04:38 -0700
committerRaúl Benencia <id@rbenencia.name>2024-10-27 17:04:38 -0700
commitb596fca706bff857447568c2e99ce08eb5f44174 (patch)
tree6d1c2c1fa729990cf6d60b939ef821a7ea9113ad /.emacs.d/rul-lisp/packages/rul-fonts.el
parent172492bd2cc09b8af2554f6e0fc0ca995e1aa52b (diff)
emacs: mv {fonts}.el to package rul-fonts
Diffstat (limited to '.emacs.d/rul-lisp/packages/rul-fonts.el')
-rw-r--r--.emacs.d/rul-lisp/packages/rul-fonts.el32
1 files changed, 32 insertions, 0 deletions
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)
nihil fit ex nihilo