From 699525399968285f4b94b35ad28682eb683427c8 Mon Sep 17 00:00:00 2001 From: mollykreis <20542556+mollykreis@users.noreply.github.com> Date: Tue, 28 May 2024 11:39:44 -0500 Subject: [PATCH] update docs for background color in "color" theme --- packages/storybook/src/nimble/banner/banner.stories.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/storybook/src/nimble/banner/banner.stories.ts b/packages/storybook/src/nimble/banner/banner.stories.ts index 3a6b7c2c91..06e6f9fb59 100644 --- a/packages/storybook/src/nimble/banner/banner.stories.ts +++ b/packages/storybook/src/nimble/banner/banner.stories.ts @@ -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'; @@ -92,7 +93,7 @@ export const _banner: StoryObj = { 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),