Skip to content

fix(style): markdown list items to default text color in Dark Mode (#10790)#10791

Open
adrianodpdiaz wants to merge 2 commits intoswagger-api:masterfrom
adrianodpdiaz:fix/markdown_list_items_dark_color_in_dark_mode
Open

fix(style): markdown list items to default text color in Dark Mode (#10790)#10791
adrianodpdiaz wants to merge 2 commits intoswagger-api:masterfrom
adrianodpdiaz:fix/markdown_list_items_dark_color_in_dark_mode

Conversation

@adrianodpdiaz
Copy link
Copy Markdown

@adrianodpdiaz adrianodpdiaz commented Apr 1, 2026

Description

This PR fixes an issue in Swagger UI dark mode where Markdown list items (<li>) were rendered with an incorrect dark color #3B4151 instead of matching the regular light text color used elsewhere (including in Light Mode).

Motivation and Context

#10790

Screenshots:

Before:
example_get

After:
dark_mode_list_after

Checklist

My PR contains...

  • No code changes (src/ is unmodified: changes to documentation, CI, metadata, etc.)
  • Dependency changes (any modification to dependencies in package.json)
  • Bug fixes (non-breaking change which fixes an issue)
  • Improvements (misc. changes to existing features)
  • Features (non-breaking change which adds functionality)

My changes...

  • are breaking changes to a public API (config options, System API, major UI change, etc).
  • are breaking changes to a private API (Redux, component props, utility functions, etc.).
  • are breaking changes to a developer API (npm script behavior changes, new dev system dependencies, etc).
  • are not breaking changes.

Documentation

  • My changes do not require a change to the project documentation.
  • My changes require a change to the project documentation.
  • If yes to above: I have updated the documentation accordingly.

Automated tests

  • My changes can not or do not need to be tested.
  • My changes can and should be tested by unit and/or integration tests.
  • If yes to above: I have added tests to cover my changes.
  • If yes to above: I have taken care to cover edge cases in my tests.
  • All new and existing tests passed.

@adrianodpdiaz adrianodpdiaz changed the title fix(style): markdown list items default text color in Dark Mode (#10790) fix(style): markdown list items to default text color in Dark Mode (#10790) Apr 1, 2026
@adrianodpdiaz
Copy link
Copy Markdown
Author

Hi @char0n @glowcloud — friendly ping on this small style fix. Would appreciate a review when you get a chance!

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