litestar-org / litestar

Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
https://litestar.dev/
MIT License
5.46k stars 374 forks source link

Bug: new docs theme makes code hard to read #3812

Open sobolevn opened 5 days ago

sobolevn commented 5 days ago

Description

Link: https://docs.litestar.dev/3-dev/usage/dto/1-abstract-dto.html

Снимок экрана 2024-10-16 в 10 53 20

Right now it is very hard to read the code, since it is yellow on yellow. For some people who have problems with recognising yellow colors it might be even impossible to read these examples.

Please, consider adding a more contrast theme or keeping the old one.

URL to code causing the issue

No response

MCVE

No response

Steps to reproduce

No response

Screenshots

No response

Logs

No response

Litestar Version

main

Platform


[!NOTE]
While we are open for sponsoring on GitHub Sponsors and OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.

Check out all issues funded or available for funding on our Polar.sh dashboard

  • If you would like to see an issue prioritized, make a pledge towards it!
  • We receive the pledge once the issue is completed & verified
  • This, along with engagement in the community, helps us know which features are a priority to our users.

Fund with Polar

sobolevn commented 5 days ago

Also, highlighted code does not make it easier to read:

Снимок экрана 2024-10-16 в 10 57 26
provinzkraut commented 2 days ago

@JacobCoffee