{"action":"created","issue":{"url":"https://api.github.com/repos/adobe/brackets/issues/10534","labels_url":"https://api.github.com/repos/adobe/brackets/issues/10534/labels{/name}","comments_url":"https://api.github.com/repos/adobe/brackets/issues/10534/comments","events_url":"https://api.github.com/repos/adobe/brackets/issues/10534/events","html_url":"https://github.com/adobe/brackets/pull/10534","id":56770630,"number":10534,"title":"#10507 - to reduce dark theme flicker, set .body & .not-editor backgroun...","user":{"login":"codymaines","id":2055537,"avatar_url":"https://avatars.githubusercontent.com/u/2055537?v=3","gravatar_id":"","url":"https://api.github.com/users/codymaines","html_url":"https://github.com/codymaines","followers_url":"https://api.github.com/users/codymaines/followers","following_url":"https://api.github.com/users/codymaines/following{/other_user}","gists_url":"https://api.github.com/users/codymaines/gists{/gist_id}","starred_url":"https://api.github.com/users/codymaines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codymaines/subscriptions","organizations_url":"https://api.github.com/users/codymaines/orgs","repos_url":"https://api.github.com/users/codymaines/repos","events_url":"https://api.github.com/users/codymaines/events{/privacy}","received_events_url":"https://api.github.com/users/codymaines/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T05:01:37Z","updated_at":"2015-02-06T19:16:53Z","closed_at":"2015-02-06T13:44:05Z","pull_request":{"url":"https://api.github.com/repos/adobe/brackets/pulls/10534","html_url":"https://github.com/adobe/brackets/pull/10534","diff_url":"https://github.com/adobe/brackets/pull/10534.diff","patch_url":"https://github.com/adobe/brackets/pull/10534.patch"},"body":"...ds to @project-panel-base-color"},"comment":{"url":"https://api.github.com/repos/adobe/brackets/issues/comments/73295652","html_url":"https://github.com/adobe/brackets/pull/10534#issuecomment-73295652","issue_url":"https://api.github.com/repos/adobe/brackets/issues/10534","id":73295652,"user":{"login":"peterflynn","id":1197510,"avatar_url":"https://avatars.githubusercontent.com/u/1197510?v=3","gravatar_id":"","url":"https://api.github.com/users/peterflynn","html_url":"https://github.com/peterflynn","followers_url":"https://api.github.com/users/peterflynn/followers","following_url":"https://api.github.com/users/peterflynn/following{/other_user}","gists_url":"https://api.github.com/users/peterflynn/gists{/gist_id}","starred_url":"https://api.github.com/users/peterflynn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterflynn/subscriptions","organizations_url":"https://api.github.com/users/peterflynn/orgs","repos_url":"https://api.github.com/users/peterflynn/repos","events_url":"https://api.github.com/users/peterflynn/events{/privacy}","received_events_url":"https://api.github.com/users/peterflynn/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T19:16:53Z","updated_at":"2015-02-06T19:16:53Z","body":"I don't think this fixes the flicker -- it just reverses it so that people using the light theme see it flicker dark first.  I think the real fix would be to make sure the theme preferences are available and ThemeManager has initialized before we render the HTML UI.  This would be tricky for third-party themes since we don't load extensions until slightly later -- but as a workaround, ThemeManager could easily cache (in viewstate prefs) the light/dark flag from the last-used theme so that metadata is available immediately during startup."}}