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
The problem I am facing is , I am not able to customize the swagger UI iframe in the page.
For better readability, I want to change the colour of text inside the swagger UI which is rendered in light and dark mode.
Right now, I am not able to do that, I added some custom css for the swagger UI texts, and although it is readable, but still the colour of text of the swagger UI iframe (which is rendered using this pluggin) does not changes as i change the mode from dark to light.
can you tell me a way, how I can customize the text colour of swagger UI which is rendered as per light and dark mode and for better readability.
To sum up: I want to change the colour of the text inside the swagger UI rendered docs as per light and dark mode. I want this customization for better readability. Currently, I added some css and made the things readable, but I want the texts of the swagger UI changes as per light and dark mode. If possible, pls help me in this or tell a way to make it work.
Thanks
The text was updated successfully, but these errors were encountered:
swarna1101
changed the title
Not able to customize the swagger UI iframw with website dark and light mode
Not able to customize the swagger UI iframe with website dark and light mode
Feb 10, 2024
However, the extra CSS cannot be loaded dynamically according to the light mode or dark mode. I may take some time to check how to implement this feature.
The problem I am facing is , I am not able to customize the swagger UI iframe in the page.
For better readability, I want to change the colour of text inside the swagger UI which is rendered in light and dark mode.
Right now, I am not able to do that, I added some custom css for the swagger UI texts, and although it is readable, but still the colour of text of the swagger UI iframe (which is rendered using this pluggin) does not changes as i change the mode from dark to light.
can you tell me a way, how I can customize the text colour of swagger UI which is rendered as per light and dark mode and for better readability.
To sum up: I want to change the colour of the text inside the swagger UI rendered docs as per light and dark mode. I want this customization for better readability. Currently, I added some css and made the things readable, but I want the texts of the swagger UI changes as per light and dark mode. If possible, pls help me in this or tell a way to make it work.
Thanks
The text was updated successfully, but these errors were encountered: