From 7611fa54fed89b350f6270f335213dfa13e7c06e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=B3vis=20Neto?= Date: Mon, 21 Oct 2024 14:53:31 +0200 Subject: [PATCH] fix(tx-builder-upload): change upload file text color --- apps/tx-builder/src/components/CreateNewBatchCard.tsx | 8 ++++++-- apps/tx-builder/src/theme/darkPalette.ts | 3 +++ apps/tx-builder/src/theme/lightPalette.ts | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/tx-builder/src/components/CreateNewBatchCard.tsx b/apps/tx-builder/src/components/CreateNewBatchCard.tsx index 6673ce41..e1ae18f6 100644 --- a/apps/tx-builder/src/components/CreateNewBatchCard.tsx +++ b/apps/tx-builder/src/components/CreateNewBatchCard.tsx @@ -156,9 +156,13 @@ const StyledText = styled(Text)<{ error?: Boolean }>` const StyledButtonLink = styled(ButtonLink)` margin-left: 0.3rem; padding: 0; - text-decoration: none; && > p { - color: ${({ theme }) => theme.palette.secondary.dark}; + color: ${({ theme }) => theme.palette.upload.primary}; + text-decoration: underline; + + &:hover { + color: ${({ theme }) => theme.palette.backdrop.main}; + } } ` diff --git a/apps/tx-builder/src/theme/darkPalette.ts b/apps/tx-builder/src/theme/darkPalette.ts index 5e1b9b12..3ed7ebf0 100644 --- a/apps/tx-builder/src/theme/darkPalette.ts +++ b/apps/tx-builder/src/theme/darkPalette.ts @@ -57,6 +57,9 @@ const darkPalette = { main: '#FFFFFF', background: '#303033', }, + upload: { + primary: '#fff', + }, static: { main: '#121312', }, diff --git a/apps/tx-builder/src/theme/lightPalette.ts b/apps/tx-builder/src/theme/lightPalette.ts index c9983511..413a65df 100644 --- a/apps/tx-builder/src/theme/lightPalette.ts +++ b/apps/tx-builder/src/theme/lightPalette.ts @@ -57,6 +57,9 @@ const lightPalette = { main: '#121312', background: '#EEEFF0', }, + upload: { + primary: '#12FF80', + }, static: { main: '#121312', },