Skip to content

Commit

Permalink
C
Browse files Browse the repository at this point in the history
  • Loading branch information
Bashamega committed Jul 28, 2024
1 parent 7fa707f commit 8a764f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Contributors/contributors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Contribute() {
"1a5ba5",
"118d7c",
"8d54e1",
"40E4F0",
"ff0000",
"7e1aa5",
];
let element;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Error/ErrorType.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function ErrorType({ type }) {
: type === "push"
? "before:bg-[#8d54e1]"
: type === "branch"
? "before:bg-[#40E4F0]"
? "before:bg-[#ff0000]"
: type === "cmd"
? "before:bg-[#e100ff]"
: "before:bg-[#7e1aa5]"
Expand Down
4 changes: 2 additions & 2 deletions src/components/Search/SearchInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function SearchInput({ search, setSearch, setType }) {
: item === "cmd"
? "bg-[#e100ff]"
: item === "branch"
? "bg-[#40E4F0]"
? "bg-[#ff0000]"
: "bg-[#7e1aa5]"
} ${
selectedTag === item ? "ring-4 ring-red-500" : ""
Expand Down Expand Up @@ -116,7 +116,7 @@ function SearchInput({ search, setSearch, setType }) {
: item === "cmd"
? "bg-[#40f058a8]"
: item === "branch"
? "bg-[#40E4F0]"
? "bg-[#ff0000]"
: "bg-[#7e1aa5]"
} ${
selectedTag === item ? "ring-4 ring-red-500" : ""
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useColorBorderBox.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const useColorBorderBox = (error = "") => {
return setErrorTypeColor("#4024e0");
}
if (error.type == "branch") {
return setErrorTypeColor("#40e4f0");
return setErrorTypeColor("#ff0000");
}
if (error.type == "push") {
return setErrorTypeColor("#8d54e1");
Expand Down Expand Up @@ -36,7 +36,7 @@ const useColorBorderBox = (error = "") => {
: item === "cmd"
? "border-[#e100ff]"
: item === "branch"
? "border-[#40E4F0]"
? "border-[#ff0000]"
: "border-[#7e1aa5]"
}`

Expand Down

0 comments on commit 8a764f8

Please sign in to comment.