abishekatp / stylers

Fully compile time scoped CSS for Leptos components
MIT License
139 stars 13 forks source link

Deep Selectors #19

Closed luoxiaozero closed 1 year ago

luoxiaozero commented 1 year ago

I want a selector in scoped styles to be "deep", i.e. affecting child components. like vue: https://vuejs.org/api/sfc-css-features.html#scoped-css

abishekatp commented 1 year ago

Thank you for opening an issue. I will try to add this feature before this week end.

luoxiaozero commented 1 year ago

Ok, looking forward to it

abishekatp commented 1 year ago

I have added the above implementation. but I want to make sure weather this approach will be feasible before merging this branch

luoxiaozero commented 1 year ago

R4HQBXT} 2XMP3O~NE9FGLR When :deep is preceded by a child selector is error

abishekatp commented 1 year ago

Yeah I have also noticed that and puhing another implementation.

Edit: Please check it out now.

luoxiaozero commented 1 year ago

ok

luoxiaozero commented 1 year ago

No more questions

abishekatp commented 1 year ago

Yeah okay. I will merge and release it by end of today.