diff options
Diffstat (limited to '')
-rw-r--r-- | config/init-theme.el | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/config/init-theme.el b/config/init-theme.el new file mode 100644 index 0000000..5c938e7 --- /dev/null +++ b/config/init-theme.el @@ -0,0 +1,66 @@ +;;; init-theme.el --- configure the theme -*- lexical-binding: t -*- +;; Author: Franck Cuny <franck@fcuny.net> + +;;; Commentary: + +;; Configure the theme + +;;; Code: + +;; use various monaspace fonts +;; https://monaspace.githubnext.com +(set-face-attribute 'default nil + :font "Monaspace Neon" + :height 150) + +(set-face-attribute 'fixed-pitch nil + :font "Monaspace Neon" + :height 150) + +(set-face-attribute 'variable-pitch nil + :font "Monaspace Radon" + :height 150) + +(custom-set-faces ' + (font-lock-comment-face ((t (:font "Monaspace Radon" :italic t :height 1.0))))) + +(use-package modus-themes + :ensure t + :custom + ;; Syntax Highlighting + (modus-themes-bold-constructs t) + (modus-operandi-palette-overrides '((comment red-faint) + (string "#101010") + (bg-main "#FFFCF6"))) + + (modus-themes-italic-constructs t) + + ;; Use mixed fonts + (modus-themes-mixed-fonts t) + (modus-themes-variable-pitch-ui t) + + ;; Enhance minibuffer completions + (modus-themes-prompts '(italic bold)) + (modus-themes-completions '((matches . (extrabold)) + (selection . (semibold italic text-also)))) + + ;; Org Mode + ;;; Make headings in org files more distinct + (modus-themes-headings '((t . (background bold rainbow 1)))) + ;;; Tint the background of code blocks in org files + (modus-themes-org-blocks 'tinted-background) + ;;; Make tags less colorful and tables look the same as + ;;; the default foreground. + (prose-done cyan-cooler) + (prose-tag fg-dim) + (prose-table fg-main) + + ;; Make the fringe more intense + (modus-themes-common-palette-overrides '((fringe bg-active))) + + :config + (load-theme 'modus-operandi t)) + +(provide 'init-theme) + +;;; init-theme.el ends here |