Skip to content

Commit

Permalink
Added styles in the required file's style page
Browse files Browse the repository at this point in the history
Signed-off-by: THEBOSS0369 <[email protected]>
  • Loading branch information
THEBOSS0369 committed Sep 25, 2024
1 parent b263459 commit 965b204
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/reusecore/Search/searchbox.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ export const SearchWrapper = styled.div`
border: 1px solid ${(props) => props.theme.headingColor};
background-color: ${(props) => props.theme.shadowLightColor};
/*Changes color for the text*/
color: ${(props) => props.theme.whiteToBlack};
&:focus {
/* border-color: ${(props) => props.theme.primaryColor}; */
border-color: #fff;
Expand Down
10 changes: 10 additions & 0 deletions src/sections/Blog/Blog-grid/blogGrid.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ export const BlogPageWrapper = styled.div`
height: 100%;
}
}
// styling for the blog searchbox
.search-box {
input {
background-color: ${props => props.theme.shadowDarkColor}!important;
color: ${props => props.theme.text};
transition: all 450ms ease 0s;
}
}
@media only screen and (max-width: 576px) {
.blog-grid-wrapper {
margin: 0 auto 1rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ export const HoneycombGrid = styled.div`
}
}
// styling for the blog searchbox
.search-box {
input {
background-color: ${props => props.theme.shadowDarkColor}!important;
color: ${props => props.theme.text};
transition: all 450ms ease 0s;
}
}
.category {
display: flex;
flex-wrap: wrap;
Expand Down
10 changes: 10 additions & 0 deletions src/sections/Resources/Resources-grid/resourceGrid.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export const ResourcePageWrapper = styled.div`
}
}
// styling for the blog searchbox
.search-box {
input {
background-color: ${props => props.theme.shadowDarkColor}!important;
color: ${props => props.theme.text};
transition: all 450ms ease 0s;
}
}
.post-content-block{
height: 7rem;
}
Expand Down
6 changes: 3 additions & 3 deletions src/theme/app/themeStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export const darktheme = {
scrollbarColor: "#00d3a9",

// white
primaryColor: "#00d3a9",
primaryColor: "#FFFFFF",

// silver chalice (light gray)
primaryLightColor: "#2C2C2C",
Expand Down Expand Up @@ -268,11 +268,11 @@ export const darktheme = {
headingColor: "#000000",

// light slate gray (medium gray)
textColor: "#ffffff",
textColor: "#000000",
shadowColor: "rgba(255, 255, 255, 0.05)",

// platinum (light gray)
shadowLightColor: "#333333",
shadowLightColor: "#E6E6E6",

// dark gray
shadowDarkColor: "#484848",
Expand Down

0 comments on commit 965b204

Please sign in to comment.