mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix: remove theme token (#4947)
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
Some checks are pending
Build Docker Image / build-and-push (push) Waiting to run
Build Pro Image / build-and-push (push) Waiting to run
E2E / Build (push) Waiting to run
E2E / Core and plugins (push) Blocked by required conditions
E2E / plugin-workflow (push) Blocked by required conditions
E2E / plugin-workflow-approval (push) Blocked by required conditions
E2E / plugin-data-source-main (push) Blocked by required conditions
E2E / Comment on PR (push) Blocked by required conditions
NocoBase FrontEnd Test / frontend-test (18) (push) Waiting to run
This commit is contained in:
parent
49cc5eda62
commit
a460b1f1f5
@ -47,10 +47,6 @@ export interface CustomToken extends AliasToken {
|
||||
marginBlock: number;
|
||||
/** 区块的圆角 */
|
||||
borderRadiusBlock: number;
|
||||
/** 区块的 boxShadow */
|
||||
boxShadowBlock: string;
|
||||
/** 区块的下边框 */
|
||||
borderBottomBlock: string;
|
||||
}
|
||||
|
||||
export interface ThemeConfig extends _ThemeConfig {
|
||||
|
@ -15,10 +15,6 @@ const useStyles = genStyleHook('nb-card-item', (token) => {
|
||||
return {
|
||||
[componentCls]: {
|
||||
marginBottom: token.marginBlock,
|
||||
'> .ant-card': {
|
||||
boxShadow: token.boxShadowBlock,
|
||||
borderBottom: token.borderBottomBlock,
|
||||
},
|
||||
},
|
||||
};
|
||||
});
|
||||
|
@ -52,7 +52,7 @@ export const Mobile = () => {
|
||||
token: {
|
||||
marginBlock: 18,
|
||||
borderRadiusBlock: 0,
|
||||
boxShadowBlock: 'none',
|
||||
boxShadowTertiary: 'none',
|
||||
},
|
||||
}}
|
||||
>
|
||||
|
@ -262,7 +262,7 @@ const category: TokenTree<keyof AliasToken | string> = [
|
||||
nameEn: 'Shadow',
|
||||
desc: '',
|
||||
descEn: '',
|
||||
mapToken: ['boxShadow', 'boxShadowSecondary', 'boxShadowBlock'],
|
||||
mapToken: ['boxShadow', 'boxShadowSecondary'],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -1759,21 +1759,5 @@
|
||||
"descEn": "Used to set the radius of the block",
|
||||
"type": "number",
|
||||
"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…
Reference in New Issue
Block a user