Skip to content

Commit b7d5aed

Browse files
authored
Merge pull request #4888 from GeekyAnts/fix/alert-example
fix: changed close icon color
2 parents 7f68b7f + 6a635d7 commit b7d5aed

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

example/storybook/stories/components/composites/Alert/action.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ export function Example() {
3737
<IconButton
3838
variant="unstyled"
3939
_focus={{ borderWidth: 0 }}
40-
icon={<CloseIcon size="3" color="coolGray.600" />}
40+
icon={<CloseIcon size="3" />}
41+
_icon={{ color: 'coolGray.600' }}
4142
onPress={() => setShow(false)}
4243
/>
4344
</HStack>

example/storybook/stories/components/composites/Alert/basic.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export const Example = () => {
3030
<IconButton
3131
variant="unstyled"
3232
_focus={{ borderWidth: 0 }}
33-
icon={<CloseIcon size="3" color="coolGray.600" />}
33+
icon={<CloseIcon size="3" />}
34+
_icon={{ color: 'coolGray.600' }}
3435
/>
3536
</HStack>
3637
<Box pl="6" _text={{ color: 'coolGray.600' }}>

example/storybook/stories/components/composites/Alert/colorScheme.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export function Example() {
3131
<IconButton
3232
variant="unstyled"
3333
_focus={{ borderWidth: 0 }}
34-
icon={<CloseIcon size="3" color="coolGray.600" />}
34+
icon={<CloseIcon size="3" />}
35+
_icon={{ color: 'coolGray.600' }}
3536
/>
3637
</HStack>
3738
<Box pl="6" _text={{ color: 'coolGray.600' }}>

example/storybook/stories/components/composites/Alert/composition.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ export function Example() {
3535
<IconButton
3636
variant="unstyled"
3737
_focus={{ borderWidth: 0 }}
38-
icon={<CloseIcon size="3" color="coolGray.600" />}
38+
icon={<CloseIcon size="3" />}
39+
_icon={{ color: 'coolGray.600' }}
3940
/>
4041
</HStack>
4142
<Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}>

example/storybook/stories/components/composites/Alert/status.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export function Example() {
4646
<IconButton
4747
variant="unstyled"
4848
_focus={{ borderWidth: 0 }}
49-
icon={<CloseIcon size="3" color="coolGray.600" />}
49+
icon={<CloseIcon size="3" />}
50+
_icon={{ color: 'coolGray.600' }}
5051
/>
5152
</HStack>
5253
</VStack>

example/storybook/stories/components/composites/Alert/usage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export function Example() {
2929
<IconButton
3030
variant="unstyled"
3131
_focus={{ borderWidth: 0 }}
32-
icon={<CloseIcon size="3" color="coolGray.600" />}
32+
icon={<CloseIcon size="3" />}
33+
_icon={{ color: 'coolGray.600' }}
3334
/>
3435
</HStack>
3536
<Box pl="6" _text={{ color: 'coolGray.600' }}>

0 commit comments

Comments
 (0)