blob: 275864abf1d1723aafe6a23d3622f8a9e47c222e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
;;; 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 Argon"
:height 150)
(set-face-attribute 'fixed-pitch nil
:font "Monaspace Argon"
: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))
;; use a different background color for comments
(custom-set-faces
`(font-lock-comment-face ((t (:background "#eeefff"))))
`(font-lock-doc-face ((t (:background "#eeefff")))))
(provide 'init-theme)
;;; init-theme.el ends here
|