[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master cb8b1f2 066/271: Add light color scheme.
From: |
Jackson Ray Hamilton |
Subject: |
[elpa] master cb8b1f2 066/271: Add light color scheme. |
Date: |
Thu, 05 Feb 2015 18:29:49 +0000 |
branch: master
commit cb8b1f2d241fc5a68933f7feb5e57801a98cf7da
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>
Add light color scheme.
---
context-coloring.el | 26 ++++++++++----------------
test/fixtures/nest.js | 32 ++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 16 deletions(-)
diff --git a/context-coloring.el b/context-coloring.el
index 3b871a8..852b749 100644
--- a/context-coloring.el
+++ b/context-coloring.el
@@ -42,60 +42,54 @@
;;; Faces
(defface context-coloring-depth--1-face
- '((((background light)) (:foreground "#999999"))
- (((background dark)) (:foreground "#999999")))
+ '((((background light)) (:foreground "#7f7f7f"))
+ (((background dark)) (:foreground "#7f7f7f")))
"Nested blocks face, depth -1; comments."
:group 'context-coloring-faces)
(defface context-coloring-depth-0-face
- '((((background light)) (:foreground "#ffffff"))
+ '((((background light)) (:foreground "#000000"))
(((background dark)) (:foreground "#ffffff")))
"Nested blocks face, depth 0; global scope."
:group 'context-coloring-faces)
(defface context-coloring-depth-1-face
- '((((background light)) (:foreground "#ffff80"))
+ '((((background light)) (:foreground "#2D6994"))
(((background dark)) (:foreground "#ffff80")))
"Nested blocks face, depth 1."
:group 'context-coloring-faces)
(defface context-coloring-depth-2-face
- '((((background light)) (:foreground "#cdfacd"))
+ '((((background light)) (:foreground "#592D94"))
(((background dark)) (:foreground "#cdfacd")))
"Nested blocks face, depth 2."
:group 'context-coloring-faces)
(defface context-coloring-depth-3-face
- '((((background light)) (:foreground "#d8d8ff"))
+ '((((background light)) (:foreground "#A13143"))
(((background dark)) (:foreground "#d8d8ff")))
"Nested blocks face, depth 3."
:group 'context-coloring-faces)
(defface context-coloring-depth-4-face
- '((((background light)) (:foreground "#e7c7ff"))
+ '((((background light)) (:foreground "#AC7135"))
(((background dark)) (:foreground "#e7c7ff")))
"Nested blocks face, depth 4."
:group 'context-coloring-faces)
(defface context-coloring-depth-5-face
- '((((background light)) (:foreground "#ffcdcd"))
+ '((((background light)) (:foreground "#ACA135"))
(((background dark)) (:foreground "#ffcdcd")))
"Nested blocks face, depth 5."
:group 'context-coloring-faces)
(defface context-coloring-depth-6-face
- '((((background light)) (:foreground "#ffe390"))
+ '((((background light)) (:foreground "#539A2F"))
(((background dark)) (:foreground "#ffe390")))
"Nested blocks face, depth 6."
:group 'context-coloring-faces)
-(defface context-coloring-depth-7-face
- '((((background light)) (:foreground "#cdcdcd"))
- (((background dark)) (:foreground "#cdcdcd")))
- "Nested blocks face, depth 7."
- :group 'context-coloring-faces)
-
-(defconst context-coloring-face-count 8
+(defconst context-coloring-face-count 7
"Number of faces defined for highlighting delimiter levels.
Determines depth at which to cycle through faces again.")
diff --git a/test/fixtures/nest.js b/test/fixtures/nest.js
new file mode 100644
index 0000000..2e79213
--- /dev/null
+++ b/test/fixtures/nest.js
@@ -0,0 +1,32 @@
+function a() {
+ var A = a();
+ function b() {
+ var B = b;
+ function c() {
+ var C = c;
+ function d() {
+ var D = d;
+ function e() {
+ var E = e;
+ function f() {
+ var F = f;
+ function g() {
+ var G = g;
+ function h() {
+ var H = [
+ A,
+ B,
+ C,
+ D,
+ E,
+ F,
+ G
+ ];
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
- [elpa] master 148e55b 046/271: Readme updates., (continued)
- [elpa] master 148e55b 046/271: Readme updates., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a02fe9f 064/271: Switch to microoptimized., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f07ce20 061/271: Revert back to functions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 0ab3ed5 060/271: And it still made no difference., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c2114e9 040/271: Uglify tokenizer now working., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b1e7a1d 076/271: Switch to 1-dimensional array., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7c8e32c 062/271: Restore microooptimized, add more benchmarks, add tests., Jackson Ray Hamilton, 2015/02/05
- [elpa] master eb2e6b3 070/271: Formalize italic support., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 67637bf 072/271: Update test fixture., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 65e4763 065/271: Just push to a single tokens array., Jackson Ray Hamilton, 2015/02/05
- [elpa] master cb8b1f2 066/271: Add light color scheme.,
Jackson Ray Hamilton <=
- [elpa] master 7a49f9f 067/271: Make comments italic., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 07fe42c 078/271: Vconcat., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 28667b8 075/271: Move microoptimized scopifier into the limelight., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c1f9f11 063/271: Switch to concat., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 183ac4e 081/271: Add emacs benchmark., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 59b1c99 074/271: Documentation and cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master c81c3fd 068/271: Make declarations bold., Jackson Ray Hamilton, 2015/02/05
- [elpa] master f9eb4a1 080/271: Revert "Use alist of faces.", Jackson Ray Hamilton, 2015/02/05
- [elpa] master ea3fd79 071/271: Make implicit global variables bold., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1039a74 073/271: Update microoptimized version., Jackson Ray Hamilton, 2015/02/05