Update link styling to use design tokens
Categories
(Toolkit :: Themes, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: mstriemer, Assigned: hjones)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [recomp])
Attachments
(9 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Bug 1806747 is adding design tokens files that could be used to define our link styling. Once that lands we should look to update our link styling to be backed by our design tokens.
This would likely affect common-shared.css [0] and global-shared.css [1]. It may perhaps make sense to combine some of these styles into something that could be loaded in both cases and supports handling the differences between the two at the token level.
[0] https://searchfox.org/mozilla-central/rev/3424c000a7ff304b2d1efb8561a924232f7f12fc/toolkit/themes/shared/in-content/common-shared.css#703
[1] https://searchfox.org/mozilla-central/rev/3424c000a7ff304b2d1efb8561a924232f7f12fc/toolkit/themes/shared/global-shared.css#144
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Bug 1837458 has some related discussion around HCM styling, which should be incorporated here
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Decided to save the work of creating link utility classes/shared styles for when we have a clearer sense of what that should look like. Instead I went down the path of trying to remove/replace all references to --in-content-link-color-*
vars to see how that process goes.
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D182254
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D182255
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D182256
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D182257
Assignee | ||
Comment 7•2 years ago
|
||
I could be missing something here since I'm not super familiar with this code, but it seems like we pull in in-content/common.css
in aboutwelcome.html
so we should have access to the token values.
Depends on D182258
Assignee | ||
Comment 8•2 years ago
|
||
Not sure how we feel about changing the token values to white for this specific use case. I'm down to try other approaches if setting token values from other stylesheets is something we always want to avoid.
Depends on D182259
Assignee | ||
Comment 9•2 years ago
|
||
Depends on D182260
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 10•2 years ago
|
||
Depends on D182260
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f0db697e9a48
https://hg.mozilla.org/mozilla-central/rev/662f91b6eb9c
https://hg.mozilla.org/mozilla-central/rev/1616cebc8db0
https://hg.mozilla.org/mozilla-central/rev/068b7cd404a3
https://hg.mozilla.org/mozilla-central/rev/1bb91028544e
https://hg.mozilla.org/mozilla-central/rev/9d98996b9895
https://hg.mozilla.org/mozilla-central/rev/07ae37d05047
https://hg.mozilla.org/mozilla-central/rev/a283d52fcb09
https://hg.mozilla.org/mozilla-central/rev/494a7011f528
Updated•1 year ago
|
Description
•