diff --git a/packages/ui/src/components/Flex/Flex.stories.tsx b/packages/ui/src/components/Flex/Flex.stories.tsx index 434655880c..8b3b7af220 100644 --- a/packages/ui/src/components/Flex/Flex.stories.tsx +++ b/packages/ui/src/components/Flex/Flex.stories.tsx @@ -282,16 +282,16 @@ export const BgNeutralAuto = meta.story({ render: args => (
- Flex is a layout primitive and is transparent to the bg system by - default. Only an explicit bg prop establishes a new bg level. Nested - Flex components without a bg prop inherit the parent context unchanged. + Using bg="neutral-auto" on Flex auto-increments from the parent context. + The first Flex defaults to neutral-1 (no parent), then each nested Flex + increments by one, capping at neutral-3.
- -
Neutral 1 (explicit)
- -
Neutral 2 (explicit)
- -
Neutral 3 (explicit, capped)
+ +
Neutral 1 (auto, no parent)
+ +
Neutral 2 (auto-incremented)
+ +
Neutral 3 (auto-incremented, capped)