Updated new fee widget design

This commit is contained in:
nymkappa
2022-06-02 17:44:44 +02:00
parent a6517ebdc5
commit fe32ef75a2
3 changed files with 59 additions and 41 deletions

View File

@@ -15,6 +15,7 @@ export class FeesBoxComponent implements OnInit {
isLoadingWebSocket$: Observable<boolean>;
recommendedFees$: Observable<Recommendedfees>;
gradient = 'linear-gradient(to right, #2e324e, #2e324e)';
noPriority = '#2e324e';
constructor(
private stateService: StateService
@@ -34,6 +35,7 @@ export class FeesBoxComponent implements OnInit {
const endColor = '#' + (mempoolFeeColors[feeLevelIndex - 1] || mempoolFeeColors[mempoolFeeColors.length - 1]);
this.gradient = `linear-gradient(to right, ${startColor}, ${endColor})`;
this.noPriority = startColor;
}
)
);