From 9a8e85b6471beeeba0ec989520942cec41dd11c0 Mon Sep 17 00:00:00 2001 From: Brandon Shipley Date: Thu, 27 Aug 2026 03:22:29 -0700 Subject: [PATCH] dark mode theme strategy/dataset strategy --- .../element/javascript/dark_mode_bottom.php | 24 ++++++++++--------- .../element/javascript/dark_mode_top.php | 16 +++++++++++-- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/templates/element/javascript/dark_mode_bottom.php b/templates/element/javascript/dark_mode_bottom.php index f4ab6bf..433bc66 100644 --- a/templates/element/javascript/dark_mode_bottom.php +++ b/templates/element/javascript/dark_mode_bottom.php @@ -5,7 +5,7 @@ use Cake\Core\Configure; /** * @var \App\View\AppView $this */ -$strategy = Configure::read('CheeseCake.darkMode.strategy', 'class'); +$strategy = Configure::read('CheeseCake.darkMode.strategy', 'dataset'); ?> + \ No newline at end of file diff --git a/templates/element/javascript/dark_mode_top.php b/templates/element/javascript/dark_mode_top.php index 8dd442d..d04dcec 100644 --- a/templates/element/javascript/dark_mode_top.php +++ b/templates/element/javascript/dark_mode_top.php @@ -1,11 +1,17 @@ - + \ No newline at end of file