Skip to content

Commit

Permalink
add bg color in layout, search input and list buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
vivitt committed Apr 2, 2024
1 parent e803def commit a72bae9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ListButtons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const ListButtons = (props) => {
const buttonVariants = {
purple: 'flex items-center justify-center rounded-lg bg-lightPurple',
white:
'flex items-center justify-center rounded-lg bg-white border text-darkPurple',
'flex items-center justify-center rounded-lg bg-puurWhite border text-darkPurple',
};

const iconVariants = {
Expand Down
4 changes: 2 additions & 2 deletions src/components/SearchList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const SearchList = ({ data, setNewList }) => {
<form>
<div className="relative flex items-center ">
<input
className="bg-white border rounded-lg col-span-1 w-full font-poppins text-base p-5 "
className="bg-puurWhite border text-darkPurple rounded-lg col-span-1 w-full font-poppins text-base p-5 "
id="search"
type="text"
onChange={(e) => handleFiltering(e)}
Expand All @@ -36,7 +36,7 @@ export const SearchList = ({ data, setNewList }) => {
<button
onClick={(e) => resetInput(e)}
aria-label="clear the search bar"
className="border rounded-sm h-7 px-1 absolute end-5 flex items-center"
className="border text-darkPurple rounded-sm h-7 px-1 absolute end-5 flex items-center"
>
<i className="fa-solid fa-x fa-2xs"></i>
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Layout({ lists, listPath }) {
};

return (
<div className="max-w-screen flex flex-col text-poppins min-w-96 ">
<div className="max-w-screen flex flex-col text-poppins min-w-96 bg-puurWhite min-h-screen">
<NavBar user={user} lists={lists} listPath={listPath} />
<main className="w-full lg:pt-16 pb-12 xl:w-9/12 xl:mx-auto">
{!!user ? (
Expand Down

0 comments on commit a72bae9

Please sign in to comment.