From 5e813fcf3a2d65a968030c28369d4f13b40cc08e Mon Sep 17 00:00:00 2001 From: chris Date: Wed, 13 Nov 2024 11:32:53 +1000 Subject: [PATCH] fix: Fix token list class name --- .../core/components/ThemeProvider/index.tsx | 6 ++++++ packages/canonical-bridge-widget/docs/Custom Themes.md | 3 +++ .../src/core/components/StateModal/index.tsx | 1 + .../aggregator/components/SelectModal/ChooseTokenModal.tsx | 2 +- .../components/SelectModal/components/ListItem.tsx | 7 ++++--- .../src/modules/transfer/components/FromSection/index.tsx | 2 +- .../src/modules/transfer/components/ToSection/index.tsx | 2 +- .../src/modules/wallet/components/ConnectButton/index.tsx | 3 ++- 8 files changed, 19 insertions(+), 7 deletions(-) diff --git a/apps/canonical-bridge-ui/core/components/ThemeProvider/index.tsx b/apps/canonical-bridge-ui/core/components/ThemeProvider/index.tsx index 36882505..1b622616 100644 --- a/apps/canonical-bridge-ui/core/components/ThemeProvider/index.tsx +++ b/apps/canonical-bridge-ui/core/components/ThemeProvider/index.tsx @@ -133,6 +133,12 @@ export const ThemeProvider = ({ children }: ThemeProviderProps) => { color: 'red', borderColor: '#83a6ac', }, + '.bccb-widget-from-network-modal-search, .bccb-widget-token-modal-header-search': { + '& svg': { + width: '30px', + height: '30px', + }, + }, '.bccb-widget-token-address-link .token-name': { color: 'black', bg: 'white', diff --git a/packages/canonical-bridge-widget/docs/Custom Themes.md b/packages/canonical-bridge-widget/docs/Custom Themes.md index 4199a76a..e0e65840 100644 --- a/packages/canonical-bridge-widget/docs/Custom Themes.md +++ b/packages/canonical-bridge-widget/docs/Custom Themes.md @@ -71,8 +71,10 @@ export const ThemeProvider = ({ children }: ThemeProviderProps) => { - bccb-widget-network-title - bccb-widget-network-row - bccb-widget-network-from +- bccb-widget-network-from-title - bccb-widget-network-button - bccb-widget-network-to +- bccb-widget-network-to-title - bccb-widget-network-name 3. Bridge Route Section @@ -199,6 +201,7 @@ export const ThemeProvider = ({ children }: ThemeProviderProps) => { - bccb-widget-modal-close-button - bccb-widget-modal-main-button +- bccb-widget-modal-secondary-button - bccb-widget-modal-second-button - bccb-widget-modal-body - bccb-widget-modal-body-icon diff --git a/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx b/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx index e083b1bb..7fe16fd3 100644 --- a/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx +++ b/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx @@ -152,6 +152,7 @@ export function StateModal(props: StateModalProps) { closeButton ) : (