Issue related to the white theme UI

Sudalai Esakkisankar 0 Reputation points
2025-12-10T14:00:42.5166667+00:00

User's image

I tried to attach a code block using the plain text feature in the teams, but it seems like this. But it seems good in dark theme.

Does anyone faced this?

GroupMe | Direct messaging
GroupMe | Direct messaging

A private one-on-one chat feature within the GroupMe app that allows users to communicate outside of group conversations.

0 comments No comments

1 answer

Sort by: Oldest
  1. Noel Macadangdang 16,895 Reputation points Independent Advisor
    2025-12-10T14:44:57.0833333+00:00

    Hi Sudalai,

    Thank you for sharing your question. I understand you pointing out the problem with how code blocks look in Teams. It seems like when you use a light theme, plain text code blocks are hard to read, though they look fine in dark themes. Let's figure out what's going on and how to fix it.

    So, you're using the code block option (or those triple backticks in Markdown) and choosing Plain Text, but in the light theme, the text is hard to see because the contrast is low, or things just blend in.

    I get why that's frustrating. You just want to share code easily, and it's a pain when teammates using different themes can't read it. I'll help you make those blocks readable for everyone, no matter what theme they're using.

    Basically, Teams changed how code snippets work. Now, how the code looks depends on the language selected and the theme you’re using. In light theme, plain text blocks might not have enough contrast. To fix this, use /code or ``` to insert a code block and actually pick a language (even if it’s just Plain Text). Turn on “Wrap text” to avoid weird columns and cut-off text. Or, pick a language like Shell, JavaScript, or JSON so the code is easier to read in both themes. If it’s still hard to see, try switching to high-contrast mode or Follow operating system in your Appearance settings. You could also try clearing the Teams cache, as that sometimes fixes weird theme problems that make text unreadable. One other thing: if your company uses Lists or other formatting options in Teams, don’t set text to be explicitly white in dark mode. Otherwise, people using the light theme might see white text on a white background. Just stick to the default text colors, so Teams can change them automatically for each theme.

     

    I hope this helps.

    Best Regards,

    Noel

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.