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

Different logo depending on the color theme #95

Open
dominikgeissler opened this issue Feb 22, 2023 · 1 comment
Open

Different logo depending on the color theme #95

dominikgeissler opened this issue Feb 22, 2023 · 1 comment
Labels
design Design choices enhancement New feature or request suggestion Maybe this could be the next hit!

Comments

@dominikgeissler
Copy link
Contributor

Use different logos when dark / light mode is used (for logos without background)

@dominikgeissler dominikgeissler added enhancement New feature or request design Design choices suggestion Maybe this could be the next hit! labels Feb 22, 2023
@dominikgeissler
Copy link
Contributor Author

dominikgeissler commented May 2, 2023

I'm not quite sure how feasible this is. I'ld imagine a solution that works in Contentful similar to this

## Sponsors & Partners
<img src="path/to/light-img" class="light" />
<!-- ... -->
<img src="path/to/dark-img" class="dark" />

and based on the current theme selected the different logos can be rendered on the page. Do you think this is worth looking into?

I think it would be much simpler if the image has a white background in case its just a .svg or a black / dark-ish figure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design choices enhancement New feature or request suggestion Maybe this could be the next hit!
Projects
None yet
Development

No branches or pull requests

1 participant