Benefits over CSS Modules
Describe the enhancement
The Benefits doc is very helpful. It'd be nice to also have a section that explores the advantages of linaria over CSS Modules.
@justincy from what I understand so far, Linaria works exactly like css modules + the advantage of Javascript expressions inside your css + automatic props -> css variables binding for expressions that rely on the React component props. So it has all the features of css modules + the additional benefit of js expressions.
also css-modules blackboxes your code, which is its major problem. This means you can't expose sub parts of your component and other components can't style your component.
another benefit is type safety. there is no way to verify correct css variables are used.