Skip to content

Commit

Permalink
Updated hard-coded viz palette hexes to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Jan 14, 2020
1 parent 2cc02d8 commit 375c7ec
Show file tree
Hide file tree
Showing 19 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
range: {
category: {scheme: "elastic"}
}
mark: {color: "#5BBAA0"}
mark: {color: "#54B399"}
}
autosize: {type: "fit", contains: "padding"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe(`VegaParser._setDefaultColors`, () => {
test({}, true, {
config: {
range: { category: { scheme: 'elastic' } },
mark: { color: '#5BBAA0' },
mark: { color: '#54B399' },
},
})
);
Expand All @@ -63,15 +63,15 @@ describe(`VegaParser._setDefaultColors`, () => {
test({}, false, {
config: {
range: { category: { scheme: 'elastic' } },
arc: { fill: '#5BBAA0' },
area: { fill: '#5BBAA0' },
line: { stroke: '#5BBAA0' },
path: { stroke: '#5BBAA0' },
rect: { fill: '#5BBAA0' },
rule: { stroke: '#5BBAA0' },
shape: { stroke: '#5BBAA0' },
symbol: { fill: '#5BBAA0' },
trail: { fill: '#5BBAA0' },
arc: { fill: '#54B399' },
area: { fill: '#54B399' },
line: { stroke: '#54B399' },
path: { stroke: '#54B399' },
rect: { fill: '#54B399' },
rule: { stroke: '#54B399' },
shape: { stroke: '#54B399' },
symbol: { fill: '#54B399' },
trail: { fill: '#54B399' },
},
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export class VegaParser {
this._setDefaultValue({ scheme: 'elastic' }, 'config', 'range', 'category');

if (this.isVegaLite) {
// Vega-Lite: set default color, works for fill and strike -- config: { mark: { color: '#5BBAA0' }}
// Vega-Lite: set default color, works for fill and strike -- config: { mark: { color: '#54B399' }}
this._setDefaultValue(defaultColor, 'config', 'mark', 'color');
} else {
// Vega - global mark has very strange behavior, must customize each mark type individually
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
//** Background color of the whole progress component
@progress-bg: shade(@gray-lighter, 13%);
//** Default progress bar color
@progress-bar-bg: #5BBAA0;
@progress-bar-bg: #54B399;

//== List group
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('chartSelectors', () => {
type: 'linemark'
},
{
color: '#fae181',
color: '#D6BF57',
data: [
{ x: 0, y: 200 },
{ x: 1000, y: 300 }
Expand All @@ -77,7 +77,7 @@ describe('chartSelectors', () => {
type: 'linemark'
},
{
color: '#f19f58',
color: '#DA8B45',
data: [
{ x: 0, y: 300 },
{ x: 1000, y: 400 }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ describe('getTransactionBreakdown', () => {

expect(response.kpis[0]).toEqual({
name: 'app',
color: '#5bbaa0',
color: '#54B399',
percentage: 0.5408550899466306
});

Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/lens/public/assets/chart_area.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/lens/public/assets/chart_bar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/lens/public/assets/chart_line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 375c7ec

Please sign in to comment.