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:
parent
11b2c425d4
commit
d5dbdfa912
@ -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(
|
||||
|
@ -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
|
||||
|
@ -197,7 +197,7 @@ export default function LedgerInstructionField({ showDataInstruction }) {
|
||||
</span>,
|
||||
usingWebHID &&
|
||||
webHidConnectedStatus === WebHIDConnectedStatuses.notConnected,
|
||||
TextColor.WARNING_DEFAULT,
|
||||
TextColor.warningDefault,
|
||||
)}
|
||||
</div>
|
||||
</BannerAlert>
|
||||
|
Loading…
Reference in New Issue
Block a user