Skip to content

Commit 1981fbd

Browse files
authored
Merge pull request #119 from LambdaTest/stage
Release PR: `1.1.29`: Add default value of background theme
2 parents feb674b + fec2414 commit 1981fbd

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

commands/storybook.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ async function storybook(serve, options) {
7878
backgroundTheme = storybookConfig.backgroundTheme.toLowerCase();
7979
}
8080

81+
if (storybookConfig.useGlobals === true || storybookConfig.backgroundTheme == undefined) {
82+
useGlobals = true;
83+
backgroundTheme = 'light';
84+
}
85+
8186
// Upload Storybook static
8287
await static.getSignedUrl(options)
8388
.then(async function (response) {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-storybook",
3-
"version": "1.1.28",
3+
"version": "1.1.29",
44
"description": "LambdaTest's command-line interface (CLI) aimed to help you run your SmartUI tests on LambdaTest platform",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)