-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
types used in Returns section of functions are shown in white instead of green / red #2546
Labels
bug
Functionality does not match expectation
Comments
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
|
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!? |
This was referenced Jul 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
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: