Repository navigation
UI Spacing and Headers Refactor - #75
Conversation
The new `Spacing` object defines a 4dp-grid scale plus semantic aliases, exposed as MaterialTheme.spacing, replacing all legacy dimensionResource calls and raw spacing dps. dimens.xml is also removed. Icon sizes, corner radii, and stroke widths are out of scope and stay untouched.
|
/opencode Review this PR |
|
I reviewed PR #75 (75 files, +937/−848) and verified it builds. Verification
Overall this is a clean, mechanical migration to a token scale plus a rename/split of header components. No compile-blocking issues found. A few things worth addressing: Findings1. 2. 3. Corner radius uses a spacing token, contradicting the scale's contract — 4. Intentional visual changes to confirmThese are lossy relative to the old dimens/raw dps and change pixels (all arguably correct for a 4dp grid, but worth a design sign-off):
Verdict: solid refactor; address #1–#3 before merge, #4 and the list above are design calls. |
|
/opencode Review the new 2 commits (after last review) |
|
Reviewed the 2 new commits since the last review ( Verification
Prior findings addressed
Nit (non-blocking)
Verdict: the two commits resolve the actionable items from the previous review with no regressions. Only the magic-number nit remains, which is a design/style call. |


Spacingobject andMaterialTheme.spacingextension*PreferencesWidgetto*(Settings)Item