sebastiaanvisser / clay

A CSS preprocessor as embedded Haskell.
Other
360 stars 73 forks source link

Refinement -> Selector #185

Closed BebeSparkelSparkel closed 3 years ago

BebeSparkelSparkel commented 5 years ago

I'm not sure if this is the same as #25 but it would be nice to have a function that converts a Refinement to a Selector.

Right now to just select on a class or an id we have to use star # class_ "class-name" which outputs *.class-name.

Would sel = (#) $ selectorFromText "" :: Refinement -> Selector be an acceptable solution?

BebeSparkelSparkel commented 5 years ago

pr #186

github-actions[bot] commented 4 years ago

Stale issue message

github-actions[bot] commented 3 years ago

This issue has not seen any activity in a long time. If no further activity occurs, it will be closed after ten weeks.

ddssff commented 3 years ago

It is something that puzzled me for a while when I first started using clay the day before yesterday.

turion commented 3 years ago

@ddssff feel free to pick up #186 if you want :)

ddssff commented 3 years ago

Ok, I just need a little more experience.