Skip to content

Enhancement: Dark / Light Mode Toggle #43

Description

@Pranav00076

Description:
The application currently features a gorgeous hardcoded dark mode. However, a light mode would be highly appreciated for accessibility and daytime viewing.

How to Implement:

  1. CSS Variables / Tailwind: If using Tailwind, use the dark: variant class. Otherwise, implement CSS variables for background and text colors.
  2. Toggle Button: Add a sun/moon icon toggle in the dashboard and canvas UI.
  3. Canvas Background: Dynamically update canvas.backgroundColor when the theme changes (e.g., from #1e1e1e to #ffffff) and call canvas.renderAll(). You may also need to invert default text colors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions