Skip to content

fix(nutrition-game): resolve unit change and dark mode issues#390

Open
sayanChaterjee wants to merge 1 commit intoopenfoodfacts:mainfrom
sayanChaterjee:fix/nutrition-game-285-286
Open

fix(nutrition-game): resolve unit change and dark mode issues#390
sayanChaterjee wants to merge 1 commit intoopenfoodfacts:mainfrom
sayanChaterjee:fix/nutrition-game-285-286

Conversation

@sayanChaterjee
Copy link

What

  • Fixed the dark mode display issue in the Nutrition Game (Hunger Games).
  • The AutocompleteInput component did not previously adapt to dark mode, remaining in light mode even when dark
  • mode was enabled.
  • Integrated the global darkModeListener to detect and respond to theme changes.
  • Updated styles to ensure consistent appearance across light and dark themes.

Screenshot

image image image

Fixes bug(s)

Fixes #285 #286

Part of

  • Display problem in dark mode in the Nutrition Game (Hunger Games)
  • Can't change the unit in nutrition game (Hunger Games)

@vercel
Copy link

vercel bot commented Dec 21, 2025

@sayanChaterjee is attempting to deploy a commit to the openfoodfacts Team on Vercel.

A member of the Team first needs to authorize it.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't change the unit in nutrition game (Hunger Games)

1 participant