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

img: Add dark-mode logo (Fixes #4) #9

Merged
merged 1 commit into from
Jan 23, 2024

Commits on Jan 23, 2024

  1. img: Add dark-mode logo (Fixes osbuild#4)

    This commit sets a dark-mode logo.
    While our logo is an svg, the usual approach of resorting to a
    ThemedImage doesn't work.
    Instead, the navbar's srcDark field needs to be set to a different logl.
    
    See
    https://docusaurus.io/docs/next/markdown-features/assets#themed-images
    https://docusaurus.io/docs/api/themes/configuration#navbar-logo
    ochosi authored and ondrejbudai committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    664e1f7 View commit details
    Browse the repository at this point in the history