I’m seeking a way to dynamically adjust the colors of the documentation section in Eclipse IDE based on the color theme selected by the user. Currently, when I switch Eclipse to a dark theme, the HTML pages in the documentation still have a white background, which is not consistent with the dark theme.
I want to achieve this programmatically rather than through the preferences menu. Is there a way to programmatically modify the colors of the documentation section to match the chosen color theme in Eclipse? E.g way how to change css based on the eclipse theme?
Thank you for any insights or guidance!
I explored the Eclipse IDE documentation settings but found no direct option to dynamically adjust the colors of the documentation section based on the IDE’s color theme. I also investigated possible solutions within the Eclipse plugin development environment, but haven’t yet found a suitable approach.
Ideally, I expected that switching the Eclipse theme to dark mode would automatically adjust the background color of the documentation section to match the theme, ensuring consistency with the overall IDE appearance. However, since this didn’t happen, I’m now looking for a programmatic solution to achieve this behavior.
Read more here: Source link