This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch next in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/next by this push: new a69b446 style: optimize color of brush rect a69b446 is described below commit a69b446dfc3253ff1c83eb47719486f4b86b7411 Author: pissang <bm2736...@gmail.com> AuthorDate: Fri Aug 7 11:07:27 2020 +0800 style: optimize color of brush rect --- src/component/brush/BrushModel.ts | 4 ++-- src/component/helper/BrushController.ts | 4 ++-- src/component/toolbox/feature/DataZoom.ts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/component/brush/BrushModel.ts b/src/component/brush/BrushModel.ts index f30f528..8364e6f 100644 --- a/src/component/brush/BrushModel.ts +++ b/src/component/brush/BrushModel.ts @@ -130,8 +130,8 @@ class BrushModel extends ComponentModel<BrushOption> { transformable: true, brushStyle: { borderWidth: 1, - color: 'rgba(120,140,180,0.3)', - borderColor: 'rgba(120,140,180,0.8)' + color: 'rgba(210,219,238,0.3)', + borderColor: '#D2DBEE' }, throttleType: 'fixRate', throttleDelay: 0, diff --git a/src/component/helper/BrushController.ts b/src/component/helper/BrushController.ts index 596c37a..1b24bef 100644 --- a/src/component/helper/BrushController.ts +++ b/src/component/helper/BrushController.ts @@ -157,8 +157,8 @@ const CURSOR_MAP = { const DEFAULT_BRUSH_OPT = { brushStyle: { lineWidth: 2, - stroke: 'rgba(0,0,0,0.3)', - fill: 'rgba(0,0,0,0.1)' + stroke: 'rgba(210,219,238,0.3)', + fill: '#D2DBEE' }, transformable: true, brushMode: 'single', diff --git a/src/component/toolbox/feature/DataZoom.ts b/src/component/toolbox/feature/DataZoom.ts index c4330ac..e36f2c3 100644 --- a/src/component/toolbox/feature/DataZoom.ts +++ b/src/component/toolbox/feature/DataZoom.ts @@ -311,7 +311,7 @@ function updateZoomBtnStatus( brushStyle: { // FIXME user customized? lineWidth: 0, - fill: 'rgba(0,0,0,0.2)' + fill: 'rgba(210,219,238,0.2)' } } : false --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org