davesnx / styled-ppx

Type-safe styled components for ReScript, Melange and native with type-safe CSS
https://styled-ppx.vercel.app
BSD 2-Clause "Simplified" License
402 stars 33 forks source link

`:has()` CSS support with `+` #435

Closed davesnx closed 5 months ago

davesnx commented 8 months ago
selector {j|&:has(+ .$sideGapCell)|j} [ paddingRight `zero];
let cell = [%cx {|
  /* ... */
  &:has(+ .$(sideGapCell)) { padding-right: 0 }
|}]
File "frontend/packages/ahkit/src/design-system/Table_Css.ml", line 10, characters 8-9:
Error: Parse error while reading token '+'