Closed
Bug 1882122
Opened 1 year ago
Closed 1 year ago
Add remaining space tokens
Categories
(Toolkit :: Themes, task)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
125 Branch
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: jules, Assigned: jules)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We've been adding space (margin, padding, gap) design tokens to capture existing patterns. Folks have been relying on these tokens so let's add some remaining patterns.
A reminder that since space tokens are in relative units. The patterns I am listing below apply to in-content only whereas the browser chrome will have slightly different values depending on font size.
2px
: we have this today in rems as--space-xxsmall
4px
: we have this today in rems as--space-xsmall
8px
: we have this today in rems as--space-small
32px
: we have this today in rems as--space-xlarge
Proposal of more patterns to capture and tweaks:
12px
(potentially--space-medium
) is being used in Shopping, Firefox View, New Tab, panel, Preferences, and more16px
(potentially--space-large
) is such a common pattern that is pretty much all over the codebase24px
(potentially--space-xlarge
) is being used in Add-ons and New Tab- Rename the current
--space-xlarge
to--space-xxlarge
since24px
is taking over xlarge
Assignee | ||
Comment 1•1 year ago
|
||
Added
--space-medium
--space-large
Changed
--space-xlarge
has a new value and the old one is now--space-xxlarge
Updated•1 year ago
|
Assignee: nobody → jules
Status: NEW → ASSIGNED
Pushed by jsimplicio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05cc50cadbef
Add remaining space design tokens r=desktop-theme-reviewers,reusable-components-reviewers,settings-reviewers,mstriemer,emilio
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•