Skip to content

Commit

Permalink
fix: redo static styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLY-yours committed Sep 7, 2023
1 parent fd85a2f commit fdd904f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/card/src/components/Statistic/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ export interface ProListToken extends ProAliasToken {
const genProStyle: GenerateStyle<ProListToken> = (token) => {
return {
[token.componentCls]: {
'@font-face': {
fontFamily: 'AlipayNumber-Regular',
src: "url('https://gw.alipayobjects.com/as/g/antui/antui-static/1.0.3/fonts/AlipayNumber-Regular.ttf')",
fontWeight: 'normal',
fontStyle: 'normal',
},

display: 'flex',
fontSize: token.fontSize,
'& + &': {
Expand Down Expand Up @@ -47,17 +40,11 @@ const genProStyle: GenerateStyle<ProListToken> = (token) => {
[`${token.antCls}-statistic-content`]: {
'&-value-int': {
fontSize: token.fontSizeHeading3,
fontFamily: `AlipayNumber-Regular,${token.fontFamily}`,
},
},
},
'&-description': {
width: '100%',
[`${token.antCls}-statistic-content`]: {
'&-value': {
fontFamily: `AlipayNumber-Regular,${token.fontFamily}`,
},
},
},
[`${token.antCls}-statistic-title`]: {
color: token.colorText,
Expand Down

0 comments on commit fdd904f

Please sign in to comment.