mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 09:23:16 +01:00
change green
This commit is contained in:
parent
64e138248d
commit
34464d00aa
@ -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}
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user