From a96410ebc436e548d170c8068ed35e82e3bb529f Mon Sep 17 00:00:00 2001 From: ECE CALISKAN Date: Tue, 28 Oct 2025 22:10:47 +0000 Subject: [PATCH] remove default dark mode from the components --- app/home/page.tsx | 60 ++++++++--------- app/landing/page.tsx | 4 +- app/layout.tsx | 5 +- app/library/page.tsx | 14 ++-- app/music/[id]/page.tsx | 102 ++++++++++++++--------------- app/offline/page.tsx | 6 +- app/study/page.tsx | 56 ++++++++-------- components/ChatPanel.tsx | 14 ++-- components/FeatureCard.tsx | 6 +- components/Footer.tsx | 20 +++--- components/HighlightToolbar.tsx | 8 +-- components/NavBar.tsx | 28 ++++---- components/music/PlaylistModal.tsx | 26 ++++---- 13 files changed, 175 insertions(+), 174 deletions(-) diff --git a/app/home/page.tsx b/app/home/page.tsx index 595cf90..709b2e9 100644 --- a/app/home/page.tsx +++ b/app/home/page.tsx @@ -94,9 +94,9 @@ export default function HomePage() { const displayName = (user?.displayName || user?.email || "there") as string; const StatCard = ({ label, value }: { label: string; value: string | number }) => ( -
-
{label}
-
{value}
+
+
{label}
+
{value}
); @@ -116,10 +116,10 @@ export default function HomePage() {
-

+

Hello, {displayName.split("@")[0]}

-

+

Welcome back. Here’s a quick look at your study activity.

@@ -134,7 +134,7 @@ export default function HomePage() {
-

+

Drag & drop a .txt, .pdf, or .docx file — or paste your notes. We’ll generate a personalized, focus-friendly soundtrack for your study session.

@@ -151,11 +151,11 @@ export default function HomePage() {
{/* Left: Recent Study Sessions */}
-

+

Recent Study Sessions

{recents.length === 0 ? ( -
+

No study sessions yet. Start by uploading your first notes! @@ -164,16 +164,16 @@ export default function HomePage() { ) : (

    {recents.slice(0, 7).map((s) => ( -
  • +
  • {s.href ? ( -
    {s.title}
    -
    {new Date(s.openedAt).toLocaleString()}
    +
    {s.title}
    +
    {new Date(s.openedAt).toLocaleString()}
    ) : (
    -
    {s.title}
    -
    {new Date(s.openedAt).toLocaleString()}
    +
    {s.title}
    +
    {new Date(s.openedAt).toLocaleString()}
    )}
  • @@ -184,11 +184,11 @@ export default function HomePage() { {/* Right: Recently Played */}
    -

    +

    Recently Played

    {tracks.length === 0 ? ( -
    +

    No music played yet. Generate background sound from your study space! @@ -197,16 +197,16 @@ export default function HomePage() { ) : (

      {tracks.slice(0, 7).map((t) => ( -
    • +
    • {t.href ? ( -
      {t.title}
      -
      {new Date(t.playedAt).toLocaleString()}
      +
      {t.title}
      +
      {new Date(t.playedAt).toLocaleString()}
      ) : (
      -
      {t.title}
      -
      {new Date(t.playedAt).toLocaleString()}
      +
      {t.title}
      +
      {new Date(t.playedAt).toLocaleString()}
      )}
    • @@ -229,16 +229,16 @@ export default function HomePage() { }} > {/* Backdrop */} -
      +
      {/* Panel */} -
      +
      {/* Header */} -
      -

      Upload or Paste Notes

      +
      +

      Upload or Paste Notes

      -
      +
      We process locally when possible for privacy.
      @@ -324,7 +324,7 @@ export default function HomePage() { rows={8} value={notesText} onChange={(e) => setNotesText(e.target.value)} - className="w-full resize-y rounded-2xl bg-white/80 dark:bg-white/5 text-slate-900 dark:text-[--color-accent] placeholder:text-slate-500 dark:placeholder:text-slate-400 p-4 ring-1 ring-black/10 dark:ring-white/10 focus:outline-none focus:ring-2 focus:ring-primary" + className="w-full resize-y rounded-2xl bg-white/80 text-slate-900 placeholder:text-slate-500 p-4 ring-1 ring-black/10 focus:outline-none focus:ring-2 focus:ring-primary" placeholder="Paste your notes or write here…" />
      diff --git a/app/landing/page.tsx b/app/landing/page.tsx index 2b29382..3184c60 100644 --- a/app/landing/page.tsx +++ b/app/landing/page.tsx @@ -32,11 +32,11 @@ export default function Landing() { {/* Hero Section */}
      -

      Where knowledge meets notes, in perfect harmony.

      -

      +

      A clever fusion of study notes and music notes. Get AI-powered explanations, focus music, and turn your learning into rhythm.

      diff --git a/app/layout.tsx b/app/layout.tsx index a60584e..69a9dd0 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -22,8 +22,9 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - - + + + diff --git a/app/library/page.tsx b/app/library/page.tsx index 05d4621..e7f9bc8 100644 --- a/app/library/page.tsx +++ b/app/library/page.tsx @@ -32,8 +32,8 @@ export default function LibraryPage() { return (
      -

      Library

      -

      +

      Library

      +

      {intent === "music" ? "Select a study upload to generate music for." : intent === "study" @@ -42,8 +42,8 @@ export default function LibraryPage() {

      {empty ? ( -
      -

      No uploads yet.

      +
      +

      No uploads yet.

      Upload or Paste Notes @@ -53,10 +53,10 @@ export default function LibraryPage() { ) : (
        {sessions.map((s) => ( -
      • +
      • -
        {s.title}
        -
        {new Date(s.createdAt).toLocaleString()}
        +
        {s.title}
        +
        {new Date(s.createdAt).toLocaleString()}
        diff --git a/app/music/[id]/page.tsx b/app/music/[id]/page.tsx index be44776..671a686 100644 --- a/app/music/[id]/page.tsx +++ b/app/music/[id]/page.tsx @@ -474,8 +474,8 @@ const [topicsLoading, setTopicsLoading] = useState(false);
        {/* Page title */}
        -

        Music Generator

        -

        Turn your key topics into focus-friendly soundtracks.

        +

        Music Generator

        +

        Turn your key topics into focus-friendly soundtracks.

        {/* Split view */} @@ -483,18 +483,18 @@ const [topicsLoading, setTopicsLoading] = useState(false); {/* Left: Note Insights */}
        {/* Song Scope card */} -
        -

        Song Scope

        +
        +

        Song Scope

        -
        Generating based on the entire lecture/upload.
        +
        Generating based on the entire lecture/upload.
        {/* Topics card (only if scope is topics) */} {scope === 'topics' && ( -
        +
        -

        Detected Topics

        +

        Detected Topics

        - {selectedTopics.size} selected + {selectedTopics.size} selected
        )} @@ -540,11 +540,11 @@ const [topicsLoading, setTopicsLoading] = useState(false); {/* Right: Music Generator */}
        -
        +
        -

        Generate Your Study Music

        +

        Generate Your Study Music

        {isGenerating && ( -
        +
        {steps[Math.min(genStep, steps.length - 1)]}…
        )} @@ -553,9 +553,9 @@ const [topicsLoading, setTopicsLoading] = useState(false); {/* Controls */}
        - +
        - +
        - + (false); />
        - +
        {(["Low", "Medium", "High"] as Energy[]).map((lv) => (
        - +
        - + (false); onChange={(e) => setLengthSec(Number(e.target.value))} className="mt-2 w-full" /> -

        Shorter tracks are generated faster.

        +

        Shorter tracks are generated faster.

        {/* Lyrics Style */}
        -
        Lyrics Style
        +
        Lyrics Style
        - - - + + +
        -

        You can preview generated lyrics before full song generation.

        +

        You can preview generated lyrics before full song generation.

        {/* Manual Topics Input */}
        - +