From d3e6fae295290a0c8d0a5f73195d17670ebce676 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 9 Feb 2024 12:06:22 +0800 Subject: [PATCH] Colours for tabs and CTA buttons --- packages/web/components/elements/Button.tsx | 13 +++++++------ .../components/templates/homeFeed/AddLinkModal.tsx | 2 +- .../templates/homeFeed/HomeFeedContainer.tsx | 1 + packages/web/components/tokens/stitches.config.ts | 4 ++++ 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/packages/web/components/elements/Button.tsx b/packages/web/components/elements/Button.tsx index 6fa11b71d..54e399801 100644 --- a/packages/web/components/elements/Button.tsx +++ b/packages/web/components/elements/Button.tsx @@ -27,6 +27,7 @@ export const Button = styled('button', { cursor: 'pointer', border: '1px solid $yellow3', bg: '$ctaBlue', + color: 'white', '&:hover': { opacity: '0.6', border: '0px solid $ctaBlue', @@ -238,7 +239,7 @@ export const Button = styled('button', { fontSize: '12px', fontWeight: '500', fontFamily: '$inter', - color: '$thBorderSubtle', + color: '$tabTextUnselected', cursor: 'pointer', borderRadius: '5px', '&:hover': { @@ -249,16 +250,16 @@ export const Button = styled('button', { px: '15px', py: '6px', border: 'none', - bg: '$thBorderSubtle', + bg: '#6A6968', fontSize: '12px', fontWeight: '500', fontFamily: '$inter', - color: '$textContrast', + color: 'white', cursor: 'pointer', borderRadius: '5px', - '&:hover': { - color: '$thTextContrast', - }, + // '&:hover': { + // color: '$thTextContrast', + // }, }, squareIcon: { mx: '$1', diff --git a/packages/web/components/templates/homeFeed/AddLinkModal.tsx b/packages/web/components/templates/homeFeed/AddLinkModal.tsx index 09919b82a..f3bb39bb7 100644 --- a/packages/web/components/templates/homeFeed/AddLinkModal.tsx +++ b/packages/web/components/templates/homeFeed/AddLinkModal.tsx @@ -219,7 +219,7 @@ const AddFromURL = (props: AddFromURLProps): JSX.Element => { mb: '13px', fontSize: '14px', color: '$thTextContrast', - bg: '$thLibrarySearchbox', + bg: '$thFormInput', }} />