Browse code
chore: cleanup
Ed Langley authored on 07/12/2019 07:28:04
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -8,7 +8,6 @@ |
8 | 8 |
|
9 | 9 |
(cl:in-package #:cl-user) |
10 | 10 |
|
11 |
- |
|
12 | 11 |
(defpackage #:editor-color-theme |
13 | 12 |
(:use #:cl) |
14 | 13 |
(:export #:*current-colors* |
... | ... |
@@ -16,12 +15,10 @@ |
16 | 15 |
#:color-theme-args |
17 | 16 |
#:color-theme |
18 | 17 |
#:define-color-theme |
19 |
- #:remove-color-theme |
|
20 |
- )) |
|
18 |
+ #:remove-color-theme)) |
|
21 | 19 |
|
22 | 20 |
(in-package #:editor-color-theme) |
23 | 21 |
|
24 |
- |
|
25 | 22 |
;;; Configuration |
26 | 23 |
|
27 | 24 |
;; Default foreground and background colors |
... | ... |
@@ -216,10 +213,10 @@ |
216 | 213 |
(face-name (intern (string name) '#:editor)) |
217 | 214 |
(face (editor:make-face face-name :if-exists t))) |
218 | 215 |
(apply 'editor:make-face face-name :if-exists :overwrite |
219 |
- :documentation (or (getf color-theme-args-for-face :documentation) |
|
220 |
- (slot-value face 'documentation)) |
|
221 |
- color-theme-args-for-face)))) |
|
222 |
- |
|
216 |
+ :documentation (or (getf color-theme-args-for-face :documentation) |
|
217 |
+ (slot-value face 'documentation)) |
|
218 |
+ color-theme-args-for-face)))) |
|
219 |
+ |
|
223 | 220 |
theme-name) |
224 | 221 |
|
225 | 222 |
(defun color-theme (theme-name) |
... | ... |
@@ -340,8 +337,7 @@ |
340 | 337 |
;;; Initial color themes |
341 | 338 |
|
342 | 339 |
(define-color-theme "default" () |
343 |
- :foreground nil |
|
344 |
- :background nil |
|
340 |
+ :foreground nil :background nil |
|
345 | 341 |
:region '(:foreground :color_highlighttext |
346 | 342 |
:background :color_highlight) |
347 | 343 |
:show-point-face '(:background :green) |
... | ... |
@@ -456,9 +452,9 @@ |
456 | 452 |
for name = (first list) |
457 | 453 |
for rgb = (second list) |
458 | 454 |
do |
459 |
- (color:define-color-alias |
|
460 |
- name |
|
461 |
- (apply #'make-rgb rgb))) |
|
455 |
+ (color:define-color-alias |
|
456 |
+ name |
|
457 |
+ (apply #'make-rgb rgb))) |
|
462 | 458 |
|
463 | 459 |
(define-color-theme "solarized-light" () |
464 | 460 |
:foreground :solarized-base00 |
... | ... |
@@ -496,7 +492,7 @@ |
496 | 492 |
:background :solarized-base03 |
497 | 493 |
:region '(:foreground :solarized-base01 |
498 | 494 |
:background :solarized-base03 |
499 |
- :inverse-p t) |
|
495 |
+ :inverse-p t) |
|
500 | 496 |
:highlight '(:background :solarized-base02) |
501 | 497 |
:font-lock-function-name-face '(:foreground :solarized-blue) |
502 | 498 |
:font-lock-comment-face '(:foreground :solarized-base01 :italic-p t) |
... | ... |
@@ -522,5 +518,6 @@ |
522 | 518 |
:solarized-blue |
523 | 519 |
:solarized-magenta)) |
524 | 520 |
|
521 |
+ |
|
525 | 522 |
;;; Show presence when loaded |
526 | 523 |
(pushnew :editor-color-theme *features*) |