No highlight for just styled``
See original GitHub issueCSS is Highlighted with styled.div
but not with just styled
Code
import styled from "styled-components";
styled.div`
background-color: black;
color: green;
font-size: 12px;
`;
Preview
Code
import styled from "styled-components";
styled`
background-color: black;
color: green;
font-size: 12px;
`;
Preview
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
No color highlighting when using function that returns code #364
To reproduce, simply add a function that returns some css code into a styled component and no color highlighting will be shown.
Read more >How to disable text selection highlighting - css - Stack Overflow
can elements within the element witch has highlighting disabled, have highlighting enabled with in css in the style or class attribute? or in ......
Read more >HOW TO HIGHLIGHT WITHOUT OVERLAPPING - YouTube
Here are a few tips and tricks to highlighting hair without ... FOLLOW ME: Instagram- @jz. styles, @jzstyles.co, @jessigish BUY HAIR ...
Read more >Single-Process Color vs. Highlights: What's the Difference?
"With highlights, your colorist should be using more than one color, not just bleach," says stylist Darren Anderson.
Read more >25 Gorgeous Ways to Highlight Your Hair in 2022 - Allure
Effectively, playground highlights recreate the look of virgin hair naturally highlighted by the sun – just like when you were a child. Taylor ......
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
Noopsy I wasn’t dreaming. I have seen it somewhere written that if you write just
styled
than it returnstyled.div
or something like that.Idk if version 3.0 changed it or not but it was written like that. I’ll see if I can find it.
I’d like to think my memory is good enough sometimes 😂
Nope, its not. I guess I was dreaming then 😂
Glamor
comes close though. So I guess this issue isn’t valid.