Skip to content

Commit 0455f6f

Browse files
change base gray to neutral in storybook (#920)
1 parent 273d8aa commit 0455f6f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/storybook/stories/Color/Base/Scales.stories.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ export default {
1111
const bgColors = [
1212
'base-color-black',
1313
'base-color-white',
14-
'base-color-gray-0',
15-
'base-color-gray-1',
16-
'base-color-gray-2',
17-
'base-color-gray-3',
18-
'base-color-gray-4',
19-
'base-color-gray-5',
20-
'base-color-gray-6',
21-
'base-color-gray-7',
22-
'base-color-gray-8',
23-
'base-color-gray-9',
14+
'base-color-neutral-0',
15+
'base-color-neutral-1',
16+
'base-color-neutral-2',
17+
'base-color-neutral-3',
18+
'base-color-neutral-4',
19+
'base-color-neutral-5',
20+
'base-color-neutral-6',
21+
'base-color-neutral-7',
22+
'base-color-neutral-8',
23+
'base-color-neutral-9',
2424
'base-color-blue-0',
2525
'base-color-blue-1',
2626
'base-color-blue-2',
@@ -106,7 +106,7 @@ const bgColors = [
106106
export const AllScales = () => {
107107
return (
108108
<div className="ColorScale--grid">
109-
<Gray />
109+
<Neutral />
110110
<Blue />
111111

112112
<Green />
@@ -126,11 +126,11 @@ export const AllScales = () => {
126126
}
127127
AllScales.tags = ['includeSnapshot']
128128

129-
export const Gray = () => {
130-
const grayColors = bgColors.filter(color => color.includes('gray-'))
129+
export const Neutral = () => {
130+
const neutralColors = bgColors.filter(color => color.includes('neutral-'))
131131
return (
132132
<div>
133-
{grayColors.map(color => (
133+
{neutralColors.map(color => (
134134
<ColorScale color={color} key={color} />
135135
))}
136136
</div>

0 commit comments

Comments
 (0)