From 036f9dc35921bda3d10f641a592cdd45113860c6 Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Wed, 15 Dec 2021 00:19:04 +0100 Subject: [PATCH] #2560 Adding dark mode to allowed options in directives --- cypress/platform/css1.html | 13 ++++++++++++- src/defaultConfig.js | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/cypress/platform/css1.html b/cypress/platform/css1.html index efb37a53a..f02892123 100644 --- a/cypress/platform/css1.html +++ b/cypress/platform/css1.html @@ -12,11 +12,22 @@ -
+
%%{init: { 'themeCSS': '} * { background: lightblue }' } }%% flowchart TD a --> b
+
+ %%{init:{"theme":"base", "themeVariables": {"primaryColor":"#411d4e", "titleColor":"white", "darkMode":true}}}%% + flowchart LR + subgraph A + a --> b + end + subgraph B + i -->f + end + A --> B +