Skip to content

Commit

Permalink
style: change chart colors
Browse files Browse the repository at this point in the history
Signed-off-by: Miles Zhang <mingchang555@hotmail.com>
  • Loading branch information
zmcNotafraid committed Jun 4, 2024
1 parent f8ab7f9 commit e915ffe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions src/constants/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,19 @@ export enum ListPageParams {

export const ChartColor = {
areaColor: '#31EEB3',
colors: ['#5824FB', '#31EEB3', '#484E4E'],
moreColors: ['#5824FB', '#66CC99', '#FBB04C', '#525860'],
colors: ['#553AF3', '#333333', '#00CC9B'],
moreColors: [
'#553AF3',
'#333333',
'#00CC9B',
'#FF5656',
'#24C0F0',
'#BCCC00',
'#4661A6',
'#EDAF36',
'#E63ECB',
'#69E63E',
],
totalSupplyColors: ['#5824FB', '#31EEB3', '#484E4E'],
daoColors: ['#5824FB', '#31EEB3', '#484E4E'],
secondaryIssuanceColors: ['#484E4E', '#5824FB', '#31EEB3'],
Expand Down
2 changes: 1 addition & 1 deletion src/pages/StatisticsChart/activities/CkbHodlWave.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const useOption = (
}
const parseTooltip = useTooltip()
return {
color: chartColor.colors,
color: chartColor.moreColors,
tooltip: !isThumbnail
? {
trigger: 'axis',
Expand Down

0 comments on commit e915ffe

Please sign in to comment.