Skip to content

Commit c50cc9a

Browse files
committed
fix: use SistentThemeProvider with proper theme tokens for dark mode support
- Use Box component from @sistent/sistent with theme tokens - Replace hard-coded colors with background.default and divider tokens - Implement Collapse component properly for filter transitions - Remove unused Row and Col imports - Fix dark mode visibility issues with proper theme-aware styling Signed-off-by: Sekar C Mca <sekarmca2024@gmail.com>
1 parent 35a9480 commit c50cc9a

2 files changed

Lines changed: 138 additions & 189 deletions

File tree

src/sections/General/Faq/faqSection.style.js

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,10 @@ const FaqSectionWrapper = styled.section`
3030
}
3131
}
3232
33-
.filter-container {
34-
background-color: ${props => props.theme.secondaryLightColor};
35-
padding: 1.5rem;
36-
border-radius: 8px;
37-
margin-bottom: 2rem;
38-
border: 1px solid ${props => props.theme.shadowLightColor};
39-
}
40-
4133
.filter-title {
4234
color: ${props => props.theme.primaryColor};
4335
font-weight: 500;
4436
margin-bottom: 1rem;
45-
border-bottom: 1px solid ${props => props.theme.shadowLightColor};
4637
padding-bottom: 0.5rem;
4738
text-align: center;
4839
}
@@ -55,13 +46,13 @@ const FaqSectionWrapper = styled.section`
5546
margin-bottom: 1rem;
5647
color: ${props => props.theme.primaryColor};
5748
}
58-
59-
p {
60-
margin: 0.5rem 0;
61-
font-size: 0.9rem;
62-
font-style: italic;
63-
color: ${props => props.theme.textColor};
64-
}
49+
}
50+
51+
.filter-message {
52+
margin: 0.5rem 0;
53+
font-size: 0.9rem;
54+
font-style: italic;
55+
opacity: 0.8;
6556
}
6657
.filter-options {
6758
display: flex;
@@ -86,6 +77,11 @@ const FaqSectionWrapper = styled.section`
8677
font-size: 0.9rem;
8778
}
8879
}
80+
81+
.filter-message {
82+
padding: 0.5rem;
83+
border-radius: 4px;
84+
}
8985
9086
.active-filters {
9187
margin-bottom: 1.5rem;

0 commit comments

Comments
 (0)