Skip to content

Commit f38763c

Browse files
committed
Merge branch 'dev' of https://github.com/pattern-lab/patternlab-node into dev
2 parents fdd3f87 + 510e56e commit f38763c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/lib/ui_builder.js

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

595+
//theme
596+
output += 'var theme = ' + JSON.stringify(patternlab.config.theme) + ';' + eol;
597+
595598
//smaller config elements
596599
output += 'var defaultShowPatternInfo = ' + (patternlab.config.defaultShowPatternInfo ? patternlab.config.defaultShowPatternInfo : 'false') + ';' + eol;
597600
output += 'var defaultPattern = "' + (patternlab.config.defaultPattern ? patternlab.config.defaultPattern : 'all') + '";' + eol;

0 commit comments

Comments
 (0)