Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Add feature flag to display the dark mode UI toggle (#4809)

zackd1bd9bcc2075
diff --git a/frontend/feat/feature-flags.json b/frontend/feat/feature-flags.json
index 434727346..f301b0848 100644
--- a/frontend/feat/feature-flags.json
+++ b/frontend/feat/feature-flags.json
@@ -39,6 +39,15 @@
"defaultState": "off",
"description": "Force the site to render in dark mode.",
"storage": "session"
+ },
+ "dark_mode_ui_toggle": {
+ "status": {
+ "staging": "switchable",
+ "production": "disabled"
+ },
+ "defaultState": "off",
+ "description": "Display the UI toggle to change the site color theme.",
+ "storage": "cookie"
}
},
"groups": [