Comments (1)
Hey, @bslipek.
That's css
from styled-components
: https://www.styled-components.com/docs/api#css
And that's needed to handle interpolations (prop('theme.colors...
). For instance, try to remove css
here: https://www.webpackbin.com/bins/-KmWrYsZMKqn0pbntMy3
I would accept a PR adding a import styled, { css } from 'styled-components'
though, if you think it might help to avoid the confusion.
from styled-tools.
Related Issues (20)
- Add switchProp HOT 1
- Delete me!
- prop() not setting default HOT 2
- Styled-tools not working HOT 4
- Add default case option to switchProp HOT 4
- Named exports not detected when using Rollup HOT 1
- Add TypeScript type definitions HOT 2
- Drop support for array needle
- Typescript Support? HOT 2
- theme usage with darken from polished HOT 11
- TS error when using prop with ThemedStyledComponentsModule HOT 11
- Needles should be recursively resolved HOT 9
- Heads-up: 1.7.0 was a breaking change for us HOT 2
- How to get the {palette}Text color ? HOT 2
- Add comments to the typescript definitions [enhancement] HOT 1
- unable to interpolate ${prop('__')} HOT 1
- invalid valid for prop 'color' on <span /> tag HOT 1
- Is there any way to pass multiple props to an ifProp? HOT 3
- Improve Palette Types
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from styled-tools.