Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const icons: Record<WalletType, FC<React.SVGProps<SVGSVGElement>>> = {
hot: HotWallet,
cold: ColdWallet,
shared: SharedWallet,
midnight: HotWallet,
bitcoin: HotWallet,
};

export const WalletIcon = ({ type, testId }: Readonly<Props>): JSX.Element => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ export const container = recipe({
fontSize: '24px',
},
]),
midnight: sx({
background: '$data_bright_blue',
}),
bitcoin: sx({
background: '$data_orange',
}),
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,20 @@ export const Overview = (): JSX.Element => (
type="shared"
/>
</Variants.Cell>
<Variants.Cell>
<WalletOption
title="Bitcoin Wallet"
subtitle="Account #0"
type="bitcoin"
/>
</Variants.Cell>
<Variants.Cell>
<WalletOption
title="Midnight Wallet"
subtitle="Account #0"
type="midnight"
/>
</Variants.Cell>
</Variants.Row>
</Variants.Table>
</Flex>
Expand Down Expand Up @@ -122,6 +136,22 @@ export const Overview = (): JSX.Element => (
onOpenEditWallet={action('onOpenEditWallet')}
/>
</Variants.Cell>
<Variants.Cell>
<WalletOption
title="Bitcoin Wallet"
subtitle="Lace Team"
type="bitcoin"
onOpenEditWallet={action('onOpenEditWallet')}
/>
</Variants.Cell>
<Variants.Cell>
<WalletOption
title="Midnight Wallet"
subtitle="Lace Team"
type="midnight"
onOpenEditWallet={action('onOpenEditWallet')}
/>
</Variants.Cell>
</Variants.Row>
</Variants.Table>
</Flex>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type WalletType = 'cold' | 'hot' | 'shared';
export type WalletType = 'cold' | 'hot' | 'shared' | 'midnight' | 'bitcoin';
3 changes: 3 additions & 0 deletions src/design-tokens/colors.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export const colors = {
$data_yellow: '',
$data_orange: '',
$white: '',
$data_bright_blue: '',

$educational_card_root_container_bgColor: '',
$educational_card_root_container_borderColor: '',
Expand Down Expand Up @@ -329,6 +330,7 @@ export const lightColorScheme = {
$secondary_cream: '#FCF5E3',
$secondary_data_green: '#2CB67D',
$secondary_data_blue: '#3489F7',
$secondary_data_bright_blue: '#0000FE',
} as const;

export const darkColorScheme = {
Expand All @@ -355,4 +357,5 @@ export const darkColorScheme = {
$secondary_lace_yellow: '#FDC300',
$secondary_data_green: '#2CB67D',
$secondary_data_blue: '#3489F7',
$secondary_data_bright_blue: '#0000FE',
} as const;
3 changes: 2 additions & 1 deletion src/design-tokens/theme/dark-theme.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const colors: Colors = {

$assets_table_container_bgColor_hover: darkColorScheme.$primary_mid_grey,

$assets_table_badge_bgColor: '#0000FE',
$assets_table_badge_bgColor: lightColorScheme.$secondary_data_bright_blue,
$assets_table_badge_textColor: lightColorScheme.$primary_white,

$dialog_container_bgColor: darkColorScheme.$primary_light_black,
Expand Down Expand Up @@ -296,6 +296,7 @@ const colors: Colors = {
$data_yellow: darkColorScheme.$secondary_lace_yellow,
$data_orange: darkColorScheme.$secondary_data_orange,
$white: darkColorScheme.$primary_white,
$data_bright_blue: darkColorScheme.$secondary_data_bright_blue,

$educational_card_root_container_bgColor: darkColorScheme.$primary_mid_black,
$educational_card_root_container_borderColor: colorTransparent,
Expand Down
3 changes: 2 additions & 1 deletion src/design-tokens/theme/light-theme.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const colors: Colors = {

$assets_table_container_bgColor_hover: lightColorScheme.$primary_light_grey,

$assets_table_badge_bgColor: '#0000FE',
$assets_table_badge_bgColor: lightColorScheme.$secondary_data_bright_blue,
$assets_table_badge_textColor: lightColorScheme.$primary_white,

$dialog_container_bgColor: lightColorScheme.$primary_white,
Expand Down Expand Up @@ -316,6 +316,7 @@ const colors: Colors = {
$data_yellow: lightColorScheme.$secondary_lace_yellow,
$data_orange: lightColorScheme.$secondary_data_orange,
$white: lightColorScheme.$primary_white,
$data_bright_blue: lightColorScheme.$secondary_data_bright_blue,

$educational_card_root_container_bgColor: lightColorScheme.$primary_white,
$educational_card_root_container_borderColor:
Expand Down