Repository navigation
Release Notes v1.2.2 - Widget Color Theme Support
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
- Open the GitGraph app
- Select your preferred color theme (Green, Blue, or Yellow)
- Tap "Update Widget Now" to refresh the widget
- Your home screen widget will now match your selected theme!
Technical Changes
Flutter (widget_service.dart)
- Widget data now includes
colorThemefield - 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
- Download
gitgraph-v1.2.2.apk - Install the APK
- Your existing configuration will be preserved
Full Changelog: v1.2.1...v1.2.2