Skip to content

Commit 19c2492

Browse files
committed
fix: change divider bg
1 parent a5984af commit 19c2492

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

example/storybook/stories/components/composites/Divider/Basic.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ export const Example = () => {
88
<Heading mx="3" alignItems="center" flexDirection="row">
99
Chrome
1010
</Heading>
11-
<Divider my="2" />
11+
<Divider
12+
my="2"
13+
_light={{ bg: 'muted.800' }}
14+
_dark={{ bg: 'muted.50' }}
15+
/>
1216
<Heading mx="3" alignItems="center" flexDirection="row">
1317
Firefox
1418
</Heading>

example/storybook/stories/components/composites/Divider/Orientation.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,19 @@ export const Example = () => {
66
<Box alignItems="center">
77
<Box w="160">
88
<Heading mx="auto">Shoes</Heading>
9-
<Divider my="2" />
9+
<Divider
10+
my="2"
11+
_light={{ bg: 'muted.800' }}
12+
_dark={{ bg: 'muted.50' }}
13+
/>
1014
<Flex mx="3" direction="row" justify="space-evenly" h="60">
1115
<Heading py="2">Girls</Heading>
12-
<Divider orientation="vertical" mx="3" />
16+
<Divider
17+
orientation="vertical"
18+
mx="3"
19+
_light={{ bg: 'muted.800' }}
20+
_dark={{ bg: 'muted.50' }}
21+
/>
1322
<Heading py="2">Boys</Heading>
1423
</Flex>
1524
</Box>

0 commit comments

Comments
 (0)