zanaptak / TypedCssClasses

A CSS class type provider for F# web development. Bring external stylesheet classes into your F# code as design-time discoverable compiler-verified properties.
MIT License
165 stars 8 forks source link

Pseudo-classes doesn't work with css type provider #14

Open brud opened 1 year ago

brud commented 1 year ago

Hi, I love your type provider! But in the current project I have a problem with it - the pseudo-classes don't seem to work and break the client assembly :(

Repro project - https://github.com/brud/tailwind-typeprovider-repro

This is the default SAFE stack template with a postcss loader and a tailwind, if you run dotnet tool restore and dotnet run you will see an error in the browser (and in the IDE). But if you remove the hover: prefix in Index.fs:57 - it will work fine.

brud commented 1 year ago

Hi, can I help you somehow?