Open Bug 2084655 Opened 1 month ago Updated 3 hours ago

Animate hover effects using motion design tokens

Categories

(Firefox :: Sidebar, enhancement, P2)

enhancement
Points:
2

Tracking

()

People

(Reporter: nsharpley, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-post-nova])

Attachments

(2 external files)

Using the new design tokens in the Nova motion prototype, update the animations for hover effects across the chrome (buttons, etc)

Prototype: https://nova-motion-spec.netlify.app/

Depends on: 2083138
Assignee: nobody → nsharpley

Fade the hover background and shrink the icon on press. A toolbar button
icon shares its box with the hover background, so it shrinks by growing
that box's padding rather than by scaling it. moz-button exposes its
icon as a part so the sidebar can scale it on its own.

See Also: → 2097817
Attachment #9687583 - Attachment description: Bug 2084655 - Animate toolbar and sidebar button hover and press with motion tokens. r?#desktop-theme-reviewers,#reusable-components-reviewers,#sidebar-reviewers → Bug 2084655 - Animate toolbar button hover and press with motion tokens. r?#desktop-theme-reviewers,#reusable-components-reviewers,#sidebar-reviewers
See Also: → 2098167
Attachment #9691938 - Attachment description: WIP: Bug 2084655 - Make toolbarbutton icon a wrapper. → Bug 2084655 - Wrap the toolbarbutton icon image in an icon box. r?#desktop-theme-reviewers,dao
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6003cf0bf884 https://hg.mozilla.org/integration/autoland/rev/ee108a126083 Wrap the toolbarbutton icon image in an icon box. r=emilio,desktop-theme-reviewers,reusable-components-reviewers,akulyk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: