Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Search Dark Mode Friendly #5883

Merged
merged 24 commits into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
111d13b
Mark Senthil Athiban's profile as inactive
Ashparshp Sep 12, 2024
e02b684
[Docs] Generated documentation for Integration
MUzairS15 Sep 13, 2024
0e75ca7
Merge remote-tracking branch 'upstream/master'
THEBOSS0369 Sep 15, 2024
ae8e3af
Dark Mode Search Input
THEBOSS0369 Sep 15, 2024
b263459
Removed issues for default style
THEBOSS0369 Sep 20, 2024
965b204
Added styles in the required file's style page
THEBOSS0369 Sep 25, 2024
df81b5e
Merge branch 'master' into dark_theme_search
vishalvivekm Sep 26, 2024
defd735
Merge branch 'master' into dark_theme_search
sudhanshutech Oct 9, 2024
df8b948
Merge branch 'master' into dark_theme_search
THEBOSS0369 Oct 9, 2024
52b4343
Improved the search box
THEBOSS0369 Oct 17, 2024
1236837
Merge remote-tracking branch 'upstream/master'
THEBOSS0369 Oct 17, 2024
8d1853f
Merge branch 'master' into dark_theme_search
THEBOSS0369 Oct 17, 2024
98be016
yes Merge branch 'dark_theme_search' of https://github.com/THEBOSS036…
THEBOSS0369 Oct 17, 2024
b6824a0
Update themeStyles.js
THEBOSS0369 Oct 17, 2024
29c79d1
Update resourceGrid.style.js
THEBOSS0369 Oct 17, 2024
97d73ae
Update searchbox.style.js
THEBOSS0369 Oct 17, 2024
68e48e9
Update blogGrid.style.js
THEBOSS0369 Oct 17, 2024
4538208
Changed the search icon color
THEBOSS0369 Oct 19, 2024
d1b1156
Merge branch 'dark_theme_search' of https://github.com/THEBOSS0369/la…
THEBOSS0369 Oct 19, 2024
f16f2e9
Added Boundary on Integration SearchBar
THEBOSS0369 Oct 22, 2024
75b388c
Moved the integration's search bar code to its own file
THEBOSS0369 Oct 30, 2024
b2c6bcd
Merge branch 'master' into dark_theme_search
THEBOSS0369 Oct 30, 2024
ae1c669
Merge branch 'master' into dark_theme_search
vishalvivekm Oct 30, 2024
8d49b7a
Merge branch 'master' into dark_theme_search
vishalvivekm Nov 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/sections/Company/News-grid/NewsGrid.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,5 @@ export const NewsPageWrapper = styled.div`
}

}
.search-box {
margin: auto;
input {
background-color: ${props => props.theme.shadowDarkColor}!important;
color: ${props => props.theme.text};
transition: all 450ms ease 0s;
}
}

`;
11 changes: 11 additions & 0 deletions src/sections/Meshery/Meshery-integrations/Integration.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ export const HoneycombGrid = styled.div`
}
}

.search-box {
input {
border: 1px solid ${props => props.theme.headingColor} !important;

&:focus {
border-color: #fff !important;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}
}
}

.category {
display: flex;
flex-wrap: wrap;
Expand Down
19 changes: 19 additions & 0 deletions src/sections/app.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,25 @@ section{
position: relative;
}

// styling for the searchbox
.search-box {
input {
background-color: ${props => props.theme.shadowDarkColor}!important;
color: ${props => props.theme.text};
transition: all 450ms ease 0s;

&:focus {
border-color: #fff !important;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
}
}

// for the Search Icon
svg {
color: ${(props) => props.theme.searchIconColor};
}
}

/* Modal styling needs to be applied to the global CSS */

.Modal {
Expand Down
6 changes: 6 additions & 0 deletions src/theme/app/themeStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ const lighttheme = {

headingColor: "#111111",

// searchbox Icon Color
searchIconColor: "#333333",

// light slate gray (medium gray)
textColor: "#000000",
shadowColor: "rgba(0, 0, 0, 0.05)",
Expand Down Expand Up @@ -267,6 +270,9 @@ export const darktheme = {

headingColor: "#000000",

// searchbox icon color
searchIconColor: "#FFFFFF",

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