From 83dbdac4e80ee11f4498b26da2061c27373aae7d Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Sun, 4 Sep 2022 11:20:07 -0700 Subject: emacs: fontaine --- .emacs.local.d/modes/fonts.el | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to '.emacs.local.d/modes/fonts.el') 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) -- cgit v1.2.3