Skip to content

Commit

Permalink
Accessibility fix for default color
Browse files Browse the repository at this point in the history
  • Loading branch information
normankong authored and JorgenEvens committed May 31, 2022
1 parent 697807d commit 92cac49
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ function fetchJSONP(url, successCb, errorCb) {
};
}

//https://webaim.org/resources/contrastchecker/
export
const defaultColors = [
'#d73d32',
'#A62A21',
'#7e3794',
'#4285f4',
'#67ae3f',
'#d61a7f',
'#ff4080'
'#0B51C1',
'#3A6024',
'#A81563',
'#B3003C'
];

// https://regex101.com/r/YEsPER/1
Expand Down

0 comments on commit 92cac49

Please # to comment.