@@ -48,7 +48,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
48
48
return (
49
49
< div className = "mt-3 ml-2 flex-1" >
50
50
< div className = "flex justify-between" >
51
- < h1 className = "text-2xl pb-3 " > Leaderboard</ h1 >
51
+ < h1 className = "text-2xl pb-3 dark:text-white " > Leaderboard</ h1 >
52
52
< div >
53
53
< Listbox value = { selected } onChange = { setSelected } >
54
54
{ ( { open } ) => (
@@ -149,30 +149,30 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
149
149
< div className = "py-2 align-middle inline-block min-w-full sm:px-6 lg:px-8" >
150
150
< div className = "shadow overflow-hidden border-b border-gray-200 sm:rounded-lg" >
151
151
< table className = " divide-y divide-gray-200" >
152
- < thead className = "bg-gray-50" >
152
+ < thead className = "bg-gray-50 dark:bg-gray-800 " >
153
153
< tr >
154
154
< th
155
155
scope = "col"
156
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
156
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
157
157
>
158
158
Rank
159
159
</ th >
160
160
< th
161
161
scope = "col"
162
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
162
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
163
163
>
164
164
Name
165
165
</ th >
166
166
< th
167
167
scope = "col"
168
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
168
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
169
169
>
170
170
Date / Language
171
171
</ th >
172
172
173
173
< th
174
174
scope = "col"
175
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
175
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
176
176
onClick = { ( ) => setSortedField ( 'qualityScore' ) }
177
177
>
178
178
< div className = "flex" >
@@ -186,7 +186,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
186
186
</ th >
187
187
< th
188
188
scope = "col"
189
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
189
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
190
190
onClick = { ( ) => setSortedField ( 'lintScore' ) }
191
191
>
192
192
< div className = "flex" >
@@ -200,7 +200,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
200
200
</ th >
201
201
< th
202
202
scope = "col"
203
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
203
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
204
204
onClick = { ( ) => setSortedField ( 'lintScore' ) }
205
205
>
206
206
< div className = "flex" >
@@ -214,7 +214,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
214
214
</ th >
215
215
< th
216
216
scope = "col"
217
- className = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
217
+ className = "dark:text-white px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
218
218
onClick = { ( ) => setSortedField ( 'lintScore' ) }
219
219
>
220
220
< div className = "flex" >
@@ -228,7 +228,7 @@ const Leaderboard: React.FC<LeaderboardProps> = ({ benchmarkId }) => {
228
228
</ th >
229
229
</ tr >
230
230
</ thead >
231
- < tbody className = "bg-white divide-y divide-gray-200 " >
231
+ < tbody className = "bg-white dark:bg-gray-300 divide-y divide-gray-200 " >
232
232
{ leaderboard
233
233
? leaderboard
234
234
. filter (
0 commit comments