You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing this too! But my suggestion is to color the return value to whatever the corresponding color in the theme is. For example, in the base dark theme, it seems like
Green = interface
Blue = class
Red = type alias
etc...
So it would be great if Typedoc checked what "kind" of value it's returning, and then color it appropriately.
I have no idea why I decided to use that nasty css rather than just adding a class on headers... and while I'm in there, why doesn't that use the anchor icon like literally every other anchor in TypeDoc!?
Search terms
default theme, returns, function, link, css
Expected Behavior
Types with a link in "Returns" section of functions are shown in green / red (depending on whether it is a type or interface).
(I tweaked the CSS a bit to make this image)
Actual Behavior
Types with a link in "Returns" section of functions are shown in white.
https://typedoc.org/api/functions/JSX.createElement.html
![image](https://private-user-images.githubusercontent.com/49056869/322009588-24631774-8deb-4173-a8cf-9fba68a15dcf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5MjUwOTEsIm5iZiI6MTcyMTkyNDc5MSwicGF0aCI6Ii80OTA1Njg2OS8zMjIwMDk1ODgtMjQ2MzE3NzQtOGRlYi00MTczLWE4Y2YtOWZiYTY4YTE1ZGNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI1VDE2MjYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlZDc2NGY5YTJlOWY5MGQ3NGUwOTc0YWVjNjMzOGNmNThmMzkxZjM0YjZmNDI2YmJhMTdhY2YxMDE5ODUxZDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yPvjnUdoxztv-Q6J2NzNS21p5StSXphMhHbOCQmFmKY)
It seems
is overriding the color.
Steps to reproduce the bug
See the actual behavior section.
Environment
The text was updated successfully, but these errors were encountered: