Skip to content

Commit

Permalink
Default text color in inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
andiedoescode committed Apr 7, 2024
1 parent bb7d2f0 commit d0e2cdb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/AddItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function AddItem({ data, listPath }) {
type="text"
value={newItem.itemName}
onChange={handleItemChange}
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 mx-4 max-w-full mt-2 col-span-1 shrink text-xl xs:text-2xl"
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 mx-4 max-w-full mt-2 col-span-1 shrink text-xl xs:text-2xl text-off-black"
></input>
<button
type="submit"
Expand All @@ -82,7 +82,7 @@ export function AddItem({ data, listPath }) {
value={newItem.daysUntilNextPurchase}
onChange={handleItemChange}
required
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 mx-4 max-w-full grow mt-2 text-xl xs:text-2xl"
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 mx-4 max-w-full grow mt-2 text-xl xs:text-2xl text-off-black"
>
<option value="">Select Urgency</option>
<option value={7}>Soon</option>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function ListItem({ listPath, item }) {
name="purchased"
onChange={changeHandler}
checked={isChecked}
className="rounded-full border-dark-green w-8 h-8 mx-4 hover:bg-slate-100 row-span-2 xs:row-span-1"
className="rounded-full border-dark-green w-8 h-8 mx-4 hover:bg-slate-100 row-span-2 xs:row-span-1 "
/>
<label htmlFor={item.name}>
<RiShoppingCart2Fill className="inline" /> {item.name}
Expand Down
2 changes: 1 addition & 1 deletion src/views/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function Home({ data, userId, userEmail, setListPath }) {
name="listName"
value={newListName}
onChange={handleChange}
className="border-2 border-sage rounded-lg min-h-14 bg-white grow text-xl xs:text-2xl"
className="border-2 border-sage rounded-lg min-h-14 bg-white grow text-xl xs:text-2xl text-off-black"
/>
<button className="bg-pale-green rounded-lg px-3 py-1 border-2 border-sage text-off-black">
Create
Expand Down
2 changes: 1 addition & 1 deletion src/views/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function List({ data, listPath }) {
name="itemFilter"
value={searchTerm}
onChange={handleChange}
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 grow max-w-full mt-2 text-xl xs:text-2xl"
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 grow max-w-full mt-2 text-xl xs:text-2xl text-off-black"
/>
{searchTerm ? (
<button
Expand Down
2 changes: 1 addition & 1 deletion src/views/ManageList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function ManageList({ setListPath, listPath, userEmail, userId }) {
value={shareEmail}
placeholder="Enter Recipient Email"
onChange={handleShareChange}
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 md:w-8/12 grow mt-4 text-xl xs:text-2xl"
className="bg-white border-solid border-2 rounded-xl border-sage pl-2 min-h-14 md:w-8/12 grow mt-4 text-xl xs:text-2xl text-off-black"
></input>
<button
type="submit"
Expand Down

0 comments on commit d0e2cdb

Please sign in to comment.