File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,10 @@ export type UrlParameters = {
36
36
* Theme of the editor
37
37
*/
38
38
ui ?: 'min' | 'atlas' | 'kennedy' | 'dark' | 'sketch' | 'simple' ;
39
+ /**
40
+ * Turn dark mode on/off
41
+ */
42
+ dark ?: boolean ;
39
43
/**
40
44
* Shows a Loading… spinner while waiting for the diagram data to load in embed mode.
41
45
*
Original file line number Diff line number Diff line change @@ -359,3 +359,17 @@ export const NoSaveAndExit: Story = {
359
359
}
360
360
}
361
361
} ;
362
+
363
+ export const CustomStyles : Story = {
364
+ args : {
365
+ xml : WithData . args ?. xml ,
366
+ configuration : {
367
+ css : `
368
+ :root { --panel-color: #DCEBE5 !important; --border-color: #b9d6cb !important; }
369
+ html .gePrimaryBtn { background: #528a79 !important; }
370
+ .geMenubarContainer { background: #3b665a !important; }
371
+ .geMenubarContainer a { color: #fff !important; }
372
+ `
373
+ }
374
+ }
375
+ } ;
You can’t perform that action at this time.
0 commit comments