Skip to content

Commit

Permalink
Merge pull request blockscout#39 from mantlenetworkio/feat/theme/refa…
Browse files Browse the repository at this point in the history
…ctor

blockscout#23 UI: home UI refactor
  • Loading branch information
Jaycelv committed Dec 2, 2022
2 parents 04fedb7 + 4d5e6ef commit 8ba6505
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions apps/block_scout_web/assets/js/lib/history_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ const grid = {

function getTxChartColor () {
if (localStorage.getItem('current-color-mode') === 'dark') {
return sassVariables.dashboardLineColorTransactionsDarkTheme
return '#BFF6F2'
} else {
return sassVariables.dashboardLineColorTransactions
return '#305A57'
}
}

Expand Down Expand Up @@ -95,17 +95,6 @@ const config = {
},
scales: {
x: xAxe(sassVariables.dashboardBannerChartAxisFontColor),
y:{
ticks: {
display:false,
color: color,
fontColor: 'f00',
},
gridLines:{
display:true,
color: '#305A57',
}
},
price: {
position: 'left',
grid,
Expand Down

0 comments on commit 8ba6505

Please sign in to comment.