Skip to content

Commit

Permalink
fix: changed project input background and updated yarn.lock file #1028 (
Browse files Browse the repository at this point in the history
#1189)

* fix:added prefix to headers in contributor card component

* fix:added prefix to headers in contributor card component

* added project to the project list

* added project to the project list

* refactor the hero section of the home page

* added array of objects inside homepage-image file

* changed the background color of scroll buton to align with dark mode and light mode

* fix: add focus to project page input, ensure focus functionality , fix issue #1028

* fix: add focus to project page input, ensure focus functionality , fix issue #1028

* fix: add focus to project page input, ensure focus functionality , fix issue #1028

* fix: add color to input text to adjust to both light and dark mode, fix issue #1028

* fix: add color to input text to adjust to both light and dark mode, fix issue #1028

---------

Signed-off-by: Fawole Ajibola Lukman <[email protected]>
  • Loading branch information
jibola2588 authored Jun 13, 2023
1 parent 537c684 commit 653d75c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/CSS/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ body {
animation-iteration-count: infinite;
}

input.custom {
caret-color: purple;
}

@tailwind components;
@tailwind utilities;

Expand Down
6 changes: 4 additions & 2 deletions src/pages/ProjectsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import { ThemeContext } from '../context/Theme';
function ProjectsPage() {
const Projects = [];
const { theme } = useContext(ThemeContext);

projects.forEach((project) => {
const username = project.github_username;
project.Projects.forEach((proj) => {
Expand Down Expand Up @@ -98,8 +99,9 @@ function ProjectsPage() {
type="text"
id="combo-box-demo"
placeholder="Thea Theme"
className="hover:bg-slate-200 border-solid border-2 outline-none border-primary rounded-md p-2 md:w-1/2"
style={{ color: 'black' }}
className={`custom border-solid border-2 outline-none border-primary rounded-md p-2 md:w-1/2 bg-transparent ${
theme.mode === 'light' ? 'text-black' : 'text-white'
}`}
onChange={handleChange}
value={searchValue}
/>
Expand Down

1 comment on commit 653d75c

@vercel
Copy link

@vercel vercel bot commented on 653d75c Jun 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

projectshut – ./

projectshut-priyankarpal.vercel.app
projectshut-git-main-priyankarpal.vercel.app
projectshut.vercel.app

Please sign in to comment.