summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config/init-ui.el31
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