Community
Participate
Working Groups
Created attachment 268715 [details] Current situation The java doc hovers render HTML links in dark blue. In the dark theme this is hardly readable. You can see this in the attached screenshot. The cause it that: org.eclipse.jdt.ui/JavadocViewStyleSheet.css and org.eclipse.jdt.ui/JavadocHoverStyleSheet.css contains hard-codes colors like: a:link { color: #0000FF; } These colors need to be replaced at runtime dependent on the Theme e.g. with JFaceColors.getHyperlinkText(..) I think something similar is needed for these colors as org.eclipse.jface.internal.text.html.HTMLPrinter#convertTopLevelFont does it with the font attributes.
*** This bug has been marked as a duplicate of bug 517393 ***
> The cause it that: org.eclipse.jdt.ui/JavadocViewStyleSheet.css and > org.eclipse.jdt.ui/JavadocHoverStyleSheet.css contains hard-codes colors > like: > a:link { color: #0000FF; } > > These colors need to be replaced at runtime dependent on the Theme e.g. with > JFaceColors.getHyperlinkText(..) > > I think something similar is needed for these colors as > org.eclipse.jface.internal.text.html.HTMLPrinter#convertTopLevelFont > does it with the font attributes. Thank you for pointing to these, that's useful.