Theme not applied [v3.0.0]
See original GitHub issueWhen 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:
- Created 2 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve noticed this as well when updating
react-live
from2.4.1
to the latest (3.1.1
). I tried passing thevsDark
theme which worked in v2, but now it looks like this:vsdark theme on v2
vsdark theme on v3
it looks like the background color and the font-family isn’t getting applied properly but the text colors look correct to me!
Changing this line to use
LiveEditor
instead will reveal the problem: https://github.com/FormidableLabs/react-live/blob/5123cfd12de4cfafa7c65e59a967927a27eaca70/stories/Live.js#L208