fix(clients): make empty-state text readable on dark/ultra themes

The "No clients yet" empty state had a hardcoded black color
(rgba(0,0,0,0.45)) that vanished against the dark backgrounds.
Drop the inline color, let it inherit from the AntD theme, and
fade with opacity like the mobile card empty state already does.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
MHSanaei 2026-05-18 00:41:19 +02:00
parent ad56b1bbd7
commit 14ad255c38
No known key found for this signature in database
GPG key ID: 7E4060F2FBE5AB7A

View file

@ -724,7 +724,7 @@ const columns = computed(() => [
</template>
<template #emptyText>
<div style="padding: 32px 0; color: rgba(0, 0, 0, 0.45); text-align: center">
<div class="clients-empty">
<UserOutlined style="font-size: 32px; margin-bottom: 8px" />
<div>{{ t('pages.clients.empty') || 'No clients yet.' }}</div>
</div>
@ -1013,6 +1013,12 @@ const columns = computed(() => [
gap: 8px;
}
.clients-empty {
padding: 32px 0;
text-align: center;
opacity: 0.55;
}
.danger-item {
color: #ff4d4f;
}