Skip to content

Commit

Permalink
expand docs and opitions for new themes param
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jul 1, 2020
1 parent 8c9ff5f commit e498718
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/kbn-optimizer/src/optimizer/optimizer_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e498718

Please sign in to comment.