-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththemes.el
181 lines (145 loc) · 4.64 KB
/
themes.el
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
;;; themes.el --- theme related config -*- lexical-binding: t; -*-
;;; Font stuff
(setq jds/default-font-size 95)
(setq jds/default-variable-font-size 95)
;; (setq jds/default-font-fixed-width "Hack")
(setq jds/default-font-fixed-width "JetBrainsMono")
;; (setq jds/default-font-fixed-width "DejaVuSansMono")
;; (setq jds/default-font-fixed-width "Iosevka")
;; (setq jds/default-font-fixed-width "Fira Code Retina") ; no italics
(set-face-attribute 'default nil :font jds/default-font-fixed-width
:height jds/default-font-size)
;; Set the fixed pitch face
(set-face-attribute 'fixed-pitch nil :font jds/default-font-fixed-width
:height jds/default-font-size)
;; Set the variable pitch face
;; (set-face-attribute 'variable-pitch nil :font "Cantarell"
;; :height jds/default-variable-font-size :weight 'regular)
;;; main themes
(use-package doom-themes)
(use-package gruvbox-theme
:disabled)
(use-package emacs
:init
(setq modus-themes-mode-line '(accented borderless)
modus-themes-org-blocks 'tinted-background
modus-themes-deuteranopia nil
modus-themes-bold-constructs t
modus-themes-italic-constructs t
modus-themes-syntax '(yellow-comments green-strings alt-syntax)
modus-themes-mixed-fonts t
modus-themes-links '(neutral-underline)
;; modus-themes-links nil
;; modus-themes-box-buttons '(flat faint)
modus-themes-box-buttons nil
modus-themes-prompts nil
modus-themes-fringe nil
modus-themes-lang-checkers '(straight-underline)
modus-themes-hl-line nil
modus-themes-subtle-line-numbers t
modus-themes-markup nil
modus-themes-region '(no-extend)
modus-themes-org-agenda '((scheduled . uniform))
;; modus-themes-org-agenda '((header-block . (1.5 variable-pitch))
;; (header-date . (grayscale workaholic bold-today))
;; (event . (accented varied))
;; (scheduled . uniform)
;; (habit . traffic-light))
modus-themes-scale-headings t
modus-themes-headings
'((1 . (background rainbow overline bold 1.2))
(2 . (rainbow overline bold 1.1))
(3 . (overline rainbow bold 1.0))
(4 . (rainbow bold))
(t . (bold))))
:config
(load-theme 'modus-vivendi)
:bind ("<f5>" . modus-themes-toggle))
;; themes I like:
;; ef-duo-dark
;; doom-dark+
(use-package ef-themes
:commands (ef-themes-toggle)
:bind ("<f6>" . ef-themes-toggle)
:config
(setq ef-themes-mixed-fonts t
ef-themes-variable-pitch-ui nil
ef-themes-headings
'((1 . (background rainbow overline bold 1.2))
(2 . (rainbow overline bold 1.1))
(3 . (overline rainbow bold 1.0))
(4 . (rainbow bold))
(t . (bold))))
(mapc #'disable-theme custom-enabled-themes))
;;; hl-line-mode ---------------------------------------------------------------
(use-package emacs
:config
(add-hook 'dired-mode-hook #'hl-line-mode)
(add-hook 'org-agenda-mode-hook #'hl-line-mode)
(add-hook 'ibuffer-mode-hook #'hl-line-mode))
;;; modline
(straight-use-package 'all-the-icons)
(use-package all-the-icons)
(use-package smart-mode-line
:config
;; give a bit extra space to battery indicator
(setq sml/battery-format " %p ")
(setq sml/extra-filler -6)
;; setup
(sml/setup)
;; seem to need to toggle display-time-mode to make system load not show up
;; this is very hacky but it seems to work.
(display-time-mode 0)
(setq display-time-default-load-average nil)
(display-time-mode 1)
;; don't show line number in mode-line (already show line-numbers when needed with fringe)
(line-number-mode 0))
(use-package diminish
:defer t
:config
(defvar jds~hidden-minor-modes
'(yas-minor-mode
citar-embark-mode
evil-traces-mode
citar-org-roam-mode
org-roam-bibtex-mode
evil-snipe-mode
evil-snipe-override-mode
evil-snipe-local-mode
undo-tree-mode
auto-revert-mode
dired-hide-dotfiles-mode
eldoc-mode
abbrev-mode
which-key-mode
lispyville-mode
evil-owl-mode
evil-collection-unimpaired-mode
desktop-environment-mode
consult-org-roam-mode
lispy-mode
synosaurus-mode
evil-goggles-mode
org-indent-mode
flyspell-mode
evil-org-mode
org-cdlatex-mode
org-indent-mode
cdlatex-mode
reftex-mode
visual-line-mode))
(defun jds~purge-minor-modes ()
(mapc 'diminish jds~hidden-minor-modes))
(add-hook 'after-change-major-mode-hook 'jds~purge-minor-modes))
;;; Olivetti Mode
(use-package olivetti
:disabled t)
;;; Nice Display of Colors
(use-package rainbow-mode
:diminish rainbow-mode
:config
(setq rainbow-x-colors nil)
(add-hook 'prog-mode-hook 'rainbow-mode))
(use-package hide-mode-line
:disabled)
(provide 'config-themes)