We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It'd be great if Publii had a built-in feature that automatically switches the logo based on the user's selected theme (light or dark mode).
I made it with custom css. Like this:
/* Logo for dark theme */ @media (prefers-color-scheme: dark) { .logo img { content: url('/media/files/logo_white.svg'); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature Description
It'd be great if Publii had a built-in feature that automatically switches the logo based on the user's selected theme (light or dark mode).
feature_video.mov
I made it with custom css. Like this:
The text was updated successfully, but these errors were encountered: