{"action":"created","issue":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/10787","repository_url":"https://api.github.com/repos/zurb/foundation-sites","labels_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10787/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10787/comments","events_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10787/events","html_url":"https://github.com/zurb/foundation-sites/issues/10787","id":276588204,"number":10787,"title":"What's the available values for $global-color-pick-contrast-tolerance?","user":{"login":"mistalaba","id":738293,"avatar_url":"https://avatars3.githubusercontent.com/u/738293?v=4","gravatar_id":"","url":"https://api.github.com/users/mistalaba","html_url":"https://github.com/mistalaba","followers_url":"https://api.github.com/users/mistalaba/followers","following_url":"https://api.github.com/users/mistalaba/following{/other_user}","gists_url":"https://api.github.com/users/mistalaba/gists{/gist_id}","starred_url":"https://api.github.com/users/mistalaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mistalaba/subscriptions","organizations_url":"https://api.github.com/users/mistalaba/orgs","repos_url":"https://api.github.com/users/mistalaba/repos","events_url":"https://api.github.com/users/mistalaba/events{/privacy}","received_events_url":"https://api.github.com/users/mistalaba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-24T11:20:19Z","updated_at":"2018-05-13T18:36:50Z","closed_at":"2017-12-07T08:22:13Z","author_association":"NONE","body":"What range can you use for the $global-color-pick-contrast-tolerance variable?\r\n\r\nThe docs (https://foundation.zurb.com/sites/docs/global.html#sass-variables) only says a number and that default is 0. Actually, it's not (for me) very clear on what this will do? Are there any examples in the wild?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/zurb/foundation-sites/issues/comments/388646901","html_url":"https://github.com/zurb/foundation-sites/issues/10787#issuecomment-388646901","issue_url":"https://api.github.com/repos/zurb/foundation-sites/issues/10787","id":388646901,"user":{"login":"vanilla-thunder","id":1874024,"avatar_url":"https://avatars3.githubusercontent.com/u/1874024?v=4","gravatar_id":"","url":"https://api.github.com/users/vanilla-thunder","html_url":"https://github.com/vanilla-thunder","followers_url":"https://api.github.com/users/vanilla-thunder/followers","following_url":"https://api.github.com/users/vanilla-thunder/following{/other_user}","gists_url":"https://api.github.com/users/vanilla-thunder/gists{/gist_id}","starred_url":"https://api.github.com/users/vanilla-thunder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanilla-thunder/subscriptions","organizations_url":"https://api.github.com/users/vanilla-thunder/orgs","repos_url":"https://api.github.com/users/vanilla-thunder/repos","events_url":"https://api.github.com/users/vanilla-thunder/events{/privacy}","received_events_url":"https://api.github.com/users/vanilla-thunder/received_events","type":"User","site_admin":false},"created_at":"2018-05-13T18:36:50Z","updated_at":"2018-05-13T18:36:50Z","author_association":"NONE","body":"hi, sorry for bumping this issue, but is there any way to debug this color picking / contrast checking process?\r\nWhen creating css for just \"button\" class, it keeps suggesting me white text color for yellow background. (#ffff00 / rgb(255,255,0) )\r\nbut everything is fine when generating style for \"button primary\".\r\nAccording to what i found about the contrast checking functions (e.g. issue #9555 or #9747) the text collor is definitely supposed to be black.\r\nmy scss:\r\n````SCSS\r\n$foundation-palette: (\r\n        primary: #ffff00,\r\n        secondary: #555,\r\n        success: #1cd361,\r\n        warning: #ee8e51,\r\n        alert: #e9443f\r\n);\r\n@import 'foundation';\r\n@include foundation-everything;\r\n````\r\nnodejs v10.0.0\r\nnode-sass v4.9.0\r\nlibsass v3.5.4 \r\n\r\nbest regards!"}}
{"actor":{"display_login":"vanilla-thunder"}}