Skip to content

Commit 7e0ea3d

Browse files
Merge pull request #111 from malik-vishu/add-vishwas-contrast
#98 - Edit color contrast ratio to address accessibility concerns
2 parents 7e6178b + f5d21a1 commit 7e0ea3d

File tree

9 files changed

+56
-119
lines changed

9 files changed

+56
-119
lines changed

.all-contributorsrc

Lines changed: 34 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"files": [
3-
"README.md"
4-
],
2+
"files": ["README.md"],
53
"imageSize": 100,
64
"commit": false,
75
"contributors": [
@@ -10,254 +8,189 @@
108
"name": "Max Programming",
119
"avatar_url": "https://avatars.githubusercontent.com/u/51731966?v=4",
1210
"profile": "https://usman-s.me",
13-
"contributions": [
14-
"code"
15-
]
11+
"contributions": ["code"]
1612
},
1713
{
1814
"login": "janaSunrise",
1915
"name": "Sunrit Jana",
2016
"avatar_url": "https://avatars.githubusercontent.com/u/56873669?v=4",
2117
"profile": "https://sunritjana.now.sh",
22-
"contributions": [
23-
"code"
24-
]
18+
"contributions": ["code"]
2519
},
2620
{
2721
"login": "geeknees",
2822
"name": "Masumi Kawasaki",
2923
"avatar_url": "https://avatars.githubusercontent.com/u/701242?v=4",
3024
"profile": "https://medium.com/@geeknees",
31-
"contributions": [
32-
"code",
33-
"content"
34-
]
25+
"contributions": ["code", "content"]
3526
},
3627
{
3728
"login": "rishit-khandelwal",
3829
"name": "Rishit Khandelwal",
3930
"avatar_url": "https://avatars.githubusercontent.com/u/65018379?v=4",
4031
"profile": "http://rishit-khandelwal.github.io",
41-
"contributions": [
42-
"code",
43-
"content"
44-
]
32+
"contributions": ["code", "content"]
4533
},
4634
{
4735
"login": "AnishDe12020",
4836
"name": "Anish De",
4937
"avatar_url": "https://avatars.githubusercontent.com/u/63192115?v=4",
5038
"profile": "https://github.com/AnishDe12020",
51-
"contributions": [
52-
"design",
53-
"code"
54-
]
39+
"contributions": ["design", "code"]
5540
},
5641
{
5742
"login": "mihaiandrei97",
5843
"name": "Mihai-Adrian Andrei",
5944
"avatar_url": "https://avatars.githubusercontent.com/u/61692246?v=4",
6045
"profile": "https://github.com/mihaiandrei97",
61-
"contributions": [
62-
"code",
63-
"content"
64-
]
46+
"contributions": ["code", "content"]
6547
},
6648
{
6749
"login": "gouravkhunger",
6850
"name": "Gourav Khunger",
6951
"avatar_url": "https://avatars.githubusercontent.com/u/46792249?v=4",
7052
"profile": "https://gourav-khunger.web.app",
71-
"contributions": [
72-
"code",
73-
"content"
74-
]
53+
"contributions": ["code", "content"]
7554
},
7655
{
7756
"login": "apoorvcodes",
7857
"name": "Apoorv",
7958
"avatar_url": "https://avatars.githubusercontent.com/u/75479355?v=4",
8059
"profile": "https://www.apoorvcodes.me",
81-
"contributions": [
82-
"code",
83-
"content"
84-
]
60+
"contributions": ["code", "content"]
8561
},
8662
{
8763
"login": "Vaibhav2002",
8864
"name": "Vaibhav Jaiswal",
8965
"avatar_url": "https://avatars.githubusercontent.com/u/64367926?v=4",
9066
"profile": "http://vaibhavjaiswal.vercel.app",
91-
"contributions": [
92-
"code",
93-
"content"
94-
]
67+
"contributions": ["code", "content"]
9568
},
9669
{
9770
"login": "projectashik",
9871
"name": "Ashik Chapagain",
9972
"avatar_url": "https://avatars.githubusercontent.com/u/47524279?v=4",
10073
"profile": "https://cb-ashik.me",
101-
"contributions": [
102-
"code",
103-
"content"
104-
]
74+
"contributions": ["code", "content"]
10575
},
10676
{
10777
"login": "avneesh0612",
10878
"name": "Avneesh Agarwal",
10979
"avatar_url": "https://avatars.githubusercontent.com/u/76690419?v=4",
11080
"profile": "https://www.avneesh.tech/",
111-
"contributions": [
112-
"design",
113-
"code"
114-
]
81+
"contributions": ["design", "code"]
11582
},
11683
{
11784
"login": "Mikkel-T",
11885
"name": "Mikkel Tønder",
11986
"avatar_url": "https://avatars.githubusercontent.com/u/71938724?v=4",
12087
"profile": "http://mikkel-t.com",
121-
"contributions": [
122-
"code",
123-
"design"
124-
]
88+
"contributions": ["code", "design"]
12589
},
12690
{
12791
"login": "emmalearnscode",
12892
"name": "Emma Dawson",
12993
"avatar_url": "https://avatars.githubusercontent.com/u/57045550?v=4",
13094
"profile": "https://emmadawson.dev",
131-
"contributions": [
132-
"design",
133-
"code"
134-
]
95+
"contributions": ["design", "code"]
13596
},
13697
{
13798
"login": "Kushagra-Jain99",
13899
"name": "Kushagra Jain",
139100
"avatar_url": "https://avatars.githubusercontent.com/u/76843766?v=4",
140101
"profile": "https://king-coder.hashnode.dev/",
141-
"contributions": [
142-
"content",
143-
"code"
144-
]
102+
"contributions": ["content", "code"]
145103
},
146104
{
147105
"login": "shubhraagarwal",
148106
"name": "Shubhra Agarwal",
149107
"avatar_url": "https://avatars.githubusercontent.com/u/67220475?v=4",
150108
"profile": "http://shubhraagarwal.netlify.app",
151-
"contributions": [
152-
"design"
153-
]
109+
"contributions": ["design"]
154110
},
155111
{
156112
"login": "HussainGagan",
157113
"name": "Hussain Gagan",
158114
"avatar_url": "https://avatars.githubusercontent.com/u/69407430?v=4",
159115
"profile": "https://github.com/HussainGagan",
160-
"contributions": [
161-
"content",
162-
"code"
163-
]
116+
"contributions": ["content", "code"]
164117
},
165118
{
166119
"login": "hussamkhatib",
167120
"name": "mohammed hussam",
168121
"avatar_url": "https://avatars.githubusercontent.com/u/52914487?v=4",
169122
"profile": "https://github.com/hussamkhatib",
170-
"contributions": [
171-
"code"
172-
]
123+
"contributions": ["code"]
173124
},
174125
{
175126
"login": "Tejash429",
176127
"name": "Tejash Patel",
177128
"avatar_url": "https://avatars.githubusercontent.com/u/110290355?v=4",
178129
"profile": "https://github.com/Tejash429",
179-
"contributions": [
180-
"code"
181-
]
130+
"contributions": ["code"]
182131
},
183132
{
184133
"login": "hassancodess",
185134
"name": "Hassan Hanif",
186135
"avatar_url": "https://avatars.githubusercontent.com/u/102203080?v=4",
187136
"profile": "https://hassancodess.netlify.app/",
188-
"contributions": [
189-
"code",
190-
"doc",
191-
"a11y"
192-
]
137+
"contributions": ["code", "doc", "a11y"]
193138
},
194139
{
195140
"login": "vinmaster",
196141
"name": "Vincent Ho",
197142
"avatar_url": "https://avatars.githubusercontent.com/u/926821?v=4",
198143
"profile": "https://github.com/vinmaster",
199-
"contributions": [
200-
"code"
201-
]
144+
"contributions": ["code"]
202145
},
203146
{
204147
"login": "Adnanarodiya",
205148
"name": "Adnan Arodiya",
206149
"avatar_url": "https://avatars.githubusercontent.com/u/99405994?v=4",
207150
"profile": "https://github.com/Adnanarodiya",
208-
"contributions": [
209-
"design"
210-
]
151+
"contributions": ["design"]
211152
},
212153
{
213154
"login": "davemenninger",
214155
"name": "Dave Menninger ⚡",
215156
"avatar_url": "https://avatars.githubusercontent.com/u/159995?v=4",
216157
"profile": "http://davemenninger.com/",
217-
"contributions": [
218-
"ideas"
219-
]
158+
"contributions": ["ideas"]
220159
},
221160
{
222161
"login": "Rahul-Kumar-prog",
223162
"name": "Rahul kumar",
224163
"avatar_url": "https://avatars.githubusercontent.com/u/68837569?v=4",
225164
"profile": "https://github.com/Rahul-Kumar-prog",
226-
"contributions": [
227-
"code",
228-
"design"
229-
]
165+
"contributions": ["code", "design"]
230166
},
231167
{
232168
"login": "ur5us",
233169
"name": "Juri Hahn",
234170
"avatar_url": "https://avatars.githubusercontent.com/u/453776?v=4",
235171
"profile": "https://github.com/ur5us",
236-
"contributions": [
237-
"content",
238-
"code",
239-
"ideas",
240-
"design"
241-
]
172+
"contributions": ["content", "code", "ideas", "design"]
242173
},
243174
{
244175
"login": "marcopollivier",
245176
"name": "Marco Ollivier",
246177
"avatar_url": "https://avatars.githubusercontent.com/u/697445?v=4",
247178
"profile": "http://marcopollivier.dev",
248-
"contributions": [
249-
"ideas"
250-
]
179+
"contributions": ["ideas"]
251180
},
252181
{
253182
"login": "Deveesh-Shetty",
254183
"name": "Deveesh Shetty",
255184
"avatar_url": "https://avatars.githubusercontent.com/u/89470104?v=4",
256185
"profile": "http://deveesh.vercel.app",
257-
"contributions": [
258-
"code",
259-
"design"
260-
]
186+
"contributions": ["code", "design"]
187+
},
188+
{
189+
"login": "malik-vishu",
190+
"name": "Vishwas Malik",
191+
"avatar_url": "https://avatars.githubusercontent.com/u/127117253?v=4",
192+
"profile": "https://github.com/malik-vishu",
193+
"contributions": ["design", "code"]
261194
}
262195
],
263196
"contributorsPerLine": 7,

components/Card.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function Card({ repo }: Props) {
3939
{repo.name}
4040
</a>
4141

42-
<p className="mb-2">{emojify(repo.description)}</p>
42+
<p className="mb-2 text-neutral-100">{emojify(repo.description)}</p>
4343

4444
<div className="card-actions">
4545
{repo.topics.map((topic: string) => (
@@ -63,19 +63,23 @@ function Card({ repo }: Props) {
6363
<div className="shadow stats bg-transparent ring-1 ring-2023-manga-2">
6464
<div className="stat">
6565
<div className="text-center stat-title items-center inline-flex">
66-
<GoStar /> <span className="ml-0.5">Stars</span>
66+
<GoStar color="rgb(163 163 163 / var(--tw-text-opacity))"/>{' '}
67+
<span className="ml-0.5 text-neutral-400">Stars</span>
6768
</div>
68-
<div className="text-center stat-value">
69+
<div className="text-center stat-value text-neutral-400">
6970
{repo.stargazers_count}
7071
</div>
7172
</div>
7273
</div>
7374
<div className="shadow stats bg-transparent ring-1 ring-2023-manga-2">
7475
<div className="stat">
7576
<div className="text-center stat-title items-center inline-flex">
76-
<GoRepoForked /> <span className="ml-0.5">Forks</span>
77+
<GoRepoForked color="rgb(163 163 163 / var(--tw-text-opacity))" />{' '}
78+
<span className="ml-0.5 text-neutral-400">Forks</span>
79+
</div>
80+
<div className="text-center stat-value text-neutral-400">
81+
{repo.forks}
7782
</div>
78-
<div className="text-center stat-value">{repo.forks}</div>
7983
</div>
8084
</div>
8185
</div>

components/ContributorCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export default function ContributorCard({ contributor }: Props) {
2929
</figure>
3030
</a>
3131
<div className="card-body items-center text-center">
32-
<h2 className="card-title">{contributor.name}</h2>
33-
<a href={contributor.profile} className="link hover:text-[#dbe8d9]">
32+
<h2 className="card-title text-neutral-100">{contributor.name}</h2>
33+
<a href={contributor.profile} className="link text-neutral-100 hover:text-[#dbe8d9]">
3434
{contributor.profile}
3535
</a>
3636
<div className="justify-center card-actions">

components/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ function Header() {
2626
href="/contributors"
2727
className="btn btn-square btn-ghost umami--click--contributors-button"
2828
>
29-
<BsPeopleFill size="1.5rem" title="Contributors" />
29+
<BsPeopleFill size="1.5rem" color='white' title="Contributors" />
3030
</Link>
3131
<a
3232
href="https://github.com/max-programming/hacktoberfest-projects"
3333
target="_blank"
3434
rel="noreferrer"
3535
className="btn btn-square btn-ghost umami--click--github-button"
3636
>
37-
<IoLogoGithub size="1.5rem" title="GitHub" />
37+
<IoLogoGithub size="1.5rem" color='white' title="GitHub" />
3838
</a>
3939
</div>
4040
</div>

components/Hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ function Hero() {
2222
<div className="hero-overlay w-0 bg-opacity-60"></div>
2323
<div className="text-center hero-content">
2424
<div className="max-w-md">
25-
<h1 className="mb-5 text-5xl font-bold uppercase">
25+
<h1 className="mb-5 text-2023-manga-3 text-5xl font-bold uppercase">
2626
Select your language
2727
</h1>
28-
<p className="mb-5 uppercase">
28+
<p className="mb-5 text-2023-manga-3 font-semibold uppercase">
2929
Select the programming language you would like to find repositories
3030
for.
3131
</p>
@@ -57,13 +57,13 @@ function Hero() {
5757
onSubmit={handleSubmit}
5858
>
5959
<label className="label">
60-
<span className="label-text">Can&apos;t find your language?</span>
60+
<span className="label-text text-2023-manga-3">Can&apos;t find your language?</span>
6161
</label>
6262
<div className="flex">
6363
<input
6464
type="text"
6565
placeholder="Search for your language"
66-
className="input input-bordered w-full border-2023-bavarian-gold-2 focus:outline-2023-bavarian-gold-2 max-w-xs rounded-tr-none rounded-br-none bg-transparent"
66+
className="input input-bordered w-full text-neutral-100 border-2023-bavarian-gold-2 focus:outline-2023-bavarian-gold-2 max-w-xs rounded-tr-none rounded-br-none bg-transparent"
6767
name="search"
6868
/>
6969
<button

0 commit comments

Comments
 (0)