Skip to content

Release Notes v1.2.2 - Widget Color Theme Support

Choose a tag to compare

@jerome-wilson jerome-wilson released this 10 May 18:07
· 17 commits to main since this release
ebdfcbe

Release v1.2.2 - Widget Color Theme Support

What's New

🎨 Widget Now Matches App Theme

The home screen widget now displays contribution tiles in the same color theme you've selected in the app!

  • Green Theme → Widget shows GitHub default green colors
  • Blue Theme → Widget shows slate/steel blue colors
  • Yellow Theme → Widget shows warm amber/gold colors

How to Use

  1. Open the GitGraph app
  2. Select your preferred color theme (Green, Blue, or Yellow)
  3. Tap "Update Widget Now" to refresh the widget
  4. Your home screen widget will now match your selected theme!

Technical Changes

Flutter (widget_service.dart)

  • Widget data now includes colorTheme field
  • Color theme preference is synced to widget via SharedPreferences

Android Widget (GitHubContributionsWidget.kt)

  • Added 3 color palettes: GREEN_COLORS, BLUE_COLORS, YELLOW_COLORS
  • Widget reads color theme from app preferences
  • Contribution cells render in the selected theme colors

Color Palettes

Level Green Blue Yellow
0 (empty) #2d333b #2d333b #2d333b
1 #0e4429 #1e3a5f #5c3d0e
2 #006d32 #3b6ea5 #8b5a1b
3 #26a641 #6b9bd1 #d4a03a
4 #39d353 #a8c8e8 #f7c948

Compatibility

  • Android 5.0+ (API 21+)
  • Existing users: Update seamlessly - your theme preference will be applied to the widget

Installation

  1. Download gitgraph-v1.2.2.apk
  2. Install the APK
  3. Your existing configuration will be preserved

Full Changelog: v1.2.1...v1.2.2