Skip to content

Web: Fix Dark Theme Toggle on Medical Glossary PageΒ #2168

Description

@SB2318

🐞 Bug Report

Description

The Dark Theme toggle is not functioning correctly on the Medical Glossary page. When users switch between Light and Dark themes, the page does not update as expected.

This issue should be investigated and resolved to ensure the Medical Glossary page fully responds to theme changes and remains consistent with the rest of the application.


πŸ“± Affected Screen

  • Medical Glossary

πŸ› Current Behavior

  • Dark Theme toggle has no effect on the Medical Glossary page.
  • Some or all UI components remain in the previous theme after switching.
  • Theme changes may require a refresh or are not applied at all.

βœ… Expected Behavior

  • The Medical Glossary page should immediately reflect the active application theme.
  • All UI components should update dynamically when the theme is changed.
  • The page should provide a consistent experience with the rest of the application.

πŸ” Investigation Checklist

  • Verify theme provider integration.
  • Check for hardcoded colors.
  • Ensure components consume theme values correctly.
  • Confirm the page re-renders when the active theme changes.
  • Validate custom components support dynamic theming.
  • Test both Light and Dark modes.

πŸ§ͺ Testing

Verify the following:

  • Switch between Light and Dark themes.
  • Backgrounds update correctly.
  • Text remains readable with proper contrast.
  • Cards, buttons, icons, and inputs adopt the active theme.
  • Loading, empty, and error states are themed appropriately.
  • No visual inconsistencies remain.

βœ… Acceptance Criteria

  • Dark Theme toggle works correctly on the Medical Glossary page.
  • Theme changes are applied immediately without restarting or refreshing.
  • All UI components respond to the active theme.
  • No hardcoded light-theme colors remain.
  • Loading, empty, and error states support both themes.
  • UI is consistent with the application's design system.
  • Verified on both Android and iOS (if applicable).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions