fix(ui): [UI7-2] 统一全局 Design Tokens,移除冗余字体,修复异常色值引用

这个提交包含在:
2026-03-06 09:48:37 +08:00
父节点 62fd2a5398
当前提交 73b51ac068
共修改 39 个文件,包含 253 行新增和 250 行删除
+6 -6
查看文件
@@ -189,7 +189,7 @@ export function UserManagementPage() {
placeholder="搜索工号/姓名/手机号/邮箱"
/>
<select
className="h-11 rounded-lg border border-slate-300 bg-white px-3 py-2 text-sm"
className="h-11 rounded-lg border border-zinc-300 bg-white px-3 py-2 text-sm"
data-testid="users-status-filter"
value={status}
onChange={(e) => {
@@ -216,7 +216,7 @@ export function UserManagementPage() {
</p>
) : null}
<div className="rounded-lg border border-slate-200">
<div className="rounded-lg border border-zinc-200">
<Table data-testid="users-table">
<TableHeader>
<tr>
@@ -232,14 +232,14 @@ export function UserManagementPage() {
listQuery.data?.items.map((item) => (
<TableRow data-testid="users-row" key={item.id}>
<TableCell>
<div className="font-medium text-slate-900">
<div className="font-medium text-zinc-900">
{item.employeeNo} / {item.name}
</div>
<div className="text-xs text-slate-500 font-mono">{item.id}</div>
<div className="text-xs text-zinc-500 font-mono">{item.id}</div>
</TableCell>
<TableCell className="text-sm">
<div>{item.email}</div>
<div className="text-slate-500">{item.phone}</div>
<div className="text-zinc-500">{item.phone}</div>
</TableCell>
<TableCell><StatusBadge status={item.status} /></TableCell>
<TableCell className="text-xs">{formatRoleCodes(item.roleCodes)}</TableCell>
@@ -283,7 +283,7 @@ export function UserManagementPage() {
))
) : (
<TableRow>
<TableCell colSpan={5} className="py-3 text-slate-500">
<TableCell colSpan={5} className="py-3 text-zinc-500">
暂无数据
</TableCell>
</TableRow>