From ee0c4763ae66f3cb755935d76991ca3043afe829 Mon Sep 17 00:00:00 2001 From: kojiadrianojr Date: Mon, 23 Oct 2023 11:57:10 +0800 Subject: [PATCH] Add border to card img display --- src/views/MarketplaceV2/components/Card/styled.tsx | 2 +- src/views/MarketplaceV2/styles/constants.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/MarketplaceV2/components/Card/styled.tsx b/src/views/MarketplaceV2/components/Card/styled.tsx index bec54a4..6d0e13f 100644 --- a/src/views/MarketplaceV2/components/Card/styled.tsx +++ b/src/views/MarketplaceV2/components/Card/styled.tsx @@ -56,7 +56,7 @@ export const CardText = styled(TextWrapper)` export const Display = styled(backgroundProp)<{ bg?: string }>` ${commonSectionStyle({ justify: 'center', align: 'center' })} flex: 3; - border: 2px solid #5aa2cf; + border: 4px solid ${COLORS.BORDER}; position: relative; border-radius: 10px; & img { diff --git a/src/views/MarketplaceV2/styles/constants.tsx b/src/views/MarketplaceV2/styles/constants.tsx index 6282498..4246967 100644 --- a/src/views/MarketplaceV2/styles/constants.tsx +++ b/src/views/MarketplaceV2/styles/constants.tsx @@ -45,7 +45,7 @@ export const PADDING: { [key: string]: { [key: string]: number } } = { export const HEIGHT: { [key: string]: number } = { FOOTER: 15, MENU: 10 } // Colors -export const DEFAULT_BORDERS = '2px solid #3898b8' +export const DEFAULT_BORDERS = '1px solid #3898b8' export const COLORS: { [key: string]: string } = { BACKGROUND: '#110217', MAIN: '#291e5c',