Skip to content

Mitanin Theme Implementation#205

Open
sushant-bizbrolly wants to merge 2 commits intorelease-2.8.6from
ui_project_theme
Open

Mitanin Theme Implementation#205
sushant-bizbrolly wants to merge 2 commits intorelease-2.8.6from
ui_project_theme

Conversation

@sushant-bizbrolly
Copy link
Copy Markdown
Member

@sushant-bizbrolly sushant-bizbrolly commented Jan 22, 2026

📋 Description

JIRA ID: FLW-662

Mitanin Theme Implementation & Project-Wise dynamic changes


✅ Type of Change

  • 🐞 Bug fix (non-breaking change which resolves an issue)
  • New feature (non-breaking change which adds functionality)
  • 🔥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🛠 Refactor (change that is neither a fix nor a new feature)
  • ⚙️ Config change (configuration file or build script updates)
  • 📚 Documentation (updates to docs or readme)
  • 🧪 Tests (adding new or updating existing tests)
  • 🎨 UI/UX (changes that affect the user interface)
  • 🚀 Performance (improves performance)
  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.

Summary by CodeRabbit

Release Notes

  • Style Updates
    • Updated sign-in screen with new logo branding
    • Added Material Design 3 color palette and theme definitions for enhanced visual styling

✏️ Tip: You can customize this high-level summary in your review settings.

@sushant-bizbrolly sushant-bizbrolly self-assigned this Jan 22, 2026
@sushant-bizbrolly sushant-bizbrolly added the enhancement New feature or request label Jan 22, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 22, 2026

📝 Walkthrough

Walkthrough

This PR introduces flavor-specific theming for Mitanin app variants (mitanin, mitaninStag, mitaninUat) and adds dynamic logo selection. It adds Material Design 3 color palettes and theme definitions for each flavor variant, and implements conditional logo rendering in the login screen based on BuildConfig.FLAVOR.

Changes

Cohort / File(s) Summary
Login UI Logic
app/src/main/java/org/piramalswasthya/sakhi/ui/login_activity/sign_in/SignInFragment.kt
Adds conditional logo selection in onViewCreated: sets logo_circle_green for "mitanin" flavor, otherwise logo_circle.
Login UI Layout
app/src/main/res/layout/fragment_sign_in.xml
Changes image source from android:src to tools:src, making drawable visible only in tooling preview, not at runtime.
Mitanin Flavor Resources
app/src/mitanin/res/values/colors.xml, app/src/mitanin/res/values/themes.xml
Adds comprehensive Material3 light/dark theme color palette and UI-specific token colors; defines Theme.Sakhi and ButtonStyled component styles.
Mitanin Staging Flavor Resources
app/src/mitaninStag/res/values/colors.xml, app/src/mitaninStag/res/values/themes.xml
Identical color and theme resource structure as Mitanin flavor variant.
Mitanin UAT Flavor Resources
app/src/mitaninUat/res/values/colors.xml, app/src/mitaninUat/res/values/themes.xml
Identical color and theme resource structure as other Mitanin flavor variants.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 With colors bright and flavors three,
The logos dance, as they should be,
Green for Mitanin, circles aligned,
Theming perfection, carefully designed! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Mitanin Theme Implementation' accurately reflects the main changes: adding flavor-specific theme resources (colors and styles) for the Mitanin variant and related build flavors.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sushant-bizbrolly
Copy link
Copy Markdown
Member Author

@CodeRabbit full review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 22, 2026

✅ Actions performed

Full review triggered.

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant