{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree-web/issues/361","repository_url":"https://api.github.com/repos/braintree/braintree-web","labels_url":"https://api.github.com/repos/braintree/braintree-web/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree-web/issues/361/comments","events_url":"https://api.github.com/repos/braintree/braintree-web/issues/361/events","html_url":"https://github.com/braintree/braintree-web/issues/361","id":318890784,"number":361,"title":"Feature Request: Take font color selection from CSS","user":{"login":"tracerx","id":125783,"avatar_url":"https://avatars0.githubusercontent.com/u/125783?v=4","gravatar_id":"","url":"https://api.github.com/users/tracerx","html_url":"https://github.com/tracerx","followers_url":"https://api.github.com/users/tracerx/followers","following_url":"https://api.github.com/users/tracerx/following{/other_user}","gists_url":"https://api.github.com/users/tracerx/gists{/gist_id}","starred_url":"https://api.github.com/users/tracerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracerx/subscriptions","organizations_url":"https://api.github.com/users/tracerx/orgs","repos_url":"https://api.github.com/users/tracerx/repos","events_url":"https://api.github.com/users/tracerx/events{/privacy}","received_events_url":"https://api.github.com/users/tracerx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-30T13:31:31Z","updated_at":"2018-05-01T14:38:29Z","closed_at":null,"author_association":"NONE","body":"In an effort to make things easier for our designers, I've been looking for a method to use the braintree-hosted-fields -inavalid and -valid css classes to define the font color in addition to the other styles we're using. I have found a way that works and was wondering if this had been considered for inclusion into the braintree system (since I might be missing a reason you guys decided it wasn't a good fit). Otherwise, could this be used so we'd have the option of not defining the color in create?\r\n\r\n```javascript\r\n//get colors from css\r\nvar span = document.createElement('span');\r\nspan.className = \"braintree-hosted-fields-invalid\";\r\ndocument.body.appendChild(span);\r\nvar invalidColor = getComputedStyle(span).color;\r\nspan.className = \"braintree-hosted-fields-valid\";\r\nvar validColor = getComputedStyle(span).color;\r\ndocument.body.removeChild(span);\r\n```"},"comment":{"url":"https://api.github.com/repos/braintree/braintree-web/issues/comments/385686537","html_url":"https://github.com/braintree/braintree-web/issues/361#issuecomment-385686537","issue_url":"https://api.github.com/repos/braintree/braintree-web/issues/361","id":385686537,"user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars1.githubusercontent.com/u/2916945?v=4","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"created_at":"2018-05-01T14:38:29Z","updated_at":"2018-05-01T14:38:29Z","author_association":"NONE","body":"All our development at Braintree is linux based, so we unfortunately haven't gotten around to making development on this repo easy for windows based machines."}}
{"actor":{"display_login":"crookedneighbor"}}