mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 01:13:17 +01:00
change green
This commit is contained in:
parent
64e138248d
commit
34464d00aa
@ -13,7 +13,7 @@ export function Price({ price }: { price: PriceCoingecko }) {
|
||||
|
||||
return (
|
||||
<p className={styles.price}>
|
||||
<span className={`${styles.fiat} ${feedbackClasses}`}>${price.usd} </span>
|
||||
<span className={`${styles.fiat} ${feedbackClasses}`}>${price.usd}</span>
|
||||
{price?.usd_24h_change ? (
|
||||
<PriceChange priceChange={price.usd_24h_change} />
|
||||
) : null}
|
||||
|
@ -1,7 +1,7 @@
|
||||
.change {
|
||||
font-size: 0.7rem;
|
||||
|
||||
--color-positive: #2ecc40;
|
||||
--color-positive: #3d9970;
|
||||
--color-negative: #ff4136;
|
||||
}
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
.change[data-locale|='zh'],
|
||||
.change[data-locale|='ja'] {
|
||||
--color-positive: #ff4136;
|
||||
--color-negative: #2ecc40;
|
||||
--color-negative: #3d9970;
|
||||
}
|
||||
|
||||
.change[data-locale|='ko'] {
|
||||
--color-positive: #0074d9;
|
||||
--color-negative: #2ecc40;
|
||||
--color-negative: #3d9970;
|
||||
}
|
||||
|
||||
.change svg {
|
||||
|
Loading…
Reference in New Issue
Block a user