handleButtonClick(currFilter)}>
- {icon}
- {label}
+ {icon}
+
+ {label}
+
-
{filterOptions.map(option => (
@@ -57,14 +65,17 @@ export default function StatusDropdown({
checked={selectedStatus.includes(option.title)}
onChange={() => handleStatusChange(option.title)}
/>
- {option.title}
+
+
+ {' '}
+ {option.title}
+
+
))}
-
- {/* Apply Button with conditional styling */}
- APPLY
+ APPLY
);
diff --git a/components/StatusDropdown/styles.ts b/components/StatusDropdown/styles.ts
index e22ba50..fdef065 100644
--- a/components/StatusDropdown/styles.ts
+++ b/components/StatusDropdown/styles.ts
@@ -1,38 +1,23 @@
import styled from 'styled-components';
-import { CoinbaseMono, CoinbaseSans, CoinbaseText } from '@/styles/fonts';
+import COLORS from '../../styles/colors';
export const FilterDropdownStyles = styled.div`
position: relative;
- background: #fff;
+ background: ${COLORS.white};
width: 11rem;
border-radius: 0.5rem;
padding-bottom: 0.5rem;
`;
-export const CategoryTitleStyles = styled.p`
- font-family: ${CoinbaseMono};
- font-size: 0.625rem;
- color: rgba(46, 58, 89, 0.85);
- font-style: normal;
- font-weight: 400;
- margin-top: 1rem;
- margin-left: 0.5rem;
- margin-bottom: 0.15rem;
-`;
-
-export const OptionTitleStyles = styled.p`
- font-family: ${CoinbaseText};
- font-size: 0.75rem;
- color: rgba(46, 58, 89, 0.85);
- font-style: normal;
- font-weight: 300;
- line-height: normal;
+export const OptionTitleStyles = styled.p<{ color: string }>`
+ background: ${({ color }) => `${color}15`};
+ border-radius: 0.5rem;
+ padding: 0.1rem 0.4rem;
+ display: inline-block;
`;
export const CheckboxStyles = styled.input`
cursor: pointer;
- // margin-left: auto;
- // margin-right: 1rem;
`;
export const ApplyButtonStyles = styled.button<{ isActive: boolean }>`
@@ -42,39 +27,28 @@ export const ApplyButtonStyles = styled.button<{ isActive: boolean }>`
border-radius: 0.25rem;
background: ${({ isActive }) =>
isActive
- ? '#4974e0'
+ ? COLORS.electricBlue
: 'rgba(73, 116, 224, 0.50)'}; // Active vs Inactive color
margin-top: 1rem;
+ margin-top: 1rem;
display: flex;
justify-content: center;
align-items: center;
cursor: ${({ isActive }) => (isActive ? 'pointer' : 'not-allowed')};
- color: #fff;
- font-family: ${CoinbaseText};
- font-size: 0.75rem;
- font-style: normal;
- font-weight: 400;
- line-height: normal;
border: none;
margin-bottom: 0.5rem;
width: 88%;
margin: 1rem auto 0.5rem auto;
- pointer-events: ${({ isActive }) =>
- isActive ? 'auto' : 'none'}; // Disable clicking when inactive
+ pointer-events: ${({ isActive }) => (isActive ? 'auto' : 'none')};
`;
export const ButtonStyles = styled.button`
- font-family: ${CoinbaseSans};
color: rgba(46, 58, 89, 0.85);
- font-size: 0.875rem;
- background: #fff;
+ background: ${COLORS.white};
border: none;
border-radius: 6.25rem;
display: flex;
align-items: center;
- font-style: normal;
- font-weight: 400;
- line-height: normal;
cursor: pointer;
`;
diff --git a/styles/colors.ts b/styles/colors.ts
index 383cb70..7ae5182 100644
--- a/styles/colors.ts
+++ b/styles/colors.ts
@@ -5,6 +5,7 @@ const COLORS = {
lightGreen: '#E8FFEF',
green: '#0E7B30',
earthyGreen: '#4D8B31',
+ chateauGreen: '#3D9458',
navy: '#2E3A59',
electricBlue: '#4974E0',
lightBlue: '#92ACED',
@@ -14,6 +15,7 @@ const COLORS = {
cyanBlue: '#68C6E2',
veryLightGrey: '#F4F4F4',
lightGrey: '#D9D9D9',
+ ashGrey: '#818181',
grey: '#525454',
black: '#000000',
white: '#FFFFFF',
diff --git a/styles/texts.ts b/styles/texts.ts
index 57fae34..e3076fd 100644
--- a/styles/texts.ts
+++ b/styles/texts.ts
@@ -184,6 +184,33 @@ export const SearchBarTextInUse = styled.p