From aee55b5de1891db9c0d4aeb4d7ef767265be585d Mon Sep 17 00:00:00 2001 From: Charlotte Date: Wed, 18 Oct 2023 14:58:44 +0100 Subject: [PATCH] add dark mode switch for dcar project --- 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 b1da0162322..c75534758e7 100644 --- a/common/app/conf/switches/FeatureSwitches.scala +++ b/common/app/conf/switches/FeatureSwitches.scala @@ -542,4 +542,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, + ) }