Skip to content

Commit

Permalink
Merge pull request #61 from the-collab-lab/default-bg-color
Browse files Browse the repository at this point in the history
Default background color in Layout, input and buttons
  • Loading branch information
vivitt authored Apr 3, 2024
2 parents e803def + a72bae9 commit 63269e0
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 63269e0

Please sign in to comment.