fix(admin-ui): Eliminate purple from most-visible components (#3639)

This commit is contained in:
Oliver Windall Juhl
2023-03-30 12:50:33 +02:00
committed by GitHub
parent 5e405be02c
commit 851a981880
7 changed files with 7 additions and 7 deletions
@@ -18,7 +18,7 @@ type AvatarProps = {
const Avatar: React.FC<AvatarProps> = ({ const Avatar: React.FC<AvatarProps> = ({
user, user,
font = "inter-small-semibold", font = "inter-small-semibold",
color = "bg-violet-60", color = "bg-grey-80",
isLoading = false, isLoading = false,
}) => { }) => {
let username: string 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} {icon}
</div> </div>
<div className="mx-large flex-1 text-left"> <div className="mx-large flex-1 text-left">
@@ -11,7 +11,7 @@ type CustomerAvatarItemProps = {
} }
const CustomerAvatarItem: React.FC<CustomerAvatarItemProps> = ({ const CustomerAvatarItem: React.FC<CustomerAvatarItemProps> = ({
color = "bg-violet-60", color = "bg-grey-80",
customer, customer,
}: CustomerAvatarItemProps) => { }: CustomerAvatarItemProps) => {
const identifier = const identifier =
@@ -7,7 +7,7 @@ type SidebarTeamMemberProps = {
} }
const SidebarTeamMember: React.FC<SidebarTeamMemberProps> = ({ const SidebarTeamMember: React.FC<SidebarTeamMemberProps> = ({
color = "bg-violet-60", color = "bg-grey-80",
user, user,
}: SidebarTeamMemberProps) => { }: SidebarTeamMemberProps) => {
const fullName = const fullName =
@@ -35,7 +35,7 @@ const UserMenu: React.FC = () => {
<Avatar <Avatar
user={{ ...user }} user={{ ...user }}
isLoading={isLoading} isLoading={isLoading}
color="bg-fuschia-40" color="bg-grey-80"
/> />
</div> </div>
</DropdownMenu.Trigger> </DropdownMenu.Trigger>
@@ -421,7 +421,7 @@ const DraftOrderDetails = () => {
<Avatar <Avatar
user={cart?.customer} user={cart?.customer}
font="inter-large-semibold" font="inter-large-semibold"
color="bg-fuschia-40" color="bg-grey-80"
/> />
</div> </div>
<div> <div>
@@ -285,7 +285,7 @@ const Summary = () => {
<div className="flex items-center"> <div className="flex items-center">
<div className="mr-3 h-5 w-5"> <div className="mr-3 h-5 w-5">
<Avatar <Avatar
color="bg-fuschia-40" color="bg-grey-80"
user={{ user={{
email, email,
first_name: shipping?.first_name, first_name: shipping?.first_name,