kristoferjoseph/flexboxgrid

Native css version with variables

lukasoppermann opened this issue · 2 comments

I would love to have a native version with css variables, that can be used without using postcss.

Expected behavior

I should be able to set css variables to overwrite the current gutter settings.

Actual behavior

Css variables are not supported in media queries so this would need to be removed/compiled beforehand.

Is there any chance it would make using this much nicer.

Same thing is being asked for in the React wrapper. Link. Bit of a workaround is mentioned there using webpack.NormalModuleReplacementPlugin.

I actually build my own version https://github.com/nuclei/raster