diff --git a/frontend/src/components/base/BaseModal/index.vue b/frontend/src/components/base/BaseModal/index.vue index afdc14b0b..49838f5d3 100644 --- a/frontend/src/components/base/BaseModal/index.vue +++ b/frontend/src/components/base/BaseModal/index.vue @@ -238,7 +238,7 @@ onBeforeUnmount(() => {

{{ description }}

diff --git a/frontend/src/layout/components/AppSidebar.vue b/frontend/src/layout/components/AppSidebar.vue index 7ee89dca6..ca2932b5c 100644 --- a/frontend/src/layout/components/AppSidebar.vue +++ b/frontend/src/layout/components/AppSidebar.vue @@ -342,14 +342,14 @@ onBeforeUnmount(() => { class="inline-flex h-4.5 min-w-0 cursor-pointer items-center gap-1 rounded-cp-sm border-0 px-1.5 font-mono text-[10px] leading-none font-bold transition-colors outline-none focus-visible:ring-2 focus-visible:ring-cp-control-outline focus-visible:ring-offset-2 focus-visible:ring-offset-cp-bg-container" :class="[ hasUpdate - ? 'bg-cp-info-bg text-cp-info-text hover:bg-cp-info-bg-hover' + ? 'bg-cp-success-bg text-cp-success-text hover:bg-cp-success-bg-hover' : 'bg-cp-fill-quaternary text-cp-text-quaternary hover:bg-cp-fill-tertiary hover:text-cp-text-secondary', ]" :title="updateButtonLabel" @click="openSystemUpdate" > {{ versionLabel }} - + @@ -408,7 +408,7 @@ onBeforeUnmount(() => {
+ +
diff --git a/frontend/src/views/account-groups/components/AccountGroupMetricsCell.vue b/frontend/src/views/account-groups/components/AccountGroupMetricsCell.vue index 2fdcf4894..ec56baf2e 100644 --- a/frontend/src/views/account-groups/components/AccountGroupMetricsCell.vue +++ b/frontend/src/views/account-groups/components/AccountGroupMetricsCell.vue @@ -26,7 +26,7 @@ const toneClasses: Record = { secondary: 'text-cp-text-secondary', success: 'text-cp-success-text', warning: 'text-cp-warning', - active: 'text-cp-primary-text', + active: 'text-cp-success', } const metrics = computed(() => { diff --git a/frontend/src/views/accounts/constants.ts b/frontend/src/views/accounts/constants.ts index ca7ff8f6a..593dc5ee5 100644 --- a/frontend/src/views/accounts/constants.ts +++ b/frontend/src/views/accounts/constants.ts @@ -147,7 +147,7 @@ export function modelSuccessRateTextClass(successRate: number | null) { if (successRate >= 99.5) return 'text-cp-success-text' if (successRate >= 98) - return 'text-cp-info-text' + return 'text-cp-cyan-text' if (successRate >= 95) return 'text-cp-warning-text' return 'text-cp-error-text' diff --git a/frontend/src/views/dashboard/components/HealthTimelinePointPopover.vue b/frontend/src/views/dashboard/components/HealthTimelinePointPopover.vue index 5745da82e..b3b6918a5 100644 --- a/frontend/src/views/dashboard/components/HealthTimelinePointPopover.vue +++ b/frontend/src/views/dashboard/components/HealthTimelinePointPopover.vue @@ -113,7 +113,7 @@ const metricItems = outcomeMeta
diff --git a/frontend/src/views/dashboard/components/WireProfileCard.vue b/frontend/src/views/dashboard/components/WireProfileCard.vue index 34aac0678..accad1a85 100644 --- a/frontend/src/views/dashboard/components/WireProfileCard.vue +++ b/frontend/src/views/dashboard/components/WireProfileCard.vue @@ -108,7 +108,7 @@ const releaseStatus = computed(() => { return { label: '待检查', title: '尚未检查官方发布渠道', - tone: 'bg-cp-info-bg text-cp-info-text', + tone: 'bg-cp-cyan-bg text-cp-cyan-text-on-bg', icon: RefreshCw, } }) diff --git a/frontend/src/views/usage/components/UsageSummaryCards.vue b/frontend/src/views/usage/components/UsageSummaryCards.vue index 4a8a2f19d..b567e43a2 100644 --- a/frontend/src/views/usage/components/UsageSummaryCards.vue +++ b/frontend/src/views/usage/components/UsageSummaryCards.vue @@ -45,7 +45,7 @@ const items = computed(() => [ icon: Timer, value: averageLatencyDisplay(props.summary.averageLatencyMs), detail: '成功请求平均值', - tone: 'bg-cp-primary-bg text-cp-primary-text', + tone: 'bg-cp-cyan-bg text-cp-cyan-text-on-bg', }, ])