feat: 新增租戶品牌客製化系統(Logo、主色系)、修正 hardcoded 顏色為 CSS 變數
This commit is contained in:
@@ -68,7 +68,7 @@ export default function RoleIndex({ roles }: Props) {
|
||||
<div className="flex items-center justify-between mb-6">
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-grey-0 flex items-center gap-2">
|
||||
<Shield className="h-6 w-6 text-[#01ab83]" />
|
||||
<Shield className="h-6 w-6 text-primary-main" />
|
||||
角色與權限
|
||||
</h1>
|
||||
<p className="text-gray-500 mt-1">
|
||||
@@ -123,7 +123,7 @@ export default function RoleIndex({ roles }: Props) {
|
||||
className={cn(
|
||||
"flex items-center justify-center gap-1 w-full h-full py-2 rounded-md transition-colors",
|
||||
role.users_count > 0
|
||||
? "text-[#01ab83] hover:bg-[#01ab83]/10 font-bold"
|
||||
? "text-primary-main hover:bg-primary-main/10 font-bold"
|
||||
: "text-gray-400 cursor-default"
|
||||
)}
|
||||
title={role.users_count > 0 ? "點擊查看成員名單" : ""}
|
||||
@@ -177,7 +177,7 @@ export default function RoleIndex({ roles }: Props) {
|
||||
<DialogContent className="sm:max-w-md">
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center gap-2">
|
||||
<Users className="h-5 w-5 text-[#01ab83]" />
|
||||
<Users className="h-5 w-5 text-primary-main" />
|
||||
{selectedRole?.display_name} - 成員名單
|
||||
</DialogTitle>
|
||||
<DialogDescription>
|
||||
@@ -204,7 +204,7 @@ export default function RoleIndex({ roles }: Props) {
|
||||
</div>
|
||||
<Link
|
||||
href={route('users.edit', user.id)}
|
||||
className="text-xs text-[#01ab83] hover:underline font-medium"
|
||||
className="text-xs text-primary-main hover:underline font-medium"
|
||||
>
|
||||
查看帳號
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user