Description
Project explorartion to apply design guideline by providing built-in style.
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2023-10-23.at.14.42.13.mp4
Available Style
- Button
- Primary Blue
- Primary Green
- Secondary (Outline)
- Destructive
- TextField
- Primary
- Search Field
- Toggle
- Checkbox
Usage
To use the built-in style, we need to pass the selected style to the style modifier
Button(action: {}) {
Text("Press Me)
}.buttonStyle(PrimaryGreenButtonStyle())
To see the detail implementation, visit corresponding components inside /views
Contributor
- Fork the project
- Create a new branch for your feature:
git checkout -b feature/new-feature
- Commit your changes and push to the branch:
git push origin feature/new-feature
- Create a pull request