Skip to content

Commit c8a723e

Browse files
authored
Colors fix (#200)
* Contributor added * C
1 parent 0df9611 commit c8a723e

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

src/components/Contributors/contributors.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function Contribute() {
4242
"1a5ba5",
4343
"118d7c",
4444
"8d54e1",
45-
"40E4F0",
45+
"ff0000",
4646
"7e1aa5",
4747
];
4848
let element;

src/components/Error/ErrorType.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function ErrorType({ type }) {
1111
: type === "push"
1212
? "before:bg-[#8d54e1]"
1313
: type === "branch"
14-
? "before:bg-[#40E4F0]"
14+
? "before:bg-[#ff0000]"
1515
: type === "cmd"
1616
? "before:bg-[#e100ff]"
1717
: "before:bg-[#7e1aa5]"

src/components/Search/SearchInput.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function SearchInput({ search, setSearch, setType }) {
6464
: item === "cmd"
6565
? "bg-[#e100ff]"
6666
: item === "branch"
67-
? "bg-[#40E4F0]"
67+
? "bg-[#ff0000]"
6868
: "bg-[#7e1aa5]"
6969
} ${
7070
selectedTag === item ? "ring-4 ring-red-500" : ""
@@ -116,7 +116,7 @@ function SearchInput({ search, setSearch, setType }) {
116116
: item === "cmd"
117117
? "bg-[#40f058a8]"
118118
: item === "branch"
119-
? "bg-[#40E4F0]"
119+
? "bg-[#ff0000]"
120120
: "bg-[#7e1aa5]"
121121
} ${
122122
selectedTag === item ? "ring-4 ring-red-500" : ""

src/data/Contributors.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@
1818
"name": "Atharva",
1919
"github_username": "PiseAtharva",
2020
"twitter_username": "PiseAtharva"
21+
},{
22+
"name": "Adam Basha",
23+
"github_username": "Bashamega",
24+
"twitter_username": ""
2125
}
2226
]

src/hooks/useColorBorderBox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const useColorBorderBox = (error = "") => {
88
return setErrorTypeColor("#4024e0");
99
}
1010
if (error.type == "branch") {
11-
return setErrorTypeColor("#40e4f0");
11+
return setErrorTypeColor("#ff0000");
1212
}
1313
if (error.type == "push") {
1414
return setErrorTypeColor("#8d54e1");
@@ -36,7 +36,7 @@ const useColorBorderBox = (error = "") => {
3636
: item === "cmd"
3737
? "border-[#e100ff]"
3838
: item === "branch"
39-
? "border-[#40E4F0]"
39+
? "border-[#ff0000]"
4040
: "border-[#7e1aa5]"
4141
}`
4242

0 commit comments

Comments
 (0)