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

Difficult to read API docs in dark mode #1598

Closed
PurelyAnecdotal opened this issue Jan 23, 2025 · 0 comments · Fixed by #1599
Closed

Difficult to read API docs in dark mode #1598

PurelyAnecdotal opened this issue Jan 23, 2025 · 0 comments · Fixed by #1599
Assignees
Labels
Easy Good for new contributors
Milestone

Comments

@PurelyAnecdotal
Copy link

The swagger embed doesn't reflect the dark mode setting which makes it difficult to read the API docs in dark mode.

Image

It doesn't look like swagger supports dark mode natively, but it looks like you can inject custom css to add it. You could also just set the swagger ui container to have a white background.

@stgraber stgraber self-assigned this Jan 23, 2025
@stgraber stgraber added the Easy Good for new contributors label Jan 23, 2025
@stgraber stgraber added this to the incus-6.9 milestone Jan 23, 2025
stgraber added a commit that referenced this issue Jan 23, 2025
Closes #1598

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
bketelsen pushed a commit to bketelsen/incus that referenced this issue Feb 4, 2025
Closes lxc#1598

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Good for new contributors
Development

Successfully merging a pull request may close this issue.

2 participants