Skip to content

Commit 1486085

Browse files
author
Andrew Gottemoller
committedJun 18, 2022
1. Add packages for ess
2. Add soft-charcoal theme 3. Set customizations file
1 parent 62c5e3b commit 1486085

File tree

5 files changed

+140
-3
lines changed

5 files changed

+140
-3
lines changed
 

‎init.el

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes")
44

5-
(load-library "utils")
6-
(load-library "align")
5+
(load-library "packages")
76
(load-library "dired-x")
7+
(load-library "align")
8+
9+
(load-library "utils")
810
(load-library "find")
911
(load-library "buffers")
1012
(load-library "editing")

‎lib/display.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
(display-reset-window)
99

10-
(load-theme 'cyberpunk 1)
10+
(load-theme 'soft-charcoal 1)

‎lib/packages.el

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
(require 'package)
2+
3+
(add-to-list 'package-archives
4+
'("mepla" . "https://melpa.org/packages/"))
5+
6+
(package-initialize)
7+
8+
(unless (package-installed-p 'use-package)
9+
(package-refresh-contents)
10+
(package-install 'use-package))
11+
12+
(use-package ess
13+
:ensure t)
14+
15+
(use-package company
16+
:ensure t
17+
:config
18+
(setq company-idle-delay 0)
19+
(setq company-minimum-prefix-length 2)
20+
(global-company-mode t))
21+
22+
(use-package highlight-parentheses
23+
:ensure t
24+
:config
25+
(progn
26+
(highlight-parentheses-mode)
27+
(global-highlight-parentheses-mode)))

‎lib/settings.el

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
(setq-default fill-column 100)
88
(setq-default c-default-style "user")
99

10+
(setq custom-file (concat user-emacs-directory "customizations.el"))
11+
1012
(setq default-major-mode 'text-mode)
1113
(setq backup-directory-alist `((".*" . ,temporary-file-directory)))
1214
(setq auto-save-file-name-transforms `((".*" ,temporary-file-directory 1)))

‎themes/soft-charcoal-theme.el

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
;;; soft-charcoal-theme.el --- Dark charcoal theme with soft colors
2+
;; Author: Martin Haesler
3+
;; URL: http://github.com/mswift42/soft-charcoal-theme
4+
;; Version: 0.2
5+
6+
;; dark theme with a charcoal bg and soft colors
7+
;; Copyright (C) 2013 , Martin Haesler
8+
9+
;; This program is free software: you can redistribute it and/or modify
10+
;; it under the terms of the GNU General Public License as published by
11+
;; the Free Software Foundation, either version 3 of the License, or
12+
;; (at your option) any later version.
13+
14+
;; This program is distributed in the hope that it will be useful,
15+
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
;; GNU General Public License for more details.
18+
19+
;; You should have received a copy of the GNU General Public License
20+
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
21+
22+
;; This file is not part of Emacs.
23+
24+
(deftheme soft-charcoal)
25+
26+
(custom-theme-set-faces
27+
'soft-charcoal
28+
'(default ((t (:background "#191919" :foreground "#c2c2c2"))))
29+
'(font-lock-builtin-face ((t (:foreground "#54686d"))))
30+
'(region ((t (:background "#3c414c" :foreground "#faf4c6"))))
31+
'(highlight ((t (:foreground "#d5dd83" :background "#191919"))))
32+
'(hl-line ((t (:background "#252525"))))
33+
'(fringe ((t (:background "#232323" :foreground "#8aa234"))))
34+
'(cursor ((t (:background "#626262"))))
35+
'(show-paren-match-face ((t (:background "#f03f3f"))))
36+
'(isearch ((t (:bold t :foreground "#f03f3f" :background "#e2e2e5"))))
37+
'(mode-line ((t (:box (:line-width 1 :color nil :style released-button) :bold t :foreground "#babdb6" :background "#202020"))))
38+
'(mode-line-inactive ((t (:box (:line-width 1 :color nil :style released-button) :foreground "#808080" :background "#2b2b2b"))))
39+
'(mode-line-buffer-id ((t (:bold t :foreground "#5d90cd" :background nil))))
40+
'(mode-line-highlight ((t (:background "#808080"))))
41+
'(vertical-border ((t (:foreground "#232323"))))
42+
'(minibuffer-prompt ((t (:bold t :foreground "#708090"))))
43+
'(default-italic ((t (:italic t))))
44+
'(font-lock-comment-face ((t (:foreground "#808080"))))
45+
'(font-lock-negation-char-face ((t (:foreground "#f03f3f"))))
46+
'(font-lock-reference-face ((t (:foreground "#d08689"))))
47+
'(font-lock-constant-face ((t (:foreground "#8aa6c1"))))
48+
'(font-lock-doc-face ((t (:foreground "#7d949b"))))
49+
'(font-lock-function-name-face ((t (:foreground "#7a8bbd"))))
50+
'(font-lock-keyword-face ((t (:bold t :foreground "#8aa234"))))
51+
'(font-lock-reference-face ((t (:bold t :foreground "#b998df"))))
52+
'(font-lock-string-face ((t (:foreground "#5d90cd"))))
53+
'(font-lock-type-face ((t (:foreground "#8aa6c1"))))
54+
'(font-lock-variable-name-face ((t (:foreground "#8885b2"))))
55+
'(font-lock-warning-face ((t (:foreground "#ffffff" :background "#ff6523"))))
56+
'(link ((t (:foreground "#ffc01a"))))
57+
'(org-hide ((t (:foreground "#708090"))))
58+
'(org-level-1 ((t (:bold t :foreground "#54686d" :height 1.1))))
59+
'(org-level-2 ((t (:bold nil :foreground "#7e8aa2"))))
60+
'(org-level-3 ((t (:bold t :foreground "#df9f2d"))))
61+
'(org-level-4 ((t (:bold nil :foreground "#af4f4b"))))
62+
'(org-date ((t (:underline t :foreground "#f0ad6d") )))
63+
'(org-footnote ((t (:underline t :foreground "#ad600b"))))
64+
'(org-link ((t (:underline t :foreground "#ffc01a" ))))
65+
'(org-special-keyword ((t (:foreground "#8aa234"))))
66+
'(org-verbatim ((t (:foreground "#eeeeec" :underline t :slant italic))))
67+
'(org-block ((t (:foreground "#7e8aa2"))))
68+
'(org-quote ((t (:inherit org-block :slant italic))))
69+
'(org-verse ((t (:inherit org-block :slant italic))))
70+
'(org-todo ((t (:bold t :foreground "#f0f0f0"))))
71+
'(org-done ((t (:bold t :foreground "#708090"))))
72+
'(org-warning ((t (:underline t :foreground "#ff0000"))))
73+
'(org-agenda-structure ((t (:weight bold :foreground "#e3e3e3"))))
74+
'(org-agenda-date ((t (:foreground "#8aa234" :height 1.2))))
75+
'(org-agenda-date-weekend ((t (:weight normal :foreground "#808bed"))))
76+
'(org-agenda-date-today ((t (:weight bold :foreground "#8aa234" :height 1.4))))
77+
'(org-scheduled ((t (:foreground "#eeeeec"))))
78+
'(font-latex-bold-face ((t (:foreground "#cd8b00"))))
79+
'(font-latex-italic-face ((t (:foreground "#808bed" :italic t))))
80+
'(font-latex-string-face ((t (:foreground "#708090"))))
81+
'(font-latex-match-reference-keywords ((t (:foreground "#708090"))))
82+
'(font-latex-match-variable-keywords ((t (:foreground "#708090"))))
83+
'(ido-only-match ((t (:foreground "#f03f3f"))))
84+
'(org-sexp-date ((t (:foreground "#808080"))))
85+
'(ido-first-match ((t (:foreground "#8aa234"))))
86+
'(gnus-header-content ((t (:foreground "#e3e3e3"))))
87+
'(gnus-header-from ((t (:foreground "#54686d"))))
88+
'(gnus-header-name ((t (:foreground "#5d90cd"))))
89+
'(gnus-header-subject ((t (:foreground "#b998df"))))
90+
'(magit-item-highlight ((t (:background "#252525"))))
91+
'(mu4e-view-url-number-face ((t (:foreground "#af4f4b"))))
92+
'(mu4e-cited-1-face ((t (:foreground "#a2a1a0"))))
93+
'(mu4e-cited-7-face ((t (:foreground "#b2b1b0"))))
94+
'(mu4e-header-marks-face ((t (:foreground "#929190"))))
95+
'(ffap ((t (:foreground "#929190"))))
96+
'(trailing-whitespace ((t (:foreground nil :background "#3f3f3f"))))
97+
'(slime-repl-inputed-output-face ((t (:foreground "#f0f0f0")))))
98+
99+
;;;###autoload
100+
(when load-file-name
101+
(add-to-list 'custom-theme-load-path
102+
(file-name-as-directory (file-name-directory load-file-name))))
103+
104+
(provide-theme 'soft-charcoal)
105+
106+
;;; soft-charcoal-theme.el ends here

0 commit comments

Comments
 (0)
Please sign in to comment.