Skip to content

Commit

Permalink
feat(odyssey-storybook): add Page Background inverse color option to …
Browse files Browse the repository at this point in the history
…storybook (#1162)

* feat(odyssey-storybook): add Page Background inverse color option to storybook
* chore(odyssey-storybook): update text story to use appropriate background for inverse style
  • Loading branch information
arnoldsandoval-okta authored Nov 9, 2021
1 parent 35e7417 commit b5cd642
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/odyssey-storybook/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ export const parameters = {
default: "white",
values: [
{
name: "white",
name: "Page Background",
value: "#ffffff",
},
{
name: "gradient",
value: "linear-gradient(135deg,#00297a,#1662dd) no-repeat",
name: "Page Background (dark)",
value: "#1d1d21",
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ColorBody.args = {
export const BodyInverse = Template.bind({});
BodyInverse.storyName = "Color: Body, inverse";
BodyInverse.parameters = {
backgrounds: { default: "inverse (gray-900)" },
backgrounds: { default: "Page Background (dark)" },
};
BodyInverse.args = {
children: "Danger (disabled) text color",
Expand Down

0 comments on commit b5cd642

Please sign in to comment.