Skip to content

Commit

Permalink
feat: Finalize three potential colorblind-friendly color schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
chinweibegbu committed Apr 27, 2024
1 parent c1d70b3 commit 1cacc04
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 33 deletions.
38 changes: 10 additions & 28 deletions data/color_schemes.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,42 +64,24 @@
"gray-5": "0x0000fe",
"gray-4": "0xe9af1e"
},
"ibm": {
"colorblind_general": {
"red-1": "0x648fff",
"red-3": "0x530000",
"orange-1": "0x179714",
"green-3": "0x09f04a",
"green-4": "0x09e04a"
},
"colorblind_ibm": {
"red-3": "0x648fff",
"red-4": "0x785ef0",
"orange-1": "0xfe6100",
"yellow-2": "0xffb000"
},
"okabe_ito": {
"red-1": "0xcc79a7",
"red-3": "0xd55e00",
"orange-1": "0xe69f00",
"yellow-2": "0xf0e442",
"green-3": "0x009e73",
"blue-2": "0x56b4e9"
},
"paul_tol_vibrant": {
"colorblind_paul_tol_vibrant": {
"red-3": "0xcc3311",
"red-4": "0xee3377",
"orange-1": "0xee7733",
"green-3": "0x009988",
"blue-2": "0x33bbee"
},
"paul_tol_muted": {
"red-1": "0xcc6677",
"red-3": "0xaa4499",
"red-4": "0x882255",
"orange-1": "0xf99806",
"green-3": "0x117733",
"green-4": "0x999933",
"blue-1": "0x44aa99",
"blue-2": "0x88ccee"
},
"colorblind_friendly": {
"red-1": "0x530000",
"red-3": "0xcc3311",
"orange-1": "0xfe6100",
"green-3": "0x09f04a",
"green-4": "0x09e04a"
}
}
}
8 changes: 3 additions & 5 deletions data/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1003,11 +1003,9 @@ en:
tooltip: Switch between color schemes
default: Default
high_contrast: High Contrast
ibm: IBM
okabe_ito: Okabe-Ito
paul_tol_vibrant: Paul Tol (Vibrant)
paul_tol_muted: Paul Tol (Muted)
colorblind_friendly: Colorblind-Friendly
colorblind_general: Colorblind Mode - General
colorblind_ibm: Colorblind Mode - IBM
colorblind_paul_tol_vibrant: Colorblind Mode - Paul Tol (Vibrant)
placeholder: Select color scheme
colorblind_options:
title: Colorblind Mode
Expand Down

0 comments on commit 1cacc04

Please sign in to comment.