Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit a25865c

Browse files
zicodengpedronauck
authored andcommitted
feat: add Ztopia theme (#66)
1 parent 65811ab commit a25865c

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/docs/themes/components/Cards.tsx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ const Wrapper = styled.div`
1313

1414
const Card = styled(BaseCard)`
1515
${mq({
16-
width: ['100%', 'calc(50% - 20px)', 'calc(33% - 20px)', 'calc(33% - 20px)'],
17-
margin: ['10px 0', '10px', '10px', '10px']
18-
})};
16+
width: ['100%', 'calc(50% - 20px)', 'calc(33% - 20px)', 'calc(33% - 20px)'],
17+
margin: ['10px 0', '10px', '10px', '10px'],
18+
})};
1919
`
2020

2121
export const Cards: SFC = () => (
@@ -26,5 +26,11 @@ export const Cards: SFC = () => (
2626
description="Default theme created by docz"
2727
link="https://github.com/pedronauck/docz/tree/master/core/docz-theme-default"
2828
/>
29+
<Card
30+
image="https://github.com/zicodeng/docz-theme-ztopia/blob/master/public/images/demo.gif?raw=true"
31+
name="docz-theme-ztopia"
32+
description="Ztopia theme created by zicodeng"
33+
link="https://github.com/zicodeng/docz-theme-ztopia"
34+
/>
2935
</Wrapper>
3036
)

0 commit comments

Comments
 (0)