Yew Styles is a style framework for yew
The purpose of developing this project is first, provide a style framework for yew because there isn't not many options currently, also to create a layout system which is not far of the flexbox concept, and, to take the rust benefits and implement a properties selected by enumeration in the most of the cases which makes fast for developing applications and avoids the practice try and error
Each component is split in two parts, the logical yew component and its sass module, however, it is not necessary to worry about the sass module only it needs to be include in the project
npm install yew-styles
toml
yew_styles = { version="0.6.1", features=["button", "navbar", "layouts"] }
typescript
import 'node_modules/yew-styles/main.css';
Yew style is in early phase, currently doesn't have enough components to cover all the requirements that could need a website/web application. All contributions are appreciated.
First, open an issue describing about the fix, improvement or implementation and as suggestion, don't start to work in it until that is discussed. If the contribution is a fix or small improvement in a component, only a pull request to master explaining what resolve or improve that, is required. If it is an implementation, please follow the next requirements:
/crate/src/page
with the same structure than the rest of the components