Adjust Dark Mode Styles for Home Page
This commit is contained in:
@@ -15,14 +15,18 @@ export const SectionWrapper = ({
|
||||
children,
|
||||
childrenClass,
|
||||
}: sectionWraperProps) => (
|
||||
<section className="w-full flex flex-col px-0 xs:px-2 sm:px-4 md:px-6 py-0 sm:py-2 md:py-4 bg-white rounded-3xl">
|
||||
<section className="w-full flex flex-col px-0 xs:px-2 sm:px-4 md:px-6 py-0 sm:py-2 md:py-4 bg-white dark:bg-[#1e2023] rounded-3xl">
|
||||
<div className="flex items-center justify-between px-4 py-4 sm:py-6 gap-2">
|
||||
<h1 className={'text-black text-xl sm:text-3xl font-bold'}>{title}</h1>
|
||||
<h1
|
||||
className={'text-black dark:text-white text-xl sm:text-3xl font-bold'}
|
||||
>
|
||||
{title}
|
||||
</h1>
|
||||
{showAllButton && (
|
||||
<Button
|
||||
label="All"
|
||||
variant="secondary"
|
||||
icon={<AngleRightIcon />}
|
||||
icon={<AngleRightIcon className="fill-black dark:fill-white" />}
|
||||
className="hidden sm:flex h-9"
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user