menu

styled-components

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress!

Channels
Team
Posts
Members
Info

Hi Folks, I am facing problems with styled component + stylelint

Do you have any tip on what I am doing wrong here? My .stylelintrc:

thumbsup
0
message-simple
1

Is it possible to turn off linting in interpolations globally?

My eslint config should apply for this cases, I don't want my stylelint config to interfere with it. Are there ways to approach this?

thumbsup
0
message-simple
1

customize MUI-datatable with styled-component

I was trying to change the font-size of th with styled-component but it is not working

thumbsup
3
message-simple
12

new `stylelint` support.

I am working on `stylelint` and `postcss` that support `styled-components`. `stylelint-processor-styled-components` is not support for automatically fixes, so I created `postcss-jsx` to support it. I need more testing and feedback. Can someone help me? …

thumbsup
0
message-simple
0

How can I get and box-shadow inset with styled-primitives

I tried But is failing with the following message Failed to parse declaration "boxShadow: inset 0px 4px 1px rgba(97, 92, 92, 0.5)" …

thumbsup
0
message-simple
0

styled-components with stylelint & babel-proposal-optional-chaining

Any one experience with using stylelint and optional chaining in an project? I am trying to implement both in an project, where optional-chaining is used for the default theming of components. But as soon as optional-chaining is used in a file, stylelint won't find any errors…

thumbsup
0
message-simple
3

Versioning plan

The README currently says I think this is not true anymore with the recent work by @emilgoldsmith and @ismay and all the bugs that've been fixed. Let's make 0.3.0 the first "beta" version and announce it as such? I'd love to publish an article on Medium about the recent…

thumbsup
0
message-simple
92

Why are people posting in this channel all the time

Anyone have any thoughts on why we keep getting all the generic Styled Components questions in this channel? What is it that's directing them here? It's not our README badges is it?

thumbsup
0
message-simple
8

append classname to body

We have an app and the body color on most pages is blue. But on two pages we want the body color to change to another color.... Is this possible with a pure implementation of styled components? Or should we just append a classname to the body on those pages?

thumbsup
0
message-simple
1

React Native Performance

I'm having huge performance issues in my React native app and am suspecting that styled components is the culprit. I'm trying to create a test app, but it's not so easy to create a real world test without rewriting the whole Styles. In the meantime could anyone shed some light…

thumbsup
0
message-simple
35