mirror of
https://github.com/mempool/mempool.git
synced 2025-09-27 08:57:20 +02:00
Merge pull request #5944 from mempool/mononaut/tweak-chart-colors
tweak chart colors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const defaultMempoolFeeColors = [
|
||||
'557d00',
|
||||
'497d2b',
|
||||
'557d00',
|
||||
'5d7d01',
|
||||
'637d02',
|
||||
@@ -41,7 +41,7 @@ export const defaultMempoolFeeColors = [
|
||||
];
|
||||
|
||||
export const contrastMempoolFeeColors = [
|
||||
'0082e6',
|
||||
'007be9',
|
||||
'0082e6',
|
||||
'0984df',
|
||||
'1285d9',
|
||||
@@ -123,6 +123,7 @@ export const chartColors = [
|
||||
"#263238",
|
||||
"#801313",
|
||||
];
|
||||
export const originalChartColors = chartColors.slice(1);
|
||||
|
||||
export const poolsColor = {
|
||||
'unknown': '#FDD835',
|
||||
|
@@ -5,7 +5,7 @@ import { delay, map, retryWhen, share, startWith, switchMap, tap } from 'rxjs/op
|
||||
import { ApiService } from '@app/services/api.service';
|
||||
import { SeoService } from '@app/services/seo.service';
|
||||
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
||||
import { chartColors, poolsColor } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors, poolsColor } from '@app/app.constants';
|
||||
import { StorageService } from '@app/services/storage.service';
|
||||
import { MiningService } from '@app/services/mining.service';
|
||||
import { download } from '@app/shared/graphs.utils';
|
||||
|
@@ -8,7 +8,7 @@ import { SeoService } from '@app/services/seo.service';
|
||||
import { StorageService } from '@app//services/storage.service';
|
||||
import { MiningService, MiningStats } from '@app/services/mining.service';
|
||||
import { StateService } from '@app/services/state.service';
|
||||
import { chartColors, poolsColor } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors, poolsColor } from '@app/app.constants';
|
||||
import { RelativeUrlPipe } from '@app/shared/pipes/relative-url/relative-url.pipe';
|
||||
import { download } from '@app/shared/graphs.utils';
|
||||
import { isMobile } from '@app/shared/common.utils';
|
||||
|
@@ -7,7 +7,7 @@ import { AmountShortenerPipe } from '@app/shared/pipes/amount-shortener.pipe';
|
||||
import { StateService } from '@app/services/state.service';
|
||||
import { SeriesOption } from 'echarts';
|
||||
import { WalletStats } from '@app/shared/wallet-stats';
|
||||
import { chartColors } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors } from '@app/app.constants';
|
||||
import { Treasury } from '../../../interfaces/node-api.interface';
|
||||
|
||||
|
||||
|
@@ -6,7 +6,7 @@ import { download } from '@app/shared/graphs.utils';
|
||||
import { isMobile } from '@app/shared/common.utils';
|
||||
import { WalletStats } from '@app/shared/wallet-stats';
|
||||
import { AddressTxSummary } from '@interfaces/electrs.interface';
|
||||
import { chartColors } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors } from '@app/app.constants';
|
||||
import { formatNumber } from '@angular/common';
|
||||
import { Treasury } from '@interfaces/node-api.interface';
|
||||
|
||||
|
@@ -6,7 +6,7 @@ import { StateService } from '@app/services/state.service';
|
||||
import { catchError, map, scan, shareReplay, startWith, switchMap, tap } from 'rxjs/operators';
|
||||
import { WalletStats } from '@app/shared/wallet-stats';
|
||||
import { Router } from '@angular/router';
|
||||
import { chartColors } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors } from '@app/app.constants';
|
||||
import { Treasury } from '@interfaces/node-api.interface';
|
||||
@Component({
|
||||
selector: 'app-treasuries',
|
||||
|
@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, OnInit, HostBinding, NgZone } from
|
||||
import { Router } from '@angular/router';
|
||||
import { EChartsOption, PieSeriesOption } from '@app/graphs/echarts';
|
||||
import { map, Observable, share, tap } from 'rxjs';
|
||||
import { chartColors } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors } from '@app/app.constants';
|
||||
import { ApiService } from '@app/services/api.service';
|
||||
import { SeoService } from '@app/services/seo.service';
|
||||
import { StateService } from '@app/services/state.service';
|
||||
|
@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, OnInit, HostBinding, NgZone, Input
|
||||
import { Router } from '@angular/router';
|
||||
import { EChartsOption, PieSeriesOption } from '@app/graphs/echarts';
|
||||
import { combineLatest, map, Observable, share, startWith, Subject, switchMap, tap } from 'rxjs';
|
||||
import { chartColors } from '@app/app.constants';
|
||||
import { originalChartColors as chartColors } from '@app/app.constants';
|
||||
import { ApiService } from '@app/services/api.service';
|
||||
import { SeoService } from '@app/services/seo.service';
|
||||
import { StateService } from '@app/services/state.service';
|
||||
|
Reference in New Issue
Block a user