File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
apps/extension/src/pages/main/components/token Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const getCopyAddressButtonHoverBackgroundColor = (theme: {
3636} ) : string => {
3737 return theme . mode === "light"
3838 ? Color ( ColorPalette [ "gray-100" ] ) . alpha ( 0.5 ) . toString ( )
39- : ColorPalette [ "gray-450 " ] ;
39+ : ColorPalette [ "gray-500 " ] ;
4040} ;
4141
4242export const CopyAddressButton : FunctionComponent < {
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { FunctionComponent } from "react";
33import { useTheme } from "styled-components" ;
44import { Tooltip } from "../../../../components/tooltip" ;
55import { Box } from "../../../../components/box" ;
6- import { BaseTypography } from "../../../../components/typography" ;
6+ import { Caption2 } from "../../../../components/typography" ;
77import { ColorPalette } from "../../../../styles" ;
88
99export const TokenTag : FunctionComponent < {
@@ -26,20 +26,17 @@ export const TokenTag: FunctionComponent<{
2626 paddingX = "0.375rem"
2727 paddingTop = "0.125rem"
2828 paddingBottom = "0.1875rem"
29+ height = "1.25rem"
2930 >
30- < BaseTypography
31- style = { {
32- fontWeight : 400 ,
33- fontSize : "0.6875rem" ,
34- } }
31+ < Caption2
3532 color = {
3633 theme . mode === "light"
3734 ? ColorPalette [ "blue-400" ]
3835 : ColorPalette [ "gray-200" ]
3936 }
4037 >
4138 { text }
42- </ BaseTypography >
39+ </ Caption2 >
4340 </ Box >
4441 </ Tooltip >
4542 ) ;
You can’t perform that action at this time.
0 commit comments