Skip to content
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

Add and test swagger UI theme #9

Open
umar-anzar opened this issue Jan 3, 2025 · 0 comments
Open

Add and test swagger UI theme #9

umar-anzar opened this issue Jan 3, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@umar-anzar
Copy link
Member

Issue Suggestion: Enhancing Swagger UI with Theme Customization

To improve the appearance of Swagger UI, consider exploring additional theme options for syntax highlighting. For example:

app = FastAPI(swagger_ui_parameters={"syntaxHighlight.theme": "obsidian"})

This changes the theme to "obsidian," providing a sleek, dark appearance.

Check out other available themes and experiment to find the best look for your UI. A well-chosen theme can make the UI more visually appealing and user-friendly.

For reference, see the FastAPI documentation: Change the Theme

@umar-anzar umar-anzar added the enhancement New feature or request label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants