mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: remove theme token (#4947)
This commit is contained in:
parent
49cc5eda62
commit
a460b1f1f5
@ -47,10 +47,6 @@ export interface CustomToken extends AliasToken {
|
|||||||
marginBlock: number;
|
marginBlock: number;
|
||||||
/** 区块的圆角 */
|
/** 区块的圆角 */
|
||||||
borderRadiusBlock: number;
|
borderRadiusBlock: number;
|
||||||
/** 区块的 boxShadow */
|
|
||||||
boxShadowBlock: string;
|
|
||||||
/** 区块的下边框 */
|
|
||||||
borderBottomBlock: string;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ThemeConfig extends _ThemeConfig {
|
export interface ThemeConfig extends _ThemeConfig {
|
||||||
|
@ -15,10 +15,6 @@ const useStyles = genStyleHook('nb-card-item', (token) => {
|
|||||||
return {
|
return {
|
||||||
[componentCls]: {
|
[componentCls]: {
|
||||||
marginBottom: token.marginBlock,
|
marginBottom: token.marginBlock,
|
||||||
'> .ant-card': {
|
|
||||||
boxShadow: token.boxShadowBlock,
|
|
||||||
borderBottom: token.borderBottomBlock,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
@ -52,7 +52,7 @@ export const Mobile = () => {
|
|||||||
token: {
|
token: {
|
||||||
marginBlock: 18,
|
marginBlock: 18,
|
||||||
borderRadiusBlock: 0,
|
borderRadiusBlock: 0,
|
||||||
boxShadowBlock: 'none',
|
boxShadowTertiary: 'none',
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
@ -262,7 +262,7 @@ const category: TokenTree<keyof AliasToken | string> = [
|
|||||||
nameEn: 'Shadow',
|
nameEn: 'Shadow',
|
||||||
desc: '',
|
desc: '',
|
||||||
descEn: '',
|
descEn: '',
|
||||||
mapToken: ['boxShadow', 'boxShadowSecondary', 'boxShadowBlock'],
|
mapToken: ['boxShadow', 'boxShadowSecondary'],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -1759,21 +1759,5 @@
|
|||||||
"descEn": "Used to set the radius of the block",
|
"descEn": "Used to set the radius of the block",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"source": "map"
|
"source": "map"
|
||||||
},
|
|
||||||
"boxShadowBlock": {
|
|
||||||
"name": "区块的阴影",
|
|
||||||
"nameEn": "Shadow of block",
|
|
||||||
"desc": "用于设置区块的阴影",
|
|
||||||
"descEn": "Used to set the shadow of the block",
|
|
||||||
"type": "string",
|
|
||||||
"source": "map"
|
|
||||||
},
|
|
||||||
"borderBottomBlock": {
|
|
||||||
"name": "区块的底边框",
|
|
||||||
"nameEn": "Bottom border of block",
|
|
||||||
"desc": "用于设置区块的底边框",
|
|
||||||
"descEn": "Used to set the bottom border of the block",
|
|
||||||
"type": "string",
|
|
||||||
"source": "map"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user