Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: lint fix
  • Loading branch information
georgewrmarshall committed Oct 1, 2025
commit 441076f0cf8aedda35b94f46440eac0768b1393b
12 changes: 6 additions & 6 deletions apps/storybook-react/stories/Backgrounds.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ const Backgrounds: React.FC = () => {
{/* Background layers demonstration */}
<Box className="space-y-6">
{/* Default Background with Section */}
<Box className="bg-default p-6 rounded-lg">
<Box className="rounded-lg bg-default p-6">
<Text variant={TextVariant.HeadingMd} className="mb-4">
Background Default
</Text>
<Text color={TextColor.TextAlternative} className="mb-4">
This is the default background surface
</Text>

<Box className="bg-section p-4 rounded-lg">
<Box className="rounded-lg bg-section p-4">
<Text variant={TextVariant.HeadingSm} className="mb-2">
Background Section
</Text>
<Text color={TextColor.TextAlternative} className="mb-4">
Section background over default
</Text>

<Box className="bg-subsection p-4 rounded-lg">
<Box className="rounded-lg bg-subsection p-4">
<Box
flexDirection={BoxFlexDirection.Row}
alignItems={BoxAlignItems.Center}
Expand All @@ -76,15 +76,15 @@ const Backgrounds: React.FC = () => {
</Box>

{/* Modal-like example */}
<Box className="bg-alternative p-8 rounded-lg">
<Box className="rounded-lg bg-alternative p-8">
<Text variant={TextVariant.HeadingMd} className="mb-4">
Background Alternative
</Text>
<Text color={TextColor.TextAlternative} className="mb-6">
Sunken surface below background/default
</Text>

<Box className="bg-default p-6 rounded-lg max-w-md mx-auto">
<Box className="mx-auto max-w-md rounded-lg bg-default p-6">
<Box
flexDirection={BoxFlexDirection.Column}
alignItems={BoxAlignItems.Center}
Expand All @@ -100,7 +100,7 @@ const Backgrounds: React.FC = () => {
</Box>

{/* Text color examples */}
<Box className="bg-default p-6 rounded-lg">
<Box className="rounded-lg bg-default p-6">
<Text variant={TextVariant.HeadingMd} className="mb-4">
Text & Icon Colors
</Text>
Expand Down