From e49871896d0492eefadaeb153668fdf015ef87bf Mon Sep 17 00:00:00 2001 From: spalger Date: Wed, 1 Jul 2020 12:40:32 -0700 Subject: [PATCH] expand docs and opitions for new `themes` param --- .../kbn-optimizer/src/optimizer/optimizer_config.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts index 859b634fc3a88..54d521d45b3ad 100644 --- a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts +++ b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts @@ -84,10 +84,14 @@ interface Options { /** * style themes that sass files will be converted to, the correct style will be * loaded in the browser automatically by checking the global `__kbnThemeTag__`. - * Specifying additional styles increases build time. Defaults to all styles when - * building the dist + * Specifying additional styles increases build time. + * + * Defaults: + * - "*" when building the dist + * - comma separated list of themes in the `KBN_OPTIMIZER_THEME` env var + * - "k7light" */ - themes?: ThemeTag[]; + themes?: ThemeTag | '*' | ThemeTag[]; } interface ParsedOptions {