From 4fb473197ff73d81458755534ff5c7356ce5fb81 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 4 Mar 2017 14:14:55 -0800 Subject: [PATCH] Update js2-mode faces --- CHANGELOG.org | 10 ++++++++++ yoshi-theme.el | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) 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))))