From 077a31912f8e4eb24cf17aa70ff574247c6d454c Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 15 Oct 2019 10:35:17 +0800 Subject: [PATCH] Fix custom themes breaking the welcome demo. (#8259) Fix custom themes breaking the welcome demo. --- .../stories/__snapshots__/storyshot.enzyme.test.js.snap | 1 + .../storyshot.snapshotWithOptionsFunction.test.js.snap | 1 + .../required_with_context/__snapshots__/Welcome.stories.foo | 1 + .../__snapshots__/Welcome.stories.storyshot | 1 + app/react/src/demo/Welcome.tsx | 1 + 5 files changed, 5 insertions(+) diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap b/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap index 7cce1557a845..98e8f443e918 100644 --- a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap +++ b/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap @@ -121,6 +121,7 @@ exports[`Storyshots Welcome To Storybook 1`] = ` style={ Object { "backgroundColor": "#fff", + "color": "#000", "fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif", "lineHeight": 1.4, "padding": 15, diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap b/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap index 8f6c7d58aaa4..9159c88ce289 100644 --- a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap +++ b/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap @@ -101,6 +101,7 @@ exports[`Storyshots Welcome To Storybook 1`] = ` style={ Object { "backgroundColor": "#fff", + "color": "#000", "fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif", "lineHeight": 1.4, "padding": 15, diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo b/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo index f6c3d79e5f99..1cb5fb086b7a 100644 --- a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo +++ b/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo @@ -5,6 +5,7 @@ exports[`Storyshots Welcome To Storybook 1`] = ` style={ Object { "backgroundColor": "#fff", + "color": "#000", "fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif", "lineHeight": 1.4, "padding": 15, diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot b/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot index f6c3d79e5f99..1cb5fb086b7a 100644 --- a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot +++ b/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot @@ -5,6 +5,7 @@ exports[`Storyshots Welcome To Storybook 1`] = ` style={ Object { "backgroundColor": "#fff", + "color": "#000", "fontFamily": "\\"Helvetica Neue\\", Helvetica, \\"Segoe UI\\", Arial, freesans, sans-serif", "lineHeight": 1.4, "padding": 15, diff --git a/app/react/src/demo/Welcome.tsx b/app/react/src/demo/Welcome.tsx index 20c3bb0313f3..64dd824a9881 100644 --- a/app/react/src/demo/Welcome.tsx +++ b/app/react/src/demo/Welcome.tsx @@ -9,6 +9,7 @@ const Main = (props?: React.DetailedHTMLProps, lineHeight: 1.4, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif', backgroundColor: '#fff', + color: '#000', }} /> );