Skip to content

Conversation

@KongaraLikhith
Copy link

Description: This PR addresses the visibility issue reported in the Agents Course (Issue #507).

Problem: When the course website is in dark mode, the tokenizer (token_ids) output becomes unreadable due to color inheritance inside the iframe.

Solution: Instead of adding dark mode support, I have forced the output container to remain in "light mode" (white background, black text). This ensures the playground remains consistent and readable regardless of the theme used in the environment where it is embedded.

Changes:
Updated className of the output div in App.jsx to explicitly use bg-white and text-black.

@DecodersLord
Copy link

Duplicate PR #1497

@KongaraLikhith
Copy link
Author

Thanks for letting me know! I see that PR #[1497] covers this fix. I'll close this one to avoid redundancy

@KongaraLikhith KongaraLikhith deleted the fix-tokenizer-dark-mode branch January 30, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants