{"action":"created","issue":{"url":"https://api.github.com/repos/josdejong/jsoneditor/issues/276","repository_url":"https://api.github.com/repos/josdejong/jsoneditor","labels_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/276/comments","events_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/276/events","html_url":"https://github.com/josdejong/jsoneditor/issues/276","id":134705591,"number":276,"title":"Support for custom themes","user":{"login":"fibo","id":176730,"avatar_url":"https://avatars.githubusercontent.com/u/176730?v=3","gravatar_id":"","url":"https://api.github.com/users/fibo","html_url":"https://github.com/fibo","followers_url":"https://api.github.com/users/fibo/followers","following_url":"https://api.github.com/users/fibo/following{/other_user}","gists_url":"https://api.github.com/users/fibo/gists{/gist_id}","starred_url":"https://api.github.com/users/fibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibo/subscriptions","organizations_url":"https://api.github.com/users/fibo/orgs","repos_url":"https://api.github.com/users/fibo/repos","events_url":"https://api.github.com/users/fibo/events{/privacy}","received_events_url":"https://api.github.com/users/fibo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/josdejong/jsoneditor/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-18T21:45:46Z","updated_at":"2016-02-22T09:13:06Z","closed_at":null,"body":"Hi,\r\n\r\nthank you very much for sharing jsoneditor, I will use it for my Dataflow programming project [dflow]() and it is really what I needed.\r\n\r\nI would like to use a dark theme, and I found *jsoneditor/examples/css/darktheme.css* in the examples. It looks good, my question is: can you make it **official*, I mean, is there a chance to change theme by specifing it in the options?\r\n\r\nReading the documentation it looks like only default theme is supported, but, having a *default*, and *dark* that just points to the example above would be great. By now I am using jsoneditor as a bower dependency so I can reference the darktheme.css form the examples folder."},"comment":{"url":"https://api.github.com/repos/josdejong/jsoneditor/issues/comments/187082795","html_url":"https://github.com/josdejong/jsoneditor/issues/276#issuecomment-187082795","issue_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/276","id":187082795,"user":{"login":"fibo","id":176730,"avatar_url":"https://avatars.githubusercontent.com/u/176730?v=3","gravatar_id":"","url":"https://api.github.com/users/fibo","html_url":"https://github.com/fibo","followers_url":"https://api.github.com/users/fibo/followers","following_url":"https://api.github.com/users/fibo/following{/other_user}","gists_url":"https://api.github.com/users/fibo/gists{/gist_id}","starred_url":"https://api.github.com/users/fibo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fibo/subscriptions","organizations_url":"https://api.github.com/users/fibo/orgs","repos_url":"https://api.github.com/users/fibo/repos","events_url":"https://api.github.com/users/fibo/events{/privacy}","received_events_url":"https://api.github.com/users/fibo/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T09:13:06Z","updated_at":"2016-02-22T09:13:06Z","body":"Maybe, if the inline css could be placed in its own file, and importing it using [webpack stylesheet feature](https://webpack.github.io/docs/stylesheets.html) (I could do a pr for this, it seems easy),\r\nthen maybe we could load (by now) two themes, *default* and *dark* and select it in some way with an option (I don't know where to modify the code to do that, right now)."}}