style: set theme token

This commit is contained in:
jialin
2025-03-27 18:32:44 +08:00
parent 8d444f24f8
commit db417e6a5f
22 changed files with 142 additions and 102 deletions
@@ -167,15 +167,7 @@ const AddModal: FC<AddModalProps> = (props) => {
<Drawer
title={
<div className="flex-between flex-center">
<span
style={{
color: 'var(--ant-color-text)',
fontWeight: 'var(--font-weight-medium)',
fontSize: 'var(--font-size-middle)'
}}
>
{title}
</span>
<span>{title}</span>
<Button type="text" size="small" onClick={handleCancel}>
<CloseOutlined></CloseOutlined>
</Button>
+3 -1
View File
@@ -585,7 +585,9 @@ const Models: React.FC<ModelsProps> = ({
{ api: `${window.location.origin}/v1` }
)}
>
{intl.formatMessage({ id: 'models.form.replicas' })}
<span style={{ fontWeight: 'var(--font-weight-medium)' }}>
{intl.formatMessage({ id: 'models.form.replicas' })}
</span>
<QuestionCircleOutlined className="m-l-5" />
</Tooltip>
),
@@ -107,7 +107,7 @@ const ViewLogsModal: React.FC<ViewModalProps> = (props) => {
<div className="viewer-wrapper" ref={contentRef}>
<LogsViewer
ref={logsViewerRef}
diffHeight={93}
diffHeight={78}
url={url}
tail={tail}
enableScorllLoad={enableScorllLoad}