Skip to content

Theme flashes from light to dark on page navigation #20

Description

@Rakesh-116

Description:
When navigating between pages with dark theme enabled, the page briefly displays in light theme before switching to dark theme. This creates a jarring white flash that negatively impacts user experience.

Steps to Reproduce:

  1. Go to https://notesbuddy.in/
  2. Switch to dark theme using the theme toggle
  3. Navigate to any other page (e.g., click on Notes, Pricing, or any link)
  4. Observe that the page initially renders in light theme
  5. After a brief moment, the theme switches to dark

Expected Behavior:
The dark theme should be applied immediately without any visible flash. The page should render in dark theme from the start if that's the saved preference.

Actual Behavior:
Every page navigation shows a brief flash of light theme before the dark theme is applied, creating a distracting white flash effect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions