summaryrefslogtreecommitdiff
path: root/elchemy.el
blob: 18ac73f61f1ad9e2105fa0b7d0a5238c76b96383 (plain)
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
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
	     '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

(unless (package-installed-p 'use-package)
  (package-refresh-contents)
  (package-install 'use-package))

(setq elchemy/elchemy-root "~/.elchemy/")
(add-to-list 'load-path elchemy/elchemy-root)
(require 'elchemy-boilerplate)
(require 'elchemy-user)
(require 'elchemy-util)
(require 'elchemy-packages)
(require 'elchemy-functions)
(require 'elchemy-keys)
(require 'elchemy-hooks)

(toggle-frame-maximized)
(require 'elchemy-personal)

(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 `(default ((t (:height ,elchemy/user/font-height))))
 '(link ((t (:underline t))))
 '(mode-line ((t (:box (:line-width (1 . 1) :style flat-button) :height 1.1))))
 '(org-document-title ((t (:height 2.0 :underline nil))))
 '(org-level-1 ((t (:inherit outline-1 :extend nil :weight extra-bold :height 1.4))))
 '(org-level-2 ((t (:inherit outline-2 :extend nil :slant italic :weight bold :height 1.2))))
 '(org-level-3 ((t (:inherit outline-3 :extend nil :weight semi-bold)))))

(unless (or elchemy/user/light-theme elchemy/user/dark-theme)
  (custom-set-faces
   ;; custom-set-faces was added by Custom.
   ;; If you edit it by hand, you could mess it up, so be careful.
   ;; Your init file should contain only one such instance.
   ;; If there is more than one, they won't work right.
   '(cursor ((t (:background "gray30"))))
   '(link ((t (:foreground "blue"))))
   '(minibuffer-prompt ((t (:foreground "#771C9B"))))
   '(mode-line ((t (:box (:color "grey75")))))
   '(mode-line-inactive ((t (:foreground "gray20"))))))