Skip to content

Commit 8f376e7

Browse files
Merge pull request #727 from pattern-lab/feature/redundant-theme-config
fix(ui_builder): Removing redundant config.theme
2 parents b0afce3 + 529728c commit 8f376e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/lib/ui_builder.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,9 +595,6 @@ const ui_builder = function () {
595595
//plugins
596596
output += 'var plugins = ' + JSON.stringify(patternlab.plugins || []) + ';' + eol;
597597

598-
//theme
599-
output += 'var theme = ' + JSON.stringify(patternlab.config.theme) + ';' + eol;
600-
601598
//smaller config elements
602599
output += 'var defaultShowPatternInfo = ' + (patternlab.config.defaultShowPatternInfo ? patternlab.config.defaultShowPatternInfo : 'false') + ';' + eol;
603600
output += 'var defaultPattern = "' + (patternlab.config.defaultPattern ? patternlab.config.defaultPattern : 'all') + '";' + eol;

0 commit comments

Comments
 (0)