Skip to content

Commit a74335e

Browse files
committed
fix(theme): 调整面积图渐变色
1 parent eb4778e commit a74335e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/theme/src/dark-mini/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@ export const darkMini: ITheme = {
2727
stops: [
2828
{
2929
offset: 0,
30-
opacity: 0.25,
30+
opacity: 0.15,
3131
},
3232
{
3333
offset: 1,
34-
opacity: 0.02,
34+
opacity: 0,
3535
},
3636
],
3737
},
38+
fillOpacity: 1,
3839
},
3940
},
4041
point: {

packages/theme/src/dark/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const dark: ITheme = {
2727
stops: [
2828
{
2929
offset: 0,
30-
opacity: 0.25,
30+
opacity: 0.15,
3131
},
3232
{
3333
offset: 1,

0 commit comments

Comments
 (0)