Repository navigation
Point the Compose theme at the shared Scribe colors - #790
Conversation
|
@Roniscend and @prince-0408, maybe one of you could take an initial look at this one? :) |
Roniscend
left a comment
There was a problem hiding this comment.
Could you Assert all 14 color slots in ScribeColorSchemeTest it currently checks 6 per mode and a follow-up issue for the orange on orange onPrimary in dark mode.
ScribeColorSchemeTest now checks every slot set in Colors.kt for both light and dark schemes, not only the previous six per mode.
|
Thanks @Roniscend. On the dark-mode |
prince-0408
left a comment
There was a problem hiding this comment.
LGTM! 🚀
- The updated now nicely asserts all 14 slots in both modes, addressing @Roniscend's feedback.
- Keeping the dark mode button styling as-is here aligns with the scope of #782 ("no other recolor in this step"). Any opacity/contrast adjustment can be handled in a follow-up issue.
- Clean implementation using and all CI checks are green.
Happy to approve!
andrewtavis
left a comment
There was a problem hiding this comment.
praise: From my end as well this is looking great, @bhanu-dev82! Thanks for really getting at these design/theme updates!
Contributor checklist
./gradlew lintKotlin detekt testcommand as directed in the testing section of the contributing guideDescription
ScribeThemenow reads the sharedscribe_*color resources instead of a second copy of the hex values. TheuseDarkThemeargument still chooses day or night, including when that disagrees with the device.Dark mode button text stays orange (
#FFD17B0F) on the orange button. The dark caption slot now usesscribe_caption(#FFCAC4D0). That is the same grey Material 3 already used for this slot, so the screen should look the same. No other color change../gradlew lintKotlin detekt testcompleted successfully.Colors.ktloads the scheme from thescribe_*resources and drops the unused hex copies.ScribeTheme.ktuses that scheme.ScribeColorSchemeTest.ktchecks that the theme argument wins over the device night mode, and that dark button text stays orange.CHANGELOG.mdnotes the change.Related issue