postcss-styled-syntax
postcss-styled-syntax copied to clipboard
PostCSS syntax for CSS-in-JS like styled-components
### What minimal example or steps are needed to reproduce the bug? my component in styles.ts: ```js export const ButtonContainer = styled.View.attrs({ elevation: 15 })` background-color: ${({ theme: { COLORS...
### What minimal example or steps are needed to reproduce the bug? This component is getting this error, i think it's because ternary operator. **_this function is not supported when...
Hello! I see in the readme that there is hesitancy to adding support for double-slash comments within styled components, but with it being a syntax error rather than a rule,...
I think it would be great to support this pattern `styled(Component)(({ theme }) => ` . Today, it doesn't work: https://github.com/hudochenkov/postcss-styled-syntax/assets/3165635/bd24c10d-8f8f-4012-8e76-7b4c71f0f61a This is pretty much the same request as in...
1. Does not recognize component root styles as zero nesting level (considers the first open curly brackets as zero nesting level, as in a regular CSS file) 2. `"ignore": ["pseudo-classes",...
When the interpolation (${(props) ... }) in code, auto fix is not working, but the error message is still displayed. 