Skip to content

Commit 0b24997

Browse files
committed
adds theme to output
closes #700
1 parent 000f8cd commit 0b24997

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)