Skip to content

Commit

Permalink
Update instances of Spotlight in docs and pages
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Dec 19, 2024
1 parent 739ee93 commit 707560d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions storybook/src/components/Breakout/Breakout.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const Default: Story = {
args: {
children: [
<Breakout.Cell colSpan="all" has="spotlight" key={1} rowSpan={{ medium: 2, narrow: 2, wide: 1 }} rowStart={2}>
<Spotlight />
<Spotlight color="green" />
</Breakout.Cell>,
<Breakout.Cell
colSpan={{ medium: 8, narrow: 4, wide: 6 }}
Expand Down Expand Up @@ -57,7 +57,7 @@ export const VerticalLayout: Story = {
args: {
children: [
<Breakout.Cell colSpan="all" has="spotlight" key={1} rowSpan={2} rowStart={2}>
<Spotlight />
<Spotlight color="orange" />
</Breakout.Cell>,
<Breakout.Cell colSpan="all" has="figure" key={2} rowSpan={2} rowStart={1}>
<Image alt="" src="https://picsum.photos/1600/900" />
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/pages/amsterdam/ArticlePage/ArticleBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const ArticleBody = ({ lead, paragraph1, spotlightHeading, spotlightLinkL
<Paragraph>{paragraph1}</Paragraph>
</Grid.Cell>
</Grid>
<Spotlight as="section" color="purple">
<Spotlight as="section">
<Grid paddingTop="medium" paddingBottom="large">
<Grid.Cell span={{ narrow: 4, medium: 6, wide: 8 }} start={{ narrow: 1, medium: 2, wide: 3 }}>
<Column gap="small">
Expand Down
2 changes: 1 addition & 1 deletion storybook/src/pages/amsterdam/HomePage/HomeSpotlight.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Grid, Heading, Link, Paragraph, Spotlight } from '@amsterdam/design-system-react'

export const HomeSpotlight = () => (
<Spotlight color="purple">
<Spotlight>
<Grid paddingVertical="medium">
<Grid.Cell span={{ narrow: 4, medium: 4, wide: 6 }}>
<Heading className="ams-mb--xs" inverseColor size="level-2">
Expand Down

0 comments on commit 707560d

Please sign in to comment.