v0.1.0
Thanks for the support from @ekanna, @gbj and @abishekatp
This is the first release of scoped CSS solution for rust web frameworks which follows component like architecture.
Features
This version onle provide one macro namely style macro. It is now supported in the leptos framework. You can use this style macro as given below.
let styler_class = style! {"Hello",
div.one{
color: red;
}
@media only screen and (max-width: 1000px) {
h3 {
background-color: lightblue;
color: blue
}
}
}
Currently it supports most of commonly used style rules and at rules which you can write in style sheet.
This version does not check for any errors in the css. It just parses whatever is given as input.