Skip to content

Commit c49aecc

Browse files
committed
...more
1 parent 4b353a4 commit c49aecc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/app/(dashboard)/team/user/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function UserOverview({ user, initialGroups }: Readonly<Props>) {
143143
<div className={"flex items-center gap-3"}>
144144
<div
145145
className={
146-
"w-10 h-10 rounded-full relative flex items-center justify-center text-white uppercase text-md font-medium bg-nb-gray-900"
146+
"w-10 h-10 rounded-full relative flex items-center justify-center text-gray-700 dark:text-white uppercase text-md font-medium bg-gray-200 dark:bg-nb-gray-900"
147147
}
148148
style={
149149
user.is_service_user

src/components/Kbd.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ interface Props extends React.HTMLAttributes<HTMLDivElement>, BadgeVariants {
1111
const variants = cva("", {
1212
variants: {
1313
variant: {
14-
default: ["bg-nb-gray-800 border-nb-gray-700 text-nb-gray-300 "],
14+
default: ["bg-gray-200 border-gray-300 text-gray-700 dark:bg-nb-gray-800 dark:border-nb-gray-700 dark:text-nb-gray-300"],
1515
netbird: ["bg-netbird-100 text-netbird border-netbird "],
1616
},
1717
size: {
1818
default: ["py-2.5 px-1.5 text-xs h-[12px]"],
1919
small: ["py-[9px] px-2 text-[9px] h-[12px] leading-[0]"],
2020
},
2121
disabled: {
22-
true: ["bg-nb-gray-800 border-nb-gray-700 text-nb-gray-300 "],
22+
true: ["bg-gray-100 border-gray-200 text-gray-400 dark:bg-nb-gray-800 dark:border-nb-gray-700 dark:text-nb-gray-300"],
2323
},
2424
},
2525
});

src/components/PeerGroupSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export function PeerGroupSelector({
385385
>
386386
<div
387387
className={
388-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
388+
"flex items-center bg-gray-200 border-gray-300 text-gray-700 dark:bg-nb-gray-800 dark:border-nb-gray-500 dark:text-nb-gray-300 py-1 px-1.5 rounded-[4px] border"
389389
}
390390
>
391391
<IconArrowBack size={10} />

src/modules/groups/GroupSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function GroupSelector({
126126
>
127127
<div
128128
className={
129-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
129+
"flex items-center bg-gray-200 border-gray-300 text-gray-700 dark:bg-nb-gray-800 dark:border-nb-gray-500 dark:text-nb-gray-300 py-1 px-1.5 rounded-[4px] border"
130130
}
131131
>
132132
<IconArrowBack size={10} />

src/modules/users/table-cells/ServiceUserNameCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function ServiceUserNameCell({ user }: Props) {
1212
<div className={cn("flex gap-4 px-2 py-1 items-center")}>
1313
<div
1414
className={
15-
"w-8 h-8 rounded-full relative flex items-center justify-center text-white uppercase text-md font-medium bg-gray-500 dark:bg-nb-gray-900"
15+
"w-8 h-8 rounded-full relative flex items-center justify-center text-gray-700 dark:text-white uppercase text-md font-medium bg-gray-200 dark:bg-nb-gray-900"
1616
}
1717
>
1818
<IconSettings2 size={14} />

src/modules/users/table-cells/UserNameCell.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function UserNameCell({ user }: Props) {
1717
>
1818
<div
1919
className={
20-
"w-10 h-10 rounded-full relative flex items-center justify-center text-white uppercase text-md font-medium bg-gray-500 dark:bg-nb-gray-900"
20+
"w-10 h-10 rounded-full relative flex items-center justify-center text-gray-700 dark:text-white uppercase text-md font-medium bg-gray-200 dark:bg-nb-gray-900"
2121
}
2222
style={{
2323
color: user?.name
@@ -30,7 +30,7 @@ export default function UserNameCell({ user }: Props) {
3030
{(status == "invited" || status == "blocked") && (
3131
<div
3232
className={cn(
33-
"w-5 h-5 absolute -right-1 -bottom-1 bg-nb-gray-930 rounded-full flex items-center justify-center border-2 border-nb-gray-950",
33+
"w-5 h-5 absolute -right-1 -bottom-1 bg-gray-100 dark:bg-nb-gray-930 rounded-full flex items-center justify-center border-2 border-gray-200 dark:border-nb-gray-950",
3434
status == "invited" && "bg-yellow-400 text-yellow-900",
3535
status == "blocked" && "bg-red-500 text-red-100",
3636
)}
@@ -53,7 +53,7 @@ export default function UserNameCell({ user }: Props) {
5353
</span>
5454
)}
5555
</span>
56-
<span className={cn("text-sm text-nb-gray-400")}>{user.email}</span>
56+
<span className={cn("text-sm text-gray-500 dark:text-nb-gray-400")}>{user.email}</span>
5757
</div>
5858
</div>
5959
);

0 commit comments

Comments
 (0)