fix(admin-ui): Eliminate purple from most-visible components (#3639)
This commit is contained in:
committed by
GitHub
parent
5e405be02c
commit
851a981880
@@ -18,7 +18,7 @@ type AvatarProps = {
|
||||
const Avatar: React.FC<AvatarProps> = ({
|
||||
user,
|
||||
font = "inter-small-semibold",
|
||||
color = "bg-violet-60",
|
||||
color = "bg-grey-80",
|
||||
isLoading = false,
|
||||
}) => {
|
||||
let username: string
|
||||
|
||||
@@ -34,7 +34,7 @@ const SettingsCard: React.FC<SettingsCardProps> = ({
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div className="h-2xlarge w-2xlarge bg-violet-20 rounded-circle text-violet-60 group-disabled:bg-grey-10 group-disabled:text-grey-40 flex items-center justify-center">
|
||||
<div className="h-2xlarge w-2xlarge bg-grey-10 rounded-circle text-grey-60 group-disabled:bg-grey-10 group-disabled:text-grey-40 flex items-center justify-center">
|
||||
{icon}
|
||||
</div>
|
||||
<div className="mx-large flex-1 text-left">
|
||||
|
||||
@@ -11,7 +11,7 @@ type CustomerAvatarItemProps = {
|
||||
}
|
||||
|
||||
const CustomerAvatarItem: React.FC<CustomerAvatarItemProps> = ({
|
||||
color = "bg-violet-60",
|
||||
color = "bg-grey-80",
|
||||
customer,
|
||||
}: CustomerAvatarItemProps) => {
|
||||
const identifier =
|
||||
|
||||
@@ -7,7 +7,7 @@ type SidebarTeamMemberProps = {
|
||||
}
|
||||
|
||||
const SidebarTeamMember: React.FC<SidebarTeamMemberProps> = ({
|
||||
color = "bg-violet-60",
|
||||
color = "bg-grey-80",
|
||||
user,
|
||||
}: SidebarTeamMemberProps) => {
|
||||
const fullName =
|
||||
|
||||
@@ -35,7 +35,7 @@ const UserMenu: React.FC = () => {
|
||||
<Avatar
|
||||
user={{ ...user }}
|
||||
isLoading={isLoading}
|
||||
color="bg-fuschia-40"
|
||||
color="bg-grey-80"
|
||||
/>
|
||||
</div>
|
||||
</DropdownMenu.Trigger>
|
||||
|
||||
@@ -421,7 +421,7 @@ const DraftOrderDetails = () => {
|
||||
<Avatar
|
||||
user={cart?.customer}
|
||||
font="inter-large-semibold"
|
||||
color="bg-fuschia-40"
|
||||
color="bg-grey-80"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -285,7 +285,7 @@ const Summary = () => {
|
||||
<div className="flex items-center">
|
||||
<div className="mr-3 h-5 w-5">
|
||||
<Avatar
|
||||
color="bg-fuschia-40"
|
||||
color="bg-grey-80"
|
||||
user={{
|
||||
email,
|
||||
first_name: shipping?.first_name,
|
||||
|
||||
Reference in New Issue
Block a user