Skip to content

Commit

Permalink
fix: base font family update
Browse files Browse the repository at this point in the history
  • Loading branch information
3lang3 committed Jul 28, 2021
1 parent fc4fb0a commit cf0707a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-vant",
"version": "0.0.20",
"version": "0.0.21",
"description": "React Mobile UI Components base on Vant UI",
"repository": "https://github.com/3lang3/react-vant.git",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/flex/demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default (): React.ReactNode => {
return (
<DemoSection>
<DemoBlock title="基础用法">
<Flex>
<Flex justify="center" align="center">
<Flex.Item span={12}>span: 12</Flex.Item>
<Flex.Item span={12}>span: 12</Flex.Item>
</Flex>
Expand Down
3 changes: 2 additions & 1 deletion src/styles/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
@line-height-sm: 18 * @hd;
@line-height-md: 20 * @hd;
@line-height-lg: 22 * @hd;
@base-font-family: PingFangSC-Semibold, PingFang SC;
@base-font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial,
Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
@price-integer-font-family: Avenir-Heavy, PingFang SC, Helvetica Neue, Arial, sans-serif;

// Animation
Expand Down

0 comments on commit cf0707a

Please sign in to comment.