diff options
-rw-r--r-- | init.el | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -278,10 +278,33 @@ | |||
278 | ;; Noto Sans. | 278 | ;; Noto Sans. |
279 | ;; --------------------------------- | 279 | ;; --------------------------------- |
280 | 280 | ||
281 | ;; Fonts | ||
281 | (set-face-attribute 'default nil :font "JetBrains Mono" :height 100) | 282 | (set-face-attribute 'default nil :font "JetBrains Mono" :height 100) |
282 | (set-face-attribute 'fixed-pitch nil :font "JetBrains Mono" :height 100) | 283 | (set-face-attribute 'fixed-pitch nil :font "JetBrains Mono" :height 100) |
283 | (set-face-attribute 'variable-pitch nil :font "Noto Sans" :height 110 :weight 'regular) | 284 | (set-face-attribute 'variable-pitch nil :font "Noto Sans" :height 110 :weight 'regular) |
284 | 285 | ||
286 | ;; Syntax highlighting | ||
287 | (use-package lisp-extra-font-lock | ||
288 | :straight t) | ||
289 | (lisp-extra-font-lock-global-mode) | ||
290 | |||
291 | (custom-set-faces '(font-lock-warning-face | ||
292 | ((t :foreground "black" | ||
293 | :background "firebrick" | ||
294 | :bold nil | ||
295 | :underline nil | ||
296 | :inherit nil)))) | ||
297 | (custom-set-faces '(lisp-extra-font-lock-special-variable-name | ||
298 | ((t :foreground "tomato" | ||
299 | :inherit nil)))) | ||
300 | (custom-set-faces '(font-lock-constant-face | ||
301 | ((t :foreground "SaddleBrown" | ||
302 | :inherit nil)))) | ||
303 | |||
304 | (custom-set-faces '(lisp-extra-font-lock-quoted | ||
305 | ((t :foreground "RoyalBlue" | ||
306 | :inherit nil)))) | ||
307 | |||
285 | 308 | ||
286 | ;; --------------------------------- | 309 | ;; --------------------------------- |
287 | ;; Modeline | 310 | ;; Modeline |