data_repositories 0.0.1
data_repositories: ^0.0.1 copied to clipboard
Get help with development and app management tools, view documentation, connect.
Features #
Focus on color|theme resources, will define in application.
ex. support dark|light theme...
Getting started #
How to use?
-
Aware about
/assetsfolder exists in this module, included :/fonts,/images, ... -
Developer using color in
cc_color.dartfile. -
Developer using Text Style in
cc_text_style.dartfile. -
Dark|Light theme setup in
cc_themes.dartfile.
Additional information #
- Docs
a. Defined & inject color list
Expect : Learn to setup color asset json file for :
- Designer easily fill in
- Developer only read it, no need fill in manually
b. [Design text style rule for mobile devices, follow material design](https://material. io/blog/design-material-theme-type),
ex. iphone, ipad .v.v. at line : "Typography in Material".
Expect : Rules will restrict designer always update design file.
- Utils
a. Where design find color name
ex. : #194109
b. [After picked color ex. #194109, need convert to hex color using for mobile devices](https://convertingcolors. com/android-color-4284900966.html)
ex. : [#194109] => [Android (android.graphics.Color), 0xFF194109]
c. Setup themes planning rule, included : color, text size, .v.v
ex. : dark theme, light theme .v.v.