Using Visual Studio in dark mode, the HTML panel that displays details for a selected Composer package is rather unreadable:
I.e. there is dark text on gray background.
Suggestion
My suggestion is to make the text light when having a dark mode.
(I would not recommend to make the background white again, just because of the dark foreground text)
Alternatively, I have very good experiences in including Dark Reader into my own website/local HTML panel. Maybe shipping a local copy of Dark Reader and calling it inside the HTML panel of composer would be an option for this case, too.