feat(compose): font color #74

Closed
opened 2026-07-01 21:22:46 +00:00 by JMR-dev · 0 comments
JMR-dev commented 2026-07-01 21:22:46 +00:00 (Migrated from github.com)

Part of the compose rich-formatting epic — stacked on the rich-text foundation ticket (branch feat-richtext-foundation), which provides RichStyle.FontColor(argb) and the shared ColorSwatchRow composable.

Scope

  • Palette dialog (new ui/compose/format/FontColorDialog.kt) with ~8 fixed swatches via ColorSwatchRow, plus "Default" to clear; applies RichStyle.FontColor(argb) to the selection; toolbar button.

Acceptance

  • color:#rrggbb round-trips; regression test that colored text which is also a link round-trips both (the foundation's annotation identity keeps link paint and font color separate); androidTest for the dialog.
Part of the compose rich-formatting epic — stacked on the rich-text foundation ticket (branch `feat-richtext-foundation`), which provides `RichStyle.FontColor(argb)` and the shared `ColorSwatchRow` composable. **Scope** - Palette dialog (new `ui/compose/format/FontColorDialog.kt`) with ~8 fixed swatches via `ColorSwatchRow`, plus "Default" to clear; applies `RichStyle.FontColor(argb)` to the selection; toolbar button. **Acceptance** - `color:#rrggbb` round-trips; regression test that colored text which is *also* a link round-trips both (the foundation's annotation identity keeps link paint and font color separate); androidTest for the dialog.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: JMR-dev/LibreMail#74