diff --git a/packages/nextjs/app/page.tsx b/packages/nextjs/app/page.tsx index 4e312fd..f3e614c 100644 --- a/packages/nextjs/app/page.tsx +++ b/packages/nextjs/app/page.tsx @@ -10,6 +10,7 @@ import Step4 from "~~/components/Step4"; import Step5 from "~~/components/Step5"; import Step6 from "~~/components/Step6"; import Navbar from "~~/components/StepperPanel"; +import { SwitchTheme } from "~~/components/SwitchTheme"; const Home: NextPage = () => { const [currentStep, setCurrentStep] = useState(1); @@ -52,7 +53,7 @@ const Home: NextPage = () => { className={`${currentStep === step.index ? "active h-full w-full " : ""}`} style={{ display: currentStep === step.index ? "block" : "none" }} > -
+
{step.index === 1 && } {step.index === 2 && } @@ -69,6 +70,7 @@ const Home: NextPage = () => { ))} + ); }; diff --git a/packages/nextjs/components/Step1.tsx b/packages/nextjs/components/Step1.tsx index 62e239c..53b812e 100644 --- a/packages/nextjs/components/Step1.tsx +++ b/packages/nextjs/components/Step1.tsx @@ -59,7 +59,7 @@ function Step1({ handleNext }: { handleNext: any }) { name="baseNetwork" value={disperseFormData.baseNetwork} onChange={event => setDisperseFormData("baseNetwork", event.target.value)} - className="mb-3 bg-zen/50 text-gray-600" + className="mb-3 bg-zen/50 text-gray-600 dark:text-white" > diff --git a/packages/nextjs/components/Step2.tsx b/packages/nextjs/components/Step2.tsx index ea5ca28..a97020a 100644 --- a/packages/nextjs/components/Step2.tsx +++ b/packages/nextjs/components/Step2.tsx @@ -79,7 +79,7 @@ function Step2({ handleNext, handleBack }: { handleNext: any; handleBack: any }) value={disperseFormData.schemaID} onChange={event => setDisperseFormData("schemaID", event.target.value)} placeholder="Enter schema ID" - className="bg-zen/50 text-gray-600 text-base" + className="bg-zen/50 text-gray-600 dark:text-white text-base" />
diff --git a/packages/nextjs/components/Step3.tsx b/packages/nextjs/components/Step3.tsx index 6d0f169..81c70ae 100644 --- a/packages/nextjs/components/Step3.tsx +++ b/packages/nextjs/components/Step3.tsx @@ -107,7 +107,7 @@ export default function Step3({ handleNext, handleBack }: { handleNext: any; han value={!showAttesterENS ? disperseFormData.attesterAddress : disperseFormData.attesterENS} onChange={handleInputChange} placeholder="Enter attester address" - className="bg-zen/50 text-gray-600" + className="bg-zen/50 text-gray-600 dark:text-white" />
diff --git a/packages/nextjs/components/Step6.tsx b/packages/nextjs/components/Step6.tsx index 3768c65..85d8192 100644 --- a/packages/nextjs/components/Step6.tsx +++ b/packages/nextjs/components/Step6.tsx @@ -167,7 +167,7 @@ export default function Step6() {
- + @@ -176,7 +176,7 @@ export default function Step6() { {attestations.map((attestation: any, idx: number) => ( - +
Recipient Address Reward Amount
{idx + 1}
@@ -195,7 +195,7 @@ export default function Step6() {
-
Total tokens: {sum}
+
Total tokens: {sum}
diff --git a/packages/nextjs/components/SwitchTheme.tsx b/packages/nextjs/components/SwitchTheme.tsx index 4dc20af..f2b5372 100644 --- a/packages/nextjs/components/SwitchTheme.tsx +++ b/packages/nextjs/components/SwitchTheme.tsx @@ -25,7 +25,7 @@ export const SwitchTheme = ({ className }: { className?: string }) => { if (!mounted) return null; return ( -
+
{ return (
-

{title}

-

{children}

+

{title}

+

{children}

); }; diff --git a/packages/nextjs/styles/globals.css b/packages/nextjs/styles/globals.css index 12c4231..4c693a1 100644 --- a/packages/nextjs/styles/globals.css +++ b/packages/nextjs/styles/globals.css @@ -19,7 +19,7 @@ Title { button { @apply - border-bit border text-black hover:text-white hover:bg-bit px-6 py-1 rounded-md font-ral xl:text-lg + border-bit border-2 dark:text-white text-black hover:text-white hover:bg-bit px-6 py-1 rounded-md font-ral xl:text-lg } body { diff --git a/packages/nextjs/tailwind.config.js b/packages/nextjs/tailwind.config.js index 1bb55c5..60304bd 100644 --- a/packages/nextjs/tailwind.config.js +++ b/packages/nextjs/tailwind.config.js @@ -55,7 +55,7 @@ module.exports = { neutral: "#F9FBFF", "neutral-content": "#385183", "base-100": "#385183", - "base-200": "#2A3655", + "base-200": "#263238", "base-300": "#212638", "base-content": "#F9FBFF", info: "#385183",