change green

This commit is contained in:
Matthias Kretschmann 2024-04-14 19:44:10 +02:00
parent 64e138248d
commit 34464d00aa
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ export function Price({ price }: { price: PriceCoingecko }) {
return ( return (
<p className={styles.price}> <p className={styles.price}>
<span className={`${styles.fiat} ${feedbackClasses}`}>${price.usd} </span> <span className={`${styles.fiat} ${feedbackClasses}`}>${price.usd}</span>
{price?.usd_24h_change ? ( {price?.usd_24h_change ? (
<PriceChange priceChange={price.usd_24h_change} /> <PriceChange priceChange={price.usd_24h_change} />
) : null} ) : null}

View File

@ -1,7 +1,7 @@
.change { .change {
font-size: 0.7rem; font-size: 0.7rem;
--color-positive: #2ecc40; --color-positive: #3d9970;
--color-negative: #ff4136; --color-negative: #ff4136;
} }
@ -9,12 +9,12 @@
.change[data-locale|='zh'], .change[data-locale|='zh'],
.change[data-locale|='ja'] { .change[data-locale|='ja'] {
--color-positive: #ff4136; --color-positive: #ff4136;
--color-negative: #2ecc40; --color-negative: #3d9970;
} }
.change[data-locale|='ko'] { .change[data-locale|='ko'] {
--color-positive: #0074d9; --color-positive: #0074d9;
--color-negative: #2ecc40; --color-negative: #3d9970;
} }
.change svg { .change svg {