Skip to content

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

Merged
lukaszzazulak merged 3 commits intoswagger-api:masterfrom
adrianodpdiaz:fix/markdown_list_items_dark_color_in_dark_mode
Apr 16, 2026
Merged

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

Conversation

@adrianodpdiaz
Copy link
Copy Markdown
Contributor

@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
Contributor Author

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

@lukaszzazulak lukaszzazulak self-requested a review April 16, 2026 11:43
@lukaszzazulak lukaszzazulak linked an issue Apr 16, 2026 that may be closed by this pull request
@lukaszzazulak lukaszzazulak merged commit 3608eaa into swagger-api:master Apr 16, 2026
9 checks passed
swagger-bot pushed a commit that referenced this pull request Apr 27, 2026
## [5.32.5](v5.32.4...v5.32.5) (2026-04-27)

### Bug Fixes

* **deps:** bump swagger-client to v3.37.3 ([#10858](#10858)) ([74e48ce](74e48ce))
* **style:** markdown list items default text color in Dark Mode ([#10790](#10790)) ([#10791](#10791)) ([3608eaa](3608eaa))

### Reverts

* Revert "Accessibility: Easier to access Authorization ([#10692](#10692))" ([#10850](#10850)) ([8d17c78](8d17c78))
@swagger-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.32.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

markdown list color is too dark in Dark Mode

5 participants