Easy Home Design Library
A centralized design system package for Easy Home applications. This package provides a consistent set of UI components, colors, and text styles to maintain design consistency across all Easy Home applications.
Features
- 🎨 Consistent color palette with semantic color naming
- 📝 Predefined text styles for various use cases
- 🧩 Reusable UI components with the
EHprefix - 🎯 Production-ready, well-documented code
- 🚀 Easy to integrate and use
Installation
Add this to your package's pubspec.yaml file:
dependencies:
easy_home_design_library:
git:
url: https://github.com/your-org/easy_home_design_library.git
ref: main # or the specific version you want to use
Usage
Import the package in your Dart code:
import 'package:easy_home_design_library/easy_home_design_library.dart';
Using Colors
Container(
color: EHColors.primary,
child: Text('Hello World'),
)
Using Text Styles
Text(
'Hello World',
style: EHTextStyles.headline,
)
Using Components
EHButton(
label: 'Click Me',
onPressed: () {
// Handle button press
},
variant: EHButtonVariant.primary,
size: EHButtonSize.medium,
)
Components
EHButton
A customizable button component with multiple variants and sizes.
EHButton(
label: 'Click Me',
onPressed: () {},
variant: EHButtonVariant.primary, // or secondary
size: EHButtonSize.medium, // or small, large
isLoading: false,
isFullWidth: false,
)
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Libraries
- easy_home_design_library
- Easy Home Design Library A centralized design system for Easy Home applications.