Fix Liquid UTXOs table color
This commit is contained in:
parent
8310ad9f24
commit
65705a8a1d
@ -122,8 +122,8 @@ export class FederationUtxosListComponent implements OnInit {
|
|||||||
|
|
||||||
getGradientColor(value: number): string {
|
getGradientColor(value: number): string {
|
||||||
const distanceToGreen = Math.abs(4032 - value);
|
const distanceToGreen = Math.abs(4032 - value);
|
||||||
const green = 'var(--green)';
|
const green = '#3bcc49';
|
||||||
const red = 'var(--red)';
|
const red = '#dc3545';
|
||||||
|
|
||||||
if (value < 0) {
|
if (value < 0) {
|
||||||
return red;
|
return red;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user