From 4b55c06dfbb328c461643be6da24825028954e6c Mon Sep 17 00:00:00 2001 From: Charlotte Emms <43961396+cemms1@users.noreply.github.com> Date: Thu, 19 Oct 2023 10:20:21 +0100 Subject: [PATCH] add dark mode switch for dcar project (#26650) --- common/app/conf/switches/FeatureSwitches.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/app/conf/switches/FeatureSwitches.scala b/common/app/conf/switches/FeatureSwitches.scala index 6b1f19c6e7b..ebddab8ee37 100644 --- a/common/app/conf/switches/FeatureSwitches.scala +++ b/common/app/conf/switches/FeatureSwitches.scala @@ -522,4 +522,14 @@ trait FeatureSwitches { exposeClientSide = true, ) + val DarkModeInApps = Switch( + SwitchGroup.Feature, + "dark-mode-apps", + "If this switch is on, we will allow dark mode in apps articles", + owners = Seq(Owner.withEmail("dotcom.platform@theguardian.com")), + safeState = Off, + // This is a random date in the future but this switch should be removed far before then + sellByDate = Some(LocalDate.of(2024, 6, 5)), + exposeClientSide = false, + ) }