fix(ui-toolkit): healthbar tooltips text colour (#4199)
This commit is contained in:
parent
16538ca3a3
commit
bf3ff8fb6f
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/ui-toolkit",
|
"name": "@vegaprotocol/ui-toolkit",
|
||||||
"version": "0.12.5"
|
"version": "0.12.6"
|
||||||
}
|
}
|
||||||
|
@ -25,14 +25,14 @@ const Target = ({
|
|||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
description={
|
description={
|
||||||
<>
|
<div className="text-vega-dark-100 dark:text-vega-light-200">
|
||||||
<div className="mt-1.5 inline-flex">
|
<div className="mt-1.5 inline-flex">
|
||||||
<Indicator variant={Intent.None} />
|
<Indicator variant={Intent.None} />
|
||||||
</div>
|
</div>
|
||||||
<span>
|
<span>
|
||||||
{t('Target stake')} {addDecimalsFormatNumber(target, decimals)}
|
{t('Target stake')} {addDecimalsFormatNumber(target, decimals)}
|
||||||
</span>
|
</span>
|
||||||
</>
|
</div>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
@ -195,9 +195,11 @@ export const HealthBar = ({
|
|||||||
{showRemainder && <Remainder />}
|
{showRemainder && <Remainder />}
|
||||||
{showOverflow && (
|
{showOverflow && (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
description={t(
|
description={
|
||||||
'Providers greater than 2x target stake not shown'
|
<div className="text-vega-dark-100 dark:text-vega-light-200">
|
||||||
)}
|
t( 'Providers greater than 2x target stake not shown' )
|
||||||
|
</div>
|
||||||
|
}
|
||||||
>
|
>
|
||||||
<div className="h-[inherit] relative flex-1 leading-4">...</div>
|
<div className="h-[inherit] relative flex-1 leading-4">...</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "@vegaprotocol/utils",
|
"name": "@vegaprotocol/utils",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"type": "commonjs"
|
"type": "commonjs"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user