fix(ui-toolkit): healthbar tooltips text colour (#4199)

This commit is contained in:
Ciaran McGhie 2023-06-29 12:25:14 +01:00 committed by GitHub
parent 16538ca3a3
commit bf3ff8fb6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ {
"name": "@vegaprotocol/ui-toolkit", "name": "@vegaprotocol/ui-toolkit",
"version": "0.12.5" "version": "0.12.6"
} }

View File

@ -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>

View File

@ -1,5 +1,5 @@
{ {
"name": "@vegaprotocol/utils", "name": "@vegaprotocol/utils",
"version": "0.0.5", "version": "0.0.6",
"type": "commonjs" "type": "commonjs"
} }