Skip to content

[Feature] Fix Inconsistent Dark/Light Theme Across the Site #511

@syed-imadulla

Description

@syed-imadulla

Summary

Some pages and components use light mode while others are dark, resulting in a mixed and inconsistent user interface. Examples:

  • The homepage header/footer appears light.
  • The “About” section is in dark mode.
  • Features cards and other areas switch between modes unexpectedly.

Motivation

  • A mismatched theme creates visual disruption and reduces usability.
  • Students expect a unified interface—either fully light or fully dark.
  • Especially for accessibility, inconsistent contrast or styling can cause issues.

Possible Solution

  • Introduce a global theme toggle (dark ↔ light) managed via JavaScript and CSS custom properties.
  • Wrap all page containers in a root-level CSS variable context (e.g., data-theme="dark" or "light").
  • Audit each section (header, main, footer, feature cards, branch selector, etc.) to ensure unified styling.
  • Clean up inline styles and apply consistent color variables across components.

Additional Context

Here are screenshots highlighting mixed theme zones:

  • Light header + dark body
  • Dark hero section + light features cards
  • Mixed-mode sections without a consistent toggle

A consistent UI will give NotesVault a polished, professional appearance and improve readability.

Image Image Image Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions