question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support dark mode for poweredBy image

See original GitHub issue

Thanks for this amazing library.

It would be awesome to support dark mode. The current poweredBy image only has black text. Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

4reactions
nandorojocommented, Dec 1, 2020

I view it more as a style customization than necessarily a dark mode feature itself. You might style the drop down to be dark, even if the rest of your app isn’t in dark mode. Because of this, I think it makes more sense as a prop that the user has control over.

Maybe it makes more sense to just let the poweredByText get styled directly in styles, following the API of other styles, since you proposed using Text alongside the logo anyway.

2reactions
aidanarnoldcommented, Dec 1, 2020

@bell-steven I think this could be done simply by adding a darkMode prop to use for toggling the image in _renderPoweredLogo. That doesn’t get into the fussiness of selecting the best option from all the images Google provides for this, but it would at least satisfy this request. I’m willing to submit a PR, if this sounds like a good solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set Up Dark Mode for Images - Modus Create
Modus Principal Thought Leader Grgur Grisogono wrote a step-by-step guide to setting up dark mode with images with CSS and JavaScript.
Read more >
A Complete Guide to Dark Mode on the Web - CSS-Tricks
Dark mode ” is defined as a color scheme that uses light-colored text and other UI elements on a dark-colored background. Dark mode,...
Read more >
Supporting Dark Mode: Adapting Images | Indie Stack
This article is part of a series on Supporting Dark Mode in macOS ... These images do tend to adapt pretty well to...
Read more >
Dark Mode Email: Your Ultimate How-to Guide - Litmus
Add this styling for support in Outlook app (Android). Example CSS: /* Shows Dark Mode-Only Content, Like Images */.
Read more >
Change image when dark mode is enabled - Using Swift
I have an image on my main storyboard for my app. The problem is that the image contains a black text, so I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found