You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/07/28 14:11:15 UTC
[incubator-echarts] branch axis-style-optimize updated: style:
tweak color of axisPointer and title
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch axis-style-optimize
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/axis-style-optimize by this push:
new 12e56f3 style: tweak color of axisPointer and title
12e56f3 is described below
commit 12e56f34e488662c4bc5e65536ceea3d642d3c1a
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Jul 28 22:10:53 2020 +0800
style: tweak color of axisPointer and title
---
src/component/axisPointer/AxisPointerModel.ts | 4 ++--
src/component/title.ts | 7 ++++---
src/coord/axisDefault.ts | 4 ++--
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/component/axisPointer/AxisPointerModel.ts b/src/component/axisPointer/AxisPointerModel.ts
index 18254a1..4d6ca91 100644
--- a/src/component/axisPointer/AxisPointerModel.ts
+++ b/src/component/axisPointer/AxisPointerModel.ts
@@ -98,9 +98,9 @@ class AxisPointerModel extends ComponentModel<AxisPointerOption> {
animationDurationUpdate: 200,
lineStyle: {
- color: '#aaa',
+ color: '#B9BEC9',
width: 1,
- type: 'solid'
+ type: 'dashed'
},
shadowStyle: {
diff --git a/src/component/title.ts b/src/component/title.ts
index 8b46eac..07a7a39 100644
--- a/src/component/title.ts
+++ b/src/component/title.ts
@@ -118,11 +118,12 @@ class TitleModel extends ComponentModel<TitleOption> {
itemGap: 10,
textStyle: {
fontSize: 18,
- fontWeight: 'bolder',
- color: '#333'
+ fontWeight: 'bold',
+ color: '#464646'
},
subtextStyle: {
- color: '#aaa'
+ fontSize: 12,
+ color: '#6E7079'
}
};
}
diff --git a/src/coord/axisDefault.ts b/src/coord/axisDefault.ts
index 677fa18..2c0dbb5 100644
--- a/src/coord/axisDefault.ts
+++ b/src/coord/axisDefault.ts
@@ -60,7 +60,7 @@ const defaultOption: AxisBaseOption = {
onZero: true,
onZeroAxisIndex: null,
lineStyle: {
- color: '#333',
+ color: '#6E7079',
width: 1,
type: 'solid'
},
@@ -96,7 +96,7 @@ const defaultOption: AxisBaseOption = {
splitLine: {
show: true,
lineStyle: {
- color: ['#ECEFF5'],
+ color: ['#E0E6F1'],
width: 1,
type: 'solid'
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org