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.

Theme not applied [v3.0.0]

See original GitHub issue

When supplying the theme to the LiveProvider, the styles it contains are incorrectly disregarded.

See the following line.

props.className is coming in as undefined, while _style object contains theme.plain and therefore the expression will be true, yielding {} when you want _style.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
oliviadawdcommented, Oct 18, 2022

I’ve noticed this as well when updating react-live from 2.4.1 to the latest (3.1.1). I tried passing the vsDark theme which worked in v2, but now it looks like this:

vsdark theme on v2 Screen Shot 2022-10-18 at 2 49 59 PM

vsdark theme on v3 image

it looks like the background color and the font-family isn’t getting applied properly but the text colors look correct to me!

0reactions
GilmarLiracommented, Dec 28, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not activate themes on 3.0.0 · Issue #3590 · vercel/hyper
I had configured Hyper to run zsh and oh-my-zsh and it stopped working after auto-upgrade to v3.0.0 - Hyper is running cmd instead...
Read more >
android - Theme not being applied - Stack Overflow
I am simply trying to change the background color for an activity, however nothing has changed. Here is the relevant XML: styles.xml <resources>...
Read more >
How to MIUI Themes "Compatibility Issue" error - YouTube
How to Fix MIUI themes "compatibility issues" error."Compatibility issues" error occurs when you try to apply /download a theme that is not ......
Read more >
Updating themes - Shopify Help Center
You can update your online store themes as long as you or an installed app haven't made any code changes to your theme....
Read more >
General: Venue theme release notes - Safe As Milk Help Center
General: Venue theme release notes. Version 7.0.2 - June 24, 2022. OS 2.0 themes. Fixes and other improvements.
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