callstack / callstack/linaria

No value no css

Open
#1,281 2 comments 0 reactions 0 assignees View on GitHub
feature: proposal 💬 needs: triage 🏷
Dominant language
TypeScript
Stars
12.4k
Forks
413
PR merge metrics
No merged PRs in 30d

Description

```jsx
const Line = styled(div)`
background-color: ${props => props.bgColor};
margin-left: ${props => props.margin};
`
```

if `bgColor='#fff'` and `margin=''`,
```css
{
--b9s1f2v-1: #fff;
}

.b9s1f2v{
background-color: var(--b9s1f2v-1);
}
```
Just like this, `margin` has no value, and the generated css has no `margin-left`. How to implement it.🤔

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.