Skip to content

Fix FxA form link contrasts#16128

Merged
maureenlholland merged 1 commit into
mozilla:mainfrom
janbrasna:fix/fxa-form-contrast
Apr 9, 2025
Merged

Fix FxA form link contrasts#16128
maureenlholland merged 1 commit into
mozilla:mainfrom
janbrasna:fix/fxa-form-contrast

Conversation

@janbrasna

@janbrasna janbrasna commented Mar 31, 2025

Copy link
Copy Markdown
Collaborator

If this changeset needs to go into the FXC codebase, please add the WMO and FXC label. 🤷 (the promo is included in more places so most likely yes 🔥🦊)

One-line summary

Needs more specificity for active, focus, visited inherited from base style.

Significant changes and points to review

Not sure if these are regressions from overriding fonts and colors in base not yet in protocol theme, or was a preexisting issue so I'm not adding any comments to review if/once MZP v20 lands some of that in defaults. Figured being as explicit about (non-)inheritance can't hurt either way.

Issue / Bugzilla link

Resolves #15925

Testing

http://localhost:8000/en/firefox/
http://localhost:8000/en/products/

@janbrasna janbrasna requested a review from a team as a code owner March 31, 2025 09:06
@wen-2018 wen-2018 added the WMO and FXC Code relevant to both mozilla/bedrock (www.mozilla.org) and mozmeao/springfield (www.firefox.com) label Apr 8, 2025
@wen-2018 wen-2018 assigned wen-2018 and unassigned wen-2018 Apr 8, 2025

@maureenlholland maureenlholland left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+ ⚡

We should simplify this upstream in protocol, but that will take time. This is a good stop-gap fix. Thanks!

@maureenlholland maureenlholland merged commit 5bbfac9 into mozilla:main Apr 9, 2025
@janbrasna janbrasna deleted the fix/fxa-form-contrast branch April 9, 2025 14:46
@janbrasna

Copy link
Copy Markdown
Collaborator Author

I have a protocol fix for its own inheritance, but this here seems to come from more specific refresh colors, redefining the actual protocol theme in the 2024 base locally. Once there's a refresh-themed default in the actual lib, I think similar overrides can be removed.

(Actually, in cases like this, it should just include @white-links mixin — but I haven't inspected that one yet for compatibility or how widely it's used here when it also needs to interact with refresh tweaks… so I just followed previous patterns. ~ Putting it in my backlog to revise at some point.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WMO and FXC Code relevant to both mozilla/bedrock (www.mozilla.org) and mozmeao/springfield (www.firefox.com)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selected link contrast in FxA signup promo

3 participants