diff options
author | Franck Cuny <franck@fcuny.net> | 2024-09-21 08:24:17 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-09-21 08:24:17 -0700 |
commit | 9bfda96217c28cb3d7fa8c489ac6442ec2c7e54b (patch) | |
tree | d5b5c8fa547fac959893c7b8a85d841a698feaa8 | |
parent | fix elfeed configuration (diff) | |
download | emacs.d-9bfda96217c28cb3d7fa8c489ac6442ec2c7e54b.tar.gz |
add ef-theme back and fix fonts
-rw-r--r-- | config/init-ui.el | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/config/init-ui.el b/config/init-ui.el index e67251c..b12c84b 100644 --- a/config/init-ui.el +++ b/config/init-ui.el @@ -51,11 +51,32 @@ ("Europe/London" "London") ("Europe/Paris" "Paris"))) -;; ;; use various monaspace fonts -;; ;; https://monaspace.githubnext.com -(set-face-attribute 'default nil - :font "Monaspace Argon" - :height 160) +(use-package ef-themes + :ensure t + :init + (add-hook 'ef-themes-post-load-hook #'my-ef-themes-mode-line) + :preface + (defun my-ef-themes-mode-line () + "Tweak the style of the mode lines." + (ef-themes-with-colors + (custom-set-faces + `(mode-line ((,c :background ,bg-active :foreground ,fg-main :box (:line-width 1 :color ,fg-dim)))) + `(mode-line-inactive ((,c :box (:line-width 1 :color ,bg-active))))))) + :custom + (ef-themes-region '(intense no-extend neutral)) + (ef-themes-disable-other-themes t) + (ef-themes-to-toggle '(ef-melissa-light ef-owl)) + :init + (ef-themes-select 'ef-owl)) + +;; | 数字 | アルファベット | 日本語 | 絵文字 | +;; | 0123 | abcdefghijklmn | あいう | 🍎🍎🍎 | +(set-face-attribute 'default nil :family "Source Code Pro" :height 150) + +(set-fontset-font t 'japanese-jisx0208 '("Osaka")) +(set-fontset-font t 'symbol '("Apple Color Emoji")) +(setq face-font-rescale-alist '(("Osaka" . 1.2) + ("Apple Color Emoji" . 0.8))) (provide 'init-ui) ;;; init-ui.el ends here |