aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d')
-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