diff --git a/src/ui/components/BRC20BalanceCard2/index.tsx b/src/ui/components/BRC20BalanceCard2/index.tsx index 56975e72..bf4c04a6 100644 --- a/src/ui/components/BRC20BalanceCard2/index.tsx +++ b/src/ui/components/BRC20BalanceCard2/index.tsx @@ -133,9 +133,9 @@ export default function BRC20BalanceCard2(props: BRC20BalanceCard2Props) { + bg={v === 'Transfer' ? 'brc20_transfer' : v === 'Deploy' ? 'brc20_deploy' : 'brc20_other'}> - + {v === 'Transfer' ? : null} diff --git a/src/ui/components/BRC20Preview/index.tsx b/src/ui/components/BRC20Preview/index.tsx index 233a4e0a..bb31fea1 100644 --- a/src/ui/components/BRC20Preview/index.tsx +++ b/src/ui/components/BRC20Preview/index.tsx @@ -32,9 +32,9 @@ export default function BRC20Preview({ } let balanceSize = 'xxl'; if (balance.length < 7) { - balanceSize = 'xxl'; + balanceSize = 'md'; } else if (balance.length < 14) { - balanceSize = 'xl'; + balanceSize = 'md'; } else if (balance.length < 21) { balanceSize = 'md'; } else { @@ -44,7 +44,7 @@ export default function BRC20Preview({ let width = 100; let height = 130; let bodyHeight = 90; - let numberSize: any = 'md'; + let numberSize: any = 'sm'; let tickerPreset: any = 'md'; if (preset === 'small') { width = 80; @@ -76,23 +76,30 @@ export default function BRC20Preview({ borderWidth: selected ? 1 : 0, borderColor: colors.primary }} + gap="zero" onClick={onClick}> - - + }}> + - + + - + diff --git a/src/ui/pages/BRC20/BRC20TokenScreen.tsx b/src/ui/pages/BRC20/BRC20TokenScreen.tsx index 63becafe..273cc538 100644 --- a/src/ui/pages/BRC20/BRC20TokenScreen.tsx +++ b/src/ui/pages/BRC20/BRC20TokenScreen.tsx @@ -160,9 +160,9 @@ export default function BRC20TokenScreen() { - - - + + + diff --git a/src/ui/theme/colors.ts b/src/ui/theme/colors.ts index 022d8d89..8eaceb56 100644 --- a/src/ui/theme/colors.ts +++ b/src/ui/theme/colors.ts @@ -19,7 +19,7 @@ const palette = { green_light: '#5ec04f', yellow_dark: '#d5ac00', - yellow: 'rgb(253,224,71)', + yellow: '#e3bb5f', yellow_light: '#fcd226', red_dark: '#c92b40', @@ -62,9 +62,10 @@ export const colors = Object.assign({}, palette, { icon_yellow: '#FFBA33', - brc20_deploy: '#9F5315', - brc20_transfer: '#2D7E24', - brc20_transfer_selected: '#41B530' + brc20_deploy: '#233933', + brc20_transfer: '#375e4d', + brc20_transfer_selected: '#41B530', + brc20_other: '#3e3e3e' }); export type ColorTypes = keyof typeof colors;