Integrate colorblind and map color scheme UI to preference tab #1365
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add default and example color scheme objects to
colors.json
. Rename example color scheme object tohigh_contrast
to reflect functionality incolors.json
andcore.yaml
Minify
colors.json
inbuild_data.js
. Addcolors.json
toDataLoaderSystem
'sfileMap
.Add color scheme helper functions to
StyleSytem
, with comments to describe each functions parameters and return values (where applicable).Update
StyleSystem
'sstyleMatch()
function to interact with color scheme objects fromcolors.json
rather than fromSTYLE_DECLARATIONS
.Fix white space discrepancies in
StyleSystem.js
.Reduce boilerplate code and comments relating to color scheme handling in
StyleSystem.js
.Update
color_selection.js
andcolorblind_mode_options.js
to useStyleSystem
rather than the non-existentColorSystem
.Uncomment color schemes and colorblind mode options sections in
preferences.js
to add them to the Preferences pane of the UI.Refs: Issue #1230