aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-09-04 11:20:07 -0700
committerRaul Benencia <id@rbenencia.name>2022-09-04 11:20:07 -0700
commit83dbdac4e80ee11f4498b26da2061c27373aae7d (patch)
treee29d4c2582ae0a7f50106ef65ba1e751eae3d30c /.emacs.local.d/modes
parent5e668fd7f20fa52123270b36afd3fdd78f3dceb2 (diff)
emacs: fontaine
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r--.emacs.local.d/modes/fonts.el34
1 files changed, 33 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/fonts.el b/.emacs.local.d/modes/fonts.el
index 9e10289..08d74d4 100644
--- a/.emacs.local.d/modes/fonts.el
+++ b/.emacs.local.d/modes/fonts.el
@@ -1 +1,33 @@
-(set-frame-font "Fira Code Retina-12" nil t)
+;; elpa-packages: fontaine
+
+(setq fontaine-presets
+ '((tiny
+ :default-family "Fira Code Retina"
+ :default-height 70)
+ (small
+ :default-family "Fira Code Retina"
+ :default-height 90)
+ (regular
+ :default-height 110)
+ (medium
+ :default-height 120)
+ (large
+ :default-weight semilight
+ :default-height 140
+ :bold-weight extrabold)
+ (presentation
+ :default-weight semilight
+ :default-height 170
+ :bold-weight extrabold)
+ (jumbo
+ :default-weight semilight
+ :default-height 220
+ :bold-weight extrabold)
+ (t
+ :default-family "Fira Code Retina"
+ :default-weight regular
+ :default-height 140
+ :variable-pitch-family "Fira Code Retina")))
+
+;; Set desired style from `fontaine-presets'
+(fontaine-set-preset 'medium)
nihil fit ex nihilo