Canton Design System
Canton Design System elements and resources for Flutter.
Description
This package contains elements that I use in my apps. It includes things such as themes (colors, typography, etc.), custom methods, buttons, text-inputs, a color picker, and more. This all in attempt to limit the amount of time I spend on remaking simple tools and ui, while still customizing my screens to my flavor.
Getting Started
To use this package and access its content, add this dependency to your pubspec.yaml
dependencies:
canton_design_system:
git:
url: git://github.com/31Carlton7/canton_design_system.git
ref: master
And simply import the package using this code
import 'package:canton_design_system/canton_design_system.dart';
BTW package:flutter/material.dart
is already imported when using this package so no need to re-import :)
All Features
- Color system: Credits to the Primer Color system, as this is a modified version of theirs.
- Typography system: Credits to the Primer typography system.
- Buttons: Resizable primary button, small/header button and back button with all necessary customizations.
- Text Inputs: Custom text field and text form fields.
- Borders: border customization.
- Color Picker(WIP): Working color picker that returns color.
- Loading icon: Loading icon/widget.
- Animations(WIP): Fluid animations to give a playful but professional feel.
- Custom Methods: Custom methods with ease of use.
- Icon System: Icon system that utilizes Iconly icons, Feather Icons and Cupertino Icons.
- Custom Fonts: Both serif and sans serif typefaces consisting of Inter UI and Times New Roman.
- Light theme: Clean light theme.
- Dark Theme(WIP): Clean dark theme with all elements modified.
TODO
- Desktop Support
- Typography System
- Reconfigure design system on figma to use new elements
Dependencies
- flutter_page_transition:
- flutter_riverpod:
- flutter_slidable:
- flutter_feather_icons:
- flutter_spinkit:
- flutter_svg:
- emojis:
- circular_check_box:
- liquid_pull_to_refresh:
- cupertino_icons:
Figma
Link to design system on figma to view UI elements
Socials
If you have any questions, you can reach me here:
- Instagram: 31carlton7
- Email: [email protected]