Skip to content

Commit

Permalink
Remove usage of colors from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobelchior committed Feb 6, 2025
1 parent 879b0bd commit f8b0933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/data/charts/sparkline/CustomYAxis.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function CustomYAxis() {
<Typography>Without fixed y-range</Typography>
<Stack sx={{ width: '100%', mb: 2 }} direction="row" spacing={2}>
<Box sx={{ flexGrow: 1 }}>
<SparkLineChart data={smallValues} colors={['red']} {...settings} />
<SparkLineChart data={smallValues} color="red" {...settings} />
</Box>
<Box sx={{ flexGrow: 1 }}>
<SparkLineChart data={largeValues} {...settings} />
Expand All @@ -34,7 +34,7 @@ export default function CustomYAxis() {
min: 0,
max: 100,
}}
colors={['red']}
color="red"
{...settings}
/>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions docs/data/charts/sparkline/CustomYAxis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function CustomYAxis() {
<Typography>Without fixed y-range</Typography>
<Stack sx={{ width: '100%', mb: 2 }} direction="row" spacing={2}>
<Box sx={{ flexGrow: 1 }}>
<SparkLineChart data={smallValues} colors={['red']} {...settings} />
<SparkLineChart data={smallValues} color="red" {...settings} />
</Box>
<Box sx={{ flexGrow: 1 }}>
<SparkLineChart data={largeValues} {...settings} />
Expand All @@ -34,7 +34,7 @@ export default function CustomYAxis() {
min: 0,
max: 100,
}}
colors={['red']}
color="red"
{...settings}
/>
</Box>
Expand Down

0 comments on commit f8b0933

Please sign in to comment.