Skip to content

Commit

Permalink
docs: site theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicleo committed Aug 20, 2023
1 parent bc62eab commit 4ebcead
Show file tree
Hide file tree
Showing 11 changed files with 628 additions and 705 deletions.
9 changes: 9 additions & 0 deletions packages/zarm/src/button/demo/basic.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.wrapper {
.za-panel__body {
padding: 12px;
}

.za-button {
margin-right: 12px;
}
}
3 changes: 2 additions & 1 deletion packages/zarm/src/button/demo/basic.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import * as React from 'react';
import { Button, Panel } from 'zarm';
import './basic.scss';

export default () => {
return (
<>
<Panel title="基础用法">
<Panel title="基础用法" className="wrapper">
<Button>default</Button>
<Button theme="primary">primary</Button>
</Panel>
Expand Down

0 comments on commit 4ebcead

Please sign in to comment.