Skip to content

Web: Support dark mode for all Tailwind UI components #128

Description

@wagmiiii

Repo context. accensa-app is the off-chain half of Accensa — the merchant back-office for x402 sellers on Stellar. Three workspace packages matter: apps/web (Next.js dashboard and the indexer at src/app/api/sync), packages/sdk (@accensa/sdk), and apps/demo-merchant. The Soroban contracts live in accensa-contracts.

🟢 Unblocked. Theming is localized to Tailwind config and React components.

Problem

The merchant dashboard is hardcoded to light mode, which is uncomfortable for many users, especially those monitoring transactions late at night.

What to build

  1. Configure Tailwind CSS to use class based dark mode.
  2. Add dark: variants to all major UI components (buttons, cards, tables).
  3. Implement a theme toggle switch in the navbar that persists the choice to localStorage.

Acceptance criteria

  • Users can toggle between light, dark, and system themes.
  • No unreadable text or broken contrast in dark mode.
  • Theme selection persists across page reloads.

Contact & Support

Metadata

Metadata

Assignees

Labels

Stellar WaveDrips Wave Programarea: webWork in webcomplexity: trivial100 pts — small, clearly bounded, obvious acceptance criteriaenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions