Fix gradient colors in Liquid federation utxos table

This commit is contained in:
natsoni
2024-04-16 12:15:45 +02:00
parent f897679ed6
commit 2c676ae06e

View File

@@ -122,8 +122,8 @@ export class FederationUtxosListComponent implements OnInit {
getGradientColor(value: number): string {
const distanceToGreen = Math.abs(4032 - value);
const green = 'var(--green)';
const red = 'var(--red)';
const green = '#3bcc49';
const red = '#dc3545';
if (value < 0) {
return red;