Skip to content

Commit a04ee17

Browse files
fix: Optimize font color(#2792)
1 parent 7264545 commit a04ee17

File tree

8 files changed

+18
-7
lines changed

8 files changed

+18
-7
lines changed

ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</el-card>
2323
<el-card shadow="never" class="card-add box-card" @click="add_card">
2424
<div class="flex-center">
25-
<AppIcon iconName="Plus" class="add-icon layout-bg p-8 border-r-6" />
25+
<AppIcon iconName="app-add-outlined" class="add-icon layout-bg p-8 border-r-6" />
2626
<span>{{ add_msg }}</span>
2727
</div>
2828
</el-card>

ui/src/components/markdown/ReasoningRander.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const showThink = ref<boolean>(true)
2929
}
3030
.reasoning-md {
3131
padding-left: 8px;
32-
--md-color: var(--app-text-color-secondary) !important;
32+
--md-color: var(--app-input-color-placeholder) !important;
3333
}
3434
}
3535
</style>

ui/src/styles/element-plus.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@
304304
.el-select__caret {
305305
color: var(--app-text-color-secondary);
306306
}
307+
.el-select__wrapper.is-disabled .el-select__caret {
308+
color: var(--app-text-color-disable);
309+
}
307310

308311
// el-textarea
309312
.el-textarea {
@@ -314,6 +317,9 @@
314317
.el-input {
315318
--el-input-text-color: var(--el-text-color-primary);
316319
}
320+
.el-input .el-input__password {
321+
color: var(--app-text-color-secondary) !important;
322+
}
317323

318324
.el-input-group__prepend div.el-select .el-select__wrapper {
319325
background: #ffffff;

ui/src/styles/md-editor.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
margin: 0;
1313
font-size: inherit;
1414
word-break: break-word;
15-
color: var(--el-text-color-primary);
1615
table {
1716
display: block;
1817
}

ui/src/views/application-workflow/index.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
</el-button>
2828
</div>
2929
<div v-else>
30-
<el-button icon="Plus" @click="showPopover = !showPopover">
30+
<el-button @click="showPopover = !showPopover">
31+
<AppIcon iconName="app-add-outlined" class="mr-4"/>
3132
{{ $t('views.applicationWorkflow.setting.addComponent') }}
3233
</el-button>
3334
<el-button @click="clickShowDebug" :disabled="showDebug" v-if="permissionPrecise.debug(id)">

ui/src/views/model/component/CreateModelDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
base_form_data.model_type !== 'TTI'
157157
"
158158
>
159-
<AppIcon iconName="Plus" class="add-icon" />{{ $t('common.add') }}
159+
<AppIcon iconName="app-add-outlined" class="mr-4"/> {{ $t('common.add') }}
160160
</el-button>
161161
</div>
162162
<el-table

ui/src/views/model/component/SelectProviderDialog.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
v-for="item in modelTypeOptions"
2525
:key="item.value"
2626
@click="checkModelType(item.value)"
27+
class="flex-between w-120"
28+
:class="currentModelType === item.text ? 'active' : ''"
2729
>
2830
<span>{{ item.text }}</span>
2931
<el-icon v-if="currentModelType === item.text"><Check /></el-icon>
@@ -57,7 +59,10 @@ const dialogVisible = ref<boolean>(false)
5759
const list_provider = ref<Array<Provider>>([])
5860
const currentModelType = ref('')
5961
const selectModelType = ref('')
60-
const modelTypeOptions = [{ text: t('views.model.modelType.allModel'), value: '' }, ...modelTypeList]
62+
const modelTypeOptions = [
63+
{ text: t('views.model.modelType.allModel'), value: '' },
64+
...modelTypeList,
65+
]
6166
6267
const open = (model_type?: string) => {
6368
dialogVisible.value = true

ui/src/workflow/common/NodeContainer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@drag.prevent
1414
@dragover.prevent
1515
@dragend.prevent
16-
style="width: 70%"
16+
style="width: 69%"
1717
>
1818
<component
1919
:is="iconComponent(`${nodeModel.type}-icon`)"

0 commit comments

Comments
 (0)