Skip to content

fix: update app icon to match SVG design#7

Closed
sxivansx wants to merge 3 commits intomainfrom
feat/icon-change
Closed

fix: update app icon to match SVG design#7
sxivansx wants to merge 3 commits intomainfrom
feat/icon-change

Conversation

@sxivansx
Copy link
Copy Markdown
Collaborator

Summary

  • Fix equals sign rendering as a merged block instead of two separate lines (incorrect path V181.556V170.429)
  • Replace flat #6B5CEE fill on equals button with linear gradient #8072FB → #6B5CEE to match the source SVG
  • Center the button grid on the adaptive icon canvas by adding translateX=-0.22 / translateY=2.65 to the scale group (the SVG content center sits at viewport (139.31, 135.32) due to bottom shadow padding in the original design)

Test plan

  • Build and install on a device/emulator running Android 8+ (API 26) to verify the adaptive icon
  • Confirm the equals button shows two distinct horizontal lines
  • Confirm the equals button background shows the purple gradient
  • Confirm the 4-button grid is visually centered both horizontally and vertically within the icon shape

Replace the simple +/= stroke icon with a 2×2 grid of circular
calculator buttons (+, −, ×, =) converted from calculator.svg.
- Fix equals sign first bar path closing at y=170.429 (was y=181.556),
  so it renders as two separate lines instead of a merged block
- Replace flat #6B5CEE fill on equals button with linear gradient
  #8072FB → #6B5CEE matching the source SVG
The SVG content center sits at (139.31, 135.32) in viewport coords
rather than the viewport center (139, 139) due to bottom padding
reserved for drop shadow in the original SVG design.

Add translateX=-0.22 and translateY=2.65 to the scale group so the
rendered button grid lands exactly at the adaptive icon canvas center.
@sxivansx sxivansx closed this Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant