From ada179eea6449e768df6f724dcab40c3e7742c39 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 19 Nov 2024 21:47:50 +1000 Subject: [PATCH 1/2] feat: Adjust style for PCS --- apps/canonical-bridge-ui/core/theme/dark.ts | 3 ++ apps/canonical-bridge-ui/core/theme/light.ts | 3 ++ .../src/core/components/StateModal/index.tsx | 2 +- .../SelectModal/ChooseTokenModal.tsx | 5 ++- .../SelectModal/components/BaseModal.tsx | 2 +- .../SelectModal/components/ListItem.tsx | 2 +- .../components/Button/TransferButton.tsx | 35 +++++++++++-------- .../components/NetWorkSection/index.tsx | 12 +++++-- .../transfer/components/ReceiveInfo/index.tsx | 7 +++- .../transfer/components/SendInput/index.tsx | 8 +++-- .../transfer/components/ToAccount/index.tsx | 3 +- .../RouteInfo/RouteWrapper.tsx | 4 ++- .../components/TransferOverview/index.tsx | 2 +- 13 files changed, 60 insertions(+), 28 deletions(-) diff --git a/apps/canonical-bridge-ui/core/theme/dark.ts b/apps/canonical-bridge-ui/core/theme/dark.ts index f9e67ac8..80482627 100644 --- a/apps/canonical-bridge-ui/core/theme/dark.ts +++ b/apps/canonical-bridge-ui/core/theme/dark.ts @@ -21,6 +21,9 @@ export const dark = { warning: '#FFEADB', danger: '#F8545F', route: { title: '#8C8F9B' }, + network: { + title: '#8C8F9B', + }, on: { color: { primary: '#181A1E', diff --git a/apps/canonical-bridge-ui/core/theme/light.ts b/apps/canonical-bridge-ui/core/theme/light.ts index 643a55bc..230fe43f 100644 --- a/apps/canonical-bridge-ui/core/theme/light.ts +++ b/apps/canonical-bridge-ui/core/theme/light.ts @@ -21,6 +21,9 @@ export const light = { warning: '#BC4E00', danger: '#EF2A37', route: { title: '#5C5F6A' }, + network: { + title: '#8C8F9B', + }, on: { color: { primary: '#FFFFFF', 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 7fe16fd3..c5f7bd7e 100644 --- a/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx +++ b/packages/canonical-bridge-widget/src/core/components/StateModal/index.tsx @@ -76,7 +76,7 @@ export function StateModal(props: StateModalProps) { return ( - + - + { return ( +