From b3f7ac4b22440170c0cd00c167e2cffd204f0531 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 9 Dec 2024 15:36:39 +0300 Subject: [PATCH 1/2] Launch the dark mode --- frontend/feat/feature-flags.json | 2 +- .../src/components/VFeatureNotice/VDarkModeFeatureNotice.vue | 3 +-- frontend/test/unit/specs/composables/use-dark-mode.spec.ts | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/feat/feature-flags.json b/frontend/feat/feature-flags.json index 1a24598dc3b..180eadaf8dc 100644 --- a/frontend/feat/feature-flags.json +++ b/frontend/feat/feature-flags.json @@ -34,7 +34,7 @@ "dark_mode_ui_toggle": { "status": { "staging": "switchable", - "production": "disabled" + "production": "switchable" }, "defaultState": "on", "description": "Display the UI toggle to change the site color theme and respect system preferences.", diff --git a/frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue b/frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue index 782cd02e6bb..2533a6d5c29 100644 --- a/frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue +++ b/frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue @@ -11,9 +11,8 @@ const handleClick = () => {