Skip to content

Commit

Permalink
update docs for background color in "color" theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed May 28, 2024
1 parent 9b1d6c3 commit 6995253
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/storybook/src/nimble/banner/banner.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { html, when } from '@microsoft/fast-element';
import { withActions } from '@storybook/addon-actions/decorator';
import type { HtmlRenderer, Meta, StoryObj } from '@storybook/html';
import { Theme } from '../../../../nimble-components/src/theme-provider/types';
import { iconKeyTag } from '../../../../nimble-components/src/icons/key';
import { buttonTag } from '../../../../nimble-components/src/button';
import { ButtonAppearance, ButtonAppearanceVariant } from '../../../../nimble-components/src/button/types';
Expand Down Expand Up @@ -92,7 +93,7 @@ export const _banner: StoryObj<BannerArgs> = {
options: Object.keys(BannerSeverity),
control: { type: 'radio' },
description:
'Severity of the message presented by the banner. Controls the displayed color and icon. If not set, the banner has a neutral appearance.'
`Severity of the message presented by the banner. Controls the icon displayed within the banner and, in themes other than \`${Theme.color}\`, controls the background color of the banner. If not set, the banner has a neutral appearance.`
},
action: {
options: Object.values(ActionType),
Expand Down

0 comments on commit 6995253

Please sign in to comment.