Skip to content

Commit 308b6a8

Browse files
authored
feat: readme catalog and gallery (#201)
1 parent 19832a3 commit 308b6a8

File tree

3 files changed

+64
-31
lines changed

3 files changed

+64
-31
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ The router has two subgraphs, the `UnauthenticatedRouter` used for unauthenticat
1616

1717
The [app router][app_router] is provided by [auto_route][auto_route], and contains the previous sections with some nested screens.
1818

19-
The [theme folder][theme] contains the theme definitions, for example colors, styles and dimensions.
20-
Another important plugin related to the UI is [flutter_screenutil][flutter_screenutil], used for adapting screen and font size.
21-
2219
### Core section
2320

2421
The models are defined in the [models folder][models]. If you need to use different models for database or networking, you can create them in `db` and `service` folders respectively.
@@ -114,7 +111,6 @@ In order to setup pre-push hook you need to go to the root of the project and ru
114111
[app_router]: https://github.com/xmartlabs/flutter-template/blob/main/lib/ui/app_router.dart
115112
[bloc]: https://bloclibrary.dev
116113
[auto_route]: https://pub.dev/packages/auto_route
117-
[theme]: https://github.com/xmartlabs/flutter-template/tree/main/lib/ui/theme
118114
[flutter_screenutil]: https://pub.dev/packages/flutter_screenutil
119115
[models]: https://github.com/xmartlabs/flutter-template/tree/main/lib/core/model
120116
[repository_folder]: https://github.com/xmartlabs/flutter-template/tree/main/lib/core/repository

catalog/README.md

+44-27
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,56 @@
1-
<!--
2-
This README describes the package. If you publish this package to pub.dev,
3-
this README's contents appear on the landing page for your package.
1+
# Catalog' Flutter template
42

5-
For information about how to write a good package README, see the guide for
6-
[writing package pages](https://dart.dev/guides/libraries/writing-package-pages).
7-
8-
For general information about developing packages, see the Dart guide for
9-
[creating packages](https://dart.dev/guides/libraries/create-library-packages)
10-
and the Flutter guide for
11-
[developing packages and plugins](https://flutter.dev/developing-packages).
12-
-->
13-
14-
TODO: Put a short description of the package here that helps potential users
15-
know whether this package might be useful for them.
3+
Catalog is a Flutter package that provides a base implementation for UX/UI components based on the [design template of Xmartlabs][figma].
4+
It aims to simplify and expedite the development process for Flutter projects, ensuring a consistent and visually appealing user interface.
165

176
## Features
187

19-
TODO: List what your package can do. Maybe include images, gifs, or videos.
8+
- Ready-to-use main UI components inspired by Xmartlabs design principles.
9+
- Customizable components to fit your project's specific requirements.
2010

2111
## Getting started
2212

23-
TODO: List prerequisites and provide or point to information on how to
24-
start using the package.
13+
### Installation
2514

26-
## Usage
15+
Integrate the package in your project, adding the following line to your `pubspec.yaml` file:
2716

28-
TODO: Include short and useful examples for package users. Add longer examples
29-
to `/example` folder.
30-
31-
```dart
32-
const like = 'sample';
17+
```yaml
18+
dependencies flutter:
19+
catalog:
20+
path: ../
3321
```
3422
35-
## Additional information
23+
## Arch Overview
24+
25+
The catalog project is organized into a singular folder named 'Theme.'
26+
Within the [theme folder][theme], various files contribute to the overall theme definition:
27+
28+
- App Theme:
29+
This file outlines the app's styles, encompassing elements such as the app bar, dialogs, radio buttons, and other components.
30+
31+
- App Buttons:
32+
Styles for the default buttons of the app are defined within this file.
33+
34+
- App Color Scheme:
35+
Default color schemes for the app are established in this file.
36+
37+
- Custom Colors:
38+
As a Theme Extension, this file incorporates custom colors specific to the app.
39+
40+
- App Dimensions:
41+
Default dimensions for various elements within the app are specified in this file.
42+
43+
- App Text Styles:
44+
Default text styles across the app are defined in this file.
45+
46+
- Custom Text Styles:
47+
As another Theme Extension, this file articulates the custom text styles unique to the app.
48+
49+
This organized structure within the 'Theme' folder ensures a systematic approach to managing and defining the visual aspects of the app.
50+
51+
### Contributing
52+
We welcome contributions! If you find a bug or have a feature request, please open an [issue].
3653
37-
TODO: Tell users more about the package: where to find more information, how to
38-
contribute to the package, how to file issues, what response they can expect
39-
from the package authors, and more.
54+
[issue]: https://github.com/xmartlabs/flutter-template/issues
55+
[theme]: https://github.com/xmartlabs/flutter-template/tree/main/lib/ui/theme
56+
[figma]: https://www.figma.com/file/OWDUY4WaDjyfiOE6Z8mfsC/XL---Tourmaline?node-id=0%3A1&mode=dev

catalog/gallery/README.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Gallery App
2+
3+
Gallery is a Flutter app designed to showcase and share the design system of our project.
4+
This app serves as a visual reference for developers and provides a streamlined process for the design team to approve the correct implementation of components.
5+
6+
## Features
7+
8+
- **Design System Showcase:** View and explore the design system components used in the app.
9+
- **Interactive Examples:** Interact with live examples of components to see them in action.
10+
- **Easy Sharing:** Share specific components or screens with the design team for review.
11+
12+
13+
## Design System Documentation
14+
For comprehensive documentation on our design system, including guidelines, principles, and usage instructions, please refer to [Design System].
15+
16+
### Contributing
17+
We welcome contributions! If you find a bug or have a feature request, please open an [issue].
18+
19+
[issue]: https://github.com/xmartlabs/flutter-template/issues
20+
[Design System]: https://www.figma.com/file/OWDUY4WaDjyfiOE6Z8mfsC/XL---Tourmaline?node-id=0%3A1&mode=dev

0 commit comments

Comments
 (0)