CollActionteam / collaction_app

CollAction cross-platform mobile application for iOS and Android
https://collaction.org
GNU General Public License v3.0
34 stars 12 forks source link

Core/setup theme extensions #362

Closed wizlif closed 1 year ago

wizlif commented 1 year ago

In this P.R is setup the app to use Flutter Theme Extensions to hold our Figma theme configurations including colors and text styles.

https://user-images.githubusercontent.com/15793624/218931184-e0151088-cf68-41d0-b9ef-720903cb7a2e.mp4

Resources: https://medium.com/lost-but-coding/why-you-should-be-using-flutter-theme-extensions-f869db5c1cb0 https://medium.com/geekculture/flutter-3-how-to-extend-themedata-56b8923bf1aa

codecov[bot] commented 1 year ago

Codecov Report

Merging #362 (e6f72f2) into development (7fa9ecc) will increase coverage by 0.31%. The diff coverage is 68.87%.

@@               Coverage Diff               @@
##           development     #362      +/-   ##
===============================================
+ Coverage        66.99%   67.30%   +0.31%     
===============================================
  Files              155      161       +6     
  Lines             3969     4444     +475     
===============================================
+ Hits              2659     2991     +332     
- Misses            1310     1453     +143     
Impacted Files Coverage Δ
lib/presentation/auth/auth_screen.dart 1.78% <0.00%> (-0.18%) :arrow_down:
lib/presentation/core/app_widget.dart 0.00% <0.00%> (ø)
.../crowdaction_browse/crowdaction_browse_screen.dart 0.00% <0.00%> (ø)
...rowdaction_comments/crowdaction_comments_page.dart 2.50% <0.00%> (-0.07%) :arrow_down:
...action_comments/parts/comment_appbar_delegate.dart 3.70% <0.00%> (-0.15%) :arrow_down:
...ction/crowdaction_comments/parts/comment_item.dart 0.00% <0.00%> (ø)
.../crowdaction_comments/parts/comment_textfield.dart 10.00% <0.00%> (-10.00%) :arrow_down:
...ion/crowdaction_comments/widgets/flag_comment.dart 0.00% <0.00%> (ø)
...rowdaction_details/crowdaction_details_screen.dart 0.00% <0.00%> (ø)
...n/demo/components_demo/components_demo_screen.dart 0.96% <0.00%> (-0.01%) :arrow_down:
... and 95 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more