Skip to content

Commit

Permalink
Add interlaced palette
Browse files Browse the repository at this point in the history
Signed-off-by: David Pordomingo <[email protected]>
  • Loading branch information
dpordomingo committed Oct 18, 2019
1 parent 5cc50c4 commit d8af79c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- Reduce the size of docker image ([#272](https://github.com/src-d/sourced-ui/issues/272))
- Make the current source{d} palettes accessible for color blindness impairments ([#302](https://github.com/src-d/sourced-ui/issues/302))
- Convert the current `srcdMain` and `srcdAll` palettes into interlaced ones, and rename the old gradient ones as `srcdMainGradient` and `srcdAllGradient` ([#305](https://github.com/src-d/sourced-ui/pull/305))

### Fixed

Expand Down
49 changes: 47 additions & 2 deletions srcd/superset/assets/src/customization/srcdColorsCategorical.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,51 @@ export const scheme = [
{
id: 'srcdMain',
label: 'source{d} main colors',
colors: [
palette.royalDeep,
palette.coralDeep,
palette.limeDeep,
palette.royal,
palette.coral,
palette.lime,
palette.royalLightDeep,
palette.coralLightDeep,
palette.limeLightDeep,
palette.royalLight,
palette.coralLight,
palette.limeLight,
],
},
{
id: 'srcdAll',
label: 'source{d} all colors + middle gradient',
colors: [
palette.royalDeep,
palette.coralDeep,
palette.limeDeep,
palette.vanila,
palette.navy,
palette.gray,
palette.royalMiddle,
palette.coralMiddle,
palette.limeMiddle,
palette.vanilaLight,
palette.navyLight,
palette.grayLight,
palette.royal,
palette.coral,
palette.lime,
palette.royalLightDeep,
palette.coralLightDeep,
palette.limeLightDeep,
palette.royalLight,
palette.coralLight,
palette.limeLight,
],
},
{
id: 'srcdMainGradient',
label: 'source{d} gradient main colors',
colors: [
palette.royalDeep,
palette.royal,
Expand All @@ -28,8 +73,8 @@ export const scheme = [
],
},
{
id: 'srcdAll',
label: 'source{d} all colors + middle gradient',
id: 'srcdAllGradient',
label: 'source{d} gradient all colors + middle gradient',
colors: [
palette.royalDeep,
palette.royalMiddle,
Expand Down

0 comments on commit d8af79c

Please sign in to comment.