{"action":"closed","issue":{"url":"https://api.github.com/repos/bbatsov/solarized-emacs/issues/190","labels_url":"https://api.github.com/repos/bbatsov/solarized-emacs/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/bbatsov/solarized-emacs/issues/190/comments","events_url":"https://api.github.com/repos/bbatsov/solarized-emacs/issues/190/events","html_url":"https://github.com/bbatsov/solarized-emacs/issues/190","id":91506072,"number":190,"title":"consider documenting a customization example","user":{"login":"acerbic-cover","id":12418049,"avatar_url":"https://avatars.githubusercontent.com/u/12418049?v=3","gravatar_id":"","url":"https://api.github.com/users/acerbic-cover","html_url":"https://github.com/acerbic-cover","followers_url":"https://api.github.com/users/acerbic-cover/followers","following_url":"https://api.github.com/users/acerbic-cover/following{/other_user}","gists_url":"https://api.github.com/users/acerbic-cover/gists{/gist_id}","starred_url":"https://api.github.com/users/acerbic-cover/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acerbic-cover/subscriptions","organizations_url":"https://api.github.com/users/acerbic-cover/orgs","repos_url":"https://api.github.com/users/acerbic-cover/repos","events_url":"https://api.github.com/users/acerbic-cover/events{/privacy}","received_events_url":"https://api.github.com/users/acerbic-cover/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-27T19:43:08Z","updated_at":"2015-06-27T20:34:32Z","closed_at":"2015-06-27T20:34:32Z","body":"Motivated by the same sort of sentiment expressed in #158, I have written an extension theme where I would like to use the solarized approach, but tweak certain faces.\r\n\r\nAlas, I am not an elisp hacker, so my ability to intuit what elisp should go in the [optional child theme](https://github.com/bbatsov/solarized-emacs/blob/master/solarized.el#L151) function is limited.\r\n\r\nI followed the pattern to create a custom-theme; that part is working fine.  I can invoke\r\n\r\n    M-x load-theme\r\n\r\nchoose my customized `solarized-jwm-dark` theme and my extension function gets called.\r\n\r\nHowever, I am having a hard time guessing what the idioms are to further customize the theme.\r\nI hacked around guessing at how to override a sample face for, e.g., `font-lock-string-face`, without much success.  For example, here is one of the approaches I tried:\r\n\r\n```elisp\r\n(defun jwm-customize-solarize-dark ()\r\n  \"apply some of jwms color customizations on top of the solarized dark theme\"\r\n\r\n  (let* ((class '((class color) (min-colors 89)))\r\n         (light-coral    \"LightCoral\"))\r\n    (custom-theme-set-faces\r\n     'solarized-jwm-dark\r\n     `(font-lock-string-face ((,class (:foreground ,light-coral))))\r\n     )))\r\n```\r\n\r\nAs I said, I was just pattern matching and guessing as to how to structure an extension function.\r\n\r\nCan someone point me in the right direction here?  I would be happy to supply the result back to the project in a pull request to document for the future as appropriate."}}