From cab79d226dd065183b40e809ec277504d32c5955 Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Tue, 19 Dec 2023 19:52:14 +0100 Subject: [PATCH] fix: allow all themes from vega themes in types (#1288) * fix: allow all themes from vega themes in types * Don't allow 'version' as theme --- src/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/embed.ts b/src/embed.ts index d0fdd93e..77ae6849 100644 --- a/src/embed.ts +++ b/src/embed.ts @@ -72,7 +72,7 @@ export interface EmbedOptions { bind?: HTMLElement | string; actions?: boolean | Actions; mode?: Mode; - theme?: 'excel' | 'ggplot2' | 'quartz' | 'vox' | 'dark'; + theme?: keyof Omit; defaultStyle?: boolean | string; logLevel?: number; loader?: Loader | LoaderOptions;