aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-03-04 14:14:55 -0800
committerGravatar Tom Willemse2017-03-04 14:14:55 -0800
commit4fb473197ff73d81458755534ff5c7356ce5fb81 (patch)
tree90dcdadfe9895de08d5290d9da72baf3afeb8d25
parentdf23bfcd0c22582d924e7820f5585ea621082dd9 (diff)
downloadyoshi-theme-4fb473197ff73d81458755534ff5c7356ce5fb81.tar.gz
yoshi-theme-4fb473197ff73d81458755534ff5c7356ce5fb81.zip
Update js2-mode faces
-rw-r--r--CHANGELOG.org10
-rw-r--r--yoshi-theme.el6
2 files changed, 15 insertions, 1 deletions
diff --git a/CHANGELOG.org b/CHANGELOG.org
index 3ddb7b5..915d85b 100644
--- a/CHANGELOG.org
+++ b/CHANGELOG.org
@@ -27,12 +27,22 @@ This project adheres to [[http://semver.org][Semantic Versioning]].
Enable =window-divider-mode= and set the
=window-divider-default-right-width= to ~1~.
+** ADDED Some js2-mode faces
+
+ Add the JS2 Mode faces: =js2-error=, =js2-function-call=,
+ =js2-object-property=, =js2-warning=.
+
** CHANGED the color of high-scoring unread mails in gnus
** CHANGED the color of normal ticked mails in gnus
** CHANGED the padding around the mode-line
+** CHANGED the JS2 function param face color
+
+ Inherit from =font-lock-warning-face= and don't specify a special
+ underline.
+
** REMOVED the 10th rainbow delimiters depth face
* [[https://github.com/ryuslash/yoshi-theme/compare/v6.0.0...v6.1.0][6.1.0]] -- 2015-11-20
diff --git a/yoshi-theme.el b/yoshi-theme.el
index bd47e82..7dc6185 100644
--- a/yoshi-theme.el
+++ b/yoshi-theme.el
@@ -277,8 +277,12 @@
`(jabber-roster-user-xa ((t (:foreground ,fgmagenta))))
;;; JS2 mode
+ `(js2-error ((t (:foreground unspecified :inherit error))))
`(js2-external-variable ((t (:foreground ,fgmagenta))))
- `(js2-function-param ((t (:foreground ,fggreen))))
+ `(js2-function-call ((t (:inherit font-lock-function-name-face))))
+ `(js2-function-param ((t (:foreground unspecified :inherit font-lock-variable-name-face))))
+ `(js2-object-property ((t (:inherit font-lock-variable-name-face))))
+ `(js2-warning ((t (:underline unspecified :inherit font-lock-warning-face))))
;;; Magit
`(magit-bisect-bad ((t (:foreground ,fgred))))