Skip to content

Commit 54b2e7d

Browse files
committed
update so light mode font is visible
1 parent 796592f commit 54b2e7d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/Pages/URLShortener/URLShortener.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export default function URLShortenerPage(props) {
199199
<p className='md:hidden'>
200200
{startingElementNumber} - {endingElementNumber} / {total}
201201
</p>
202-
<p className="hidden md:inline-block">
202+
<p className="hidden md:inline-block text-base leading-7 text-gray-300">
203203
Showing <span className='font-medium'>{startingElementNumber}</span> to <span className='font-medium'>{endingElementNumber}</span> of <span className='font-medium'>{total + 1}</span> results
204204
</p>
205205
</>)}
@@ -230,7 +230,7 @@ export default function URLShortenerPage(props) {
230230
if (!showUrlInput) {
231231
return (
232232
<button
233-
className="btn btn-outline"
233+
className="btn btn-outline text-base leading-7 text-gray-300"
234234
onClick={() => setShowUrlInput(true)}
235235
>
236236
+ Create a new link
@@ -259,15 +259,14 @@ export default function URLShortenerPage(props) {
259259
value={url}
260260
onChange={e => setUrl(e.target.value)}
261261
className="w-full text-sm input input-bordered sm:text-base"
262-
// className={INPUT_CLASS}
263262
/>
264263
</div>
265264
</div>
266265

267266
<div className="col-span-3">
268267
<div className="form-control">
269-
<label className="label cursor-pointer">
270-
<span className="label-text">Use Generated Alias</span>
268+
<label className={`label cursor-pointer ${LABEL_CLASS}`}>
269+
<span className={LABEL_CLASS}>Use Generated Alias</span>
271270
<input type="checkbox" className="toggle" checked={useGeneratedAlias} onChange={(e) => setUseGeneratedAlias(e.target.checked)} />
272271
</label>
273272
</div>
@@ -313,8 +312,8 @@ export default function URLShortenerPage(props) {
313312

314313
function maybeRenderSearch() {
315314
return (
316-
<><div className="label">
317-
<span className="label-text text-md">Type a search, followed by the enter key</span>
315+
<><div className={'label ${LABEL_CLASS}'}>
316+
<span className={LABEL_CLASS}>Type a search, followed by the enter key</span>
318317
</div><input
319318
className="w-full text-sm input input-bordered sm:text-base"
320319
type="text"
@@ -420,7 +419,7 @@ export default function URLShortenerPage(props) {
420419
{maybeRenderSearch()}
421420
</div>
422421
<div className='overflow-x-auto transition'>
423-
<table className='table px-3'>
422+
<table className='table px-3 block text-sm leading-6 text-gray-300'>
424423
<thead>
425424
<tr>
426425
{[

0 commit comments

Comments
 (0)