Closed Bug 1973782 Opened 1 year ago Closed 9 months ago

Migrate the Button reusable component to use the M3 button color defaults

Categories

(Firefox for Android :: Design System and Theming, task)

All
Android
task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: 007, Assigned: giorga)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file)

Rather than manually applying our Acorn color tokens, we should instead implicitly use the M3 color tokens when styling our reusable components. As part of this ticket, remove the custom coloring from the component and instead have the component use the color defaults from the M3 component.

Our Button composable was our original reusable component, and we've learned a lot since then. Besides using the updated color tokens, also refactor the API to make it more concise.

Blocks: 1976711
Assignee: nobody → giorga
See Also: → 1988703
Pushed by giorga@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9ab4c47f3164 https://hg.mozilla.org/integration/autoland/rev/929ceab749ea Migrate the Button reusable component to use the M3 button color defaults r=android-reviewers,007
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: