Skip to content

feat(settings): add feature flag for dark mode#20179

Open
MagentaManifold wants to merge 1 commit intomainfrom
FXA-13025
Open

feat(settings): add feature flag for dark mode#20179
MagentaManifold wants to merge 1 commit intomainfrom
FXA-13025

Conversation

@MagentaManifold
Copy link
Contributor

Because

  • dark mode needs to be feature flagged

This pull request

  • adds feature flag for dark mode

Issue that this pull request solves

Closes: FXA-13025

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

Because:

* dark mode needs to be feature flagged

This commit:

* adds feature flag for dark mode

Closes FXA-13025
@MagentaManifold MagentaManifold requested a review from a team as a code owner March 11, 2026 20:57
passkeysEnabled: FEATURE_FLAGS_PASSKEYS_ENABLED,
},
darkMode: {
enabled: DARK_MODE_ENABLED,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I put it in its own object instead of in the featureFlags object, because I foresee that we will need at least one more config for it in the future, for setting whether to default to the light theme or to follow system's theme.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant