Releases: abishekatp/stylers
Releases · abishekatp/stylers
`v0.3.1`
`v0.3.0`
- As mentioned in this issue to support modularized css adding new macros namely style_str and style_sheet_str.
- These macros return the style value instead of writing them into separate css files.
Thank you @gbj, @WafflePersonThing for helping me out to fix this issue. Since we introduced backward compatible new features based on semantic versioning guidelines switching to new minor version.
v0.2.2
v0.2.0
v0.1.1
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.