1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

UX: Fix TextColor value casing (#20133)

* UX: Fix TextColor value casing

* Fix snapshot
This commit is contained in:
David Walsh 2023-07-24 13:59:45 -05:00 committed by GitHub
parent 11b2c425d4
commit d5dbdfa912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ export default function ApproveContentCard({
<Text
variant={TextVariant.headingSm}
fontWeight={FontWeight.Bold}
color={TextColor.TEXT_DEFAULT}
color={TextColor.textDefault}
as="h4"
>
{formatCurrency(

View File

@ -33,7 +33,7 @@ exports[`LedgerInstructionField Component rendering should render properly with
• Enable "smart contract data" or "blind signing" on your Ledger device.
</h6>
<h6
class="mm-box mm-text mm-text--body-md mm-box--color-text-default"
class="mm-box mm-text mm-text--body-md mm-box--color-warning-default"
>
<span>
<button

View File

@ -197,7 +197,7 @@ export default function LedgerInstructionField({ showDataInstruction }) {
</span>,
usingWebHID &&
webHidConnectedStatus === WebHIDConnectedStatuses.notConnected,
TextColor.WARNING_DEFAULT,
TextColor.warningDefault,
)}
</div>
</BannerAlert>