Skip to content

Commit 503ab74

Browse files
committed
more...
1 parent 6a3a506 commit 503ab74

File tree

17 files changed

+46
-46
lines changed

17 files changed

+46
-46
lines changed

src/app/(dashboard)/peer/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function PeerOverview() {
179179
<ModalTrigger>
180180
<div
181181
className={
182-
"flex items-center gap-2 dark:text-neutral-300 text-neutral-500 hover:text-neutral-100 transition-all hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-pointer"
182+
"flex items-center gap-2 text-neutral-500 dark:text-neutral-300 hover:text-neutral-700 dark:hover:text-neutral-100 transition-all hover:bg-gray-100 dark:hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-pointer"
183183
}
184184
>
185185
<PencilIcon size={16} />
@@ -241,10 +241,10 @@ function PeerOverview() {
241241
{isOwnerOrAdmin && !!peer?.user_id && (
242242
<div
243243
className={cn(
244-
"border border-nb-gray-900 border-t-0 rounded-b-md bg-nb-gray-940 px-[1.28rem] pt-3 pb-5 flex flex-col gap-4 mx-[0.25rem]",
244+
"border border-gray-200 dark:border-nb-gray-900 border-t-0 rounded-b-md bg-gray-50 dark:bg-nb-gray-940 px-[1.28rem] pt-3 pb-5 flex flex-col gap-4 mx-[0.25rem]",
245245
!loginExpiration
246246
? "opacity-50 pointer-events-none"
247-
: "bg-nb-gray-930/80",
247+
: "bg-gray-100 dark:bg-nb-gray-930/80",
248248
)}
249249
>
250250
<PeerExpirationToggle

src/auth/OIDCError.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const OIDCError = () => {
4040
>
4141
<div
4242
className={
43-
"bg-nb-gray-930 mb-3 border border-nb-gray-900 h-12 w-12 rounded-md flex items-center justify-center "
43+
"bg-gray-100 dark:bg-nb-gray-930 mb-3 border border-gray-200 dark:border-nb-gray-900 h-12 w-12 rounded-md flex items-center justify-center "
4444
}
4545
>
4646
<NetBirdIcon size={23} />

src/auth/SessionLost.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const SessionLost = () => {
2626
>
2727
<div
2828
className={
29-
"bg-nb-gray-930 mb-3 border border-nb-gray-900 h-10 w-10 rounded-md flex items-center justify-center "
29+
"bg-gray-100 dark:bg-nb-gray-930 mb-3 border border-gray-200 dark:border-nb-gray-900 h-10 w-10 rounded-md flex items-center justify-center "
3030
}
3131
>
3232
<NetBirdIcon size={20} />

src/components/DropdownInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const DropdownInput = forwardRef<HTMLInputElement, Props>(
3434
<div className={"absolute right-0 top-0 h-full flex items-center pr-4"}>
3535
<div
3636
className={
37-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
37+
"flex items-center bg-gray-100 dark:bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-gray-300 dark:border-nb-gray-500"
3838
}
3939
>
4040
<IconArrowBack size={10} />

src/components/JSONFileUpload.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ export const JSONFileUpload = ({ onChange }: Props) => {
7171
return (
7272
<div
7373
className={cn(
74-
" flex gap-5 border border-dashed hover:border-nb-gray-600/50 rounded-md border-nb-gray-600/40 items-center justify-center group/upload",
75-
"bg-nb-gray-930/50 hover:bg-nb-gray-930/40 cursor-pointer transition-all px-4 pb-8 pt-6",
76-
dragActive && "border-nb-gray-600/80 hover:border-nb-gray-600/60",
77-
dragActive && "bg-nb-gray-900/40 hover:bg-nb-gray-930/50",
74+
" flex gap-5 border border-dashed hover:border-gray-400/50 rounded-md border-gray-400/40 items-center justify-center group/upload",
75+
"bg-gray-100/50 dark:bg-nb-gray-930/50 hover:bg-gray-100 dark:hover:bg-nb-gray-930/40 cursor-pointer transition-all px-4 pb-8 pt-6",
76+
dragActive && "border-gray-500/80 dark:border-nb-gray-600/80 hover:border-gray-500/60 dark:hover:border-nb-gray-600/60",
77+
dragActive && "bg-gray-200/60 dark:bg-nb-gray-900/40 hover:bg-gray-200 dark:hover:bg-nb-gray-930/50",
7878
)}
7979
onDragEnter={handleDrag}
8080
onDragOver={handleDrag}
@@ -94,20 +94,20 @@ export const JSONFileUpload = ({ onChange }: Props) => {
9494
/>
9595
<div
9696
className={
97-
"bg-nb-gray-930 p-2.5 rounded-md mt-0.5 group-hover/upload:bg-nb-gray-930/80 transition-all"
97+
"bg-gray-200/50 dark:bg-nb-gray-930 p-2.5 rounded-md mt-0.5 group-hover/upload:bg-gray-200 dark:group-hover/upload:bg-nb-gray-930/80 transition-all"
9898
}
9999
>
100100
<FileJson2 size={20} className={"text-netbird"} />
101101
</div>
102102

103103
<div>
104-
<p className={"text-[14px] font-medium text-nb-gray-100 "}>
104+
<p className={"text-[14px] font-medium text-gray-800 dark:text-nb-gray-100 "}>
105105
Upload your service account key (.json)
106106
</p>
107-
<p className={"text-xs !text-nb-gray-300 mt-1"}>
107+
<p className={"text-xs !text-gray-500 dark:!text-nb-gray-300 mt-1"}>
108108
<span
109109
className={
110-
"underline underline-offset-4 group-hover/upload:text-nb-gray-200 transition-all"
110+
"underline underline-offset-4 group-hover/upload:text-gray-600 dark:group-hover/upload:text-nb-gray-200 transition-all"
111111
}
112112
>
113113
Click to upload

src/components/NetworkRouteSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export function NetworkRouteSelector({
9595
className={cn(
9696
"min-h-[42px] w-full relative items-center group",
9797
"border border-neutral-200 dark:border-nb-gray-700 justify-between py-2 px-3",
98-
"rounded-md bg-white text-sm dark:bg-nb-gray-900/40 flex dark:text-neutral-400/70 text-neutral-500 cursor-pointer enabled:hover:dark:bg-nb-gray-900/50",
98+
"rounded-md bg-white text-sm dark:bg-nb-gray-900/40 flex text-neutral-500 dark:text-neutral-400/70 cursor-pointer enabled:hover:bg-gray-50 enabled:hover:dark:bg-nb-gray-900/50",
9999
"disabled:opacity-40 disabled:cursor-default",
100100
)}
101101
disabled={disabled}
@@ -183,7 +183,7 @@ export function NetworkRouteSelector({
183183
>
184184
<div
185185
className={
186-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
186+
"flex items-center bg-gray-100 dark:bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-gray-300 dark:border-nb-gray-500"
187187
}
188188
>
189189
<IconArrowBack size={10} />

src/components/PortSelector.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export function PortSelector({
7171
className={cn(
7272
"min-h-[48px] w-full relative items-center",
7373
"border border-neutral-200 dark:border-nb-gray-700 justify-between py-2 px-3",
74-
"rounded-md bg-white text-sm dark:bg-nb-gray-900/40 flex dark:text-neutral-400/70 text-neutral-500 cursor-pointer hover:dark:bg-nb-gray-900/50",
74+
"rounded-md bg-white text-sm dark:bg-nb-gray-900/40 flex text-neutral-500 dark:text-neutral-400/70 cursor-pointer hover:bg-gray-50 hover:dark:bg-nb-gray-900/50",
7575
)}
7676
data-cy={"port-selector"}
7777
disabled={disabled}
@@ -162,7 +162,7 @@ export function PortSelector({
162162
>
163163
<div
164164
className={
165-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
165+
"flex items-center bg-gray-100 dark:bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-gray-300 dark:border-nb-gray-500"
166166
}
167167
>
168168
<IconArrowBack size={10} />

src/components/select/SelectDropdownSearchInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const SelectDropdownSearchInput = forwardRef<HTMLInputElement, Props>(
4141
<div className={"absolute right-0 top-0 h-full flex items-center pr-4"}>
4242
<div
4343
className={
44-
"flex items-center bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-nb-gray-500"
44+
"flex items-center bg-gray-100 dark:bg-nb-gray-800 py-1 px-1.5 rounded-[4px] border border-gray-300 dark:border-nb-gray-500"
4545
}
4646
>
4747
<IconArrowBack size={10} />

src/components/skeletons/SkeletonTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function TableSkeletonRow({ odd = false }: RowProps) {
3535
return (
3636
<div
3737
className={cn(
38-
odd ? "bg-nb-gray-940/40" : "bg-nb-gray-940",
38+
odd ? "bg-gray-100/40 dark:bg-nb-gray-940/40" : "bg-gray-100 dark:bg-nb-gray-940",
3939
"h-[55px] w-full flex items-center px-8 py-2 justify-between gap-10",
4040
)}
4141
>

src/components/ui/AIButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const AIButton = () => {
1010
>
1111
<div
1212
className={
13-
"flex items-center justify-center w-full h-full gap-2 bg-nb-gray-930/70 px-3 py-2.5 rounded-md"
13+
"flex items-center justify-center w-full h-full gap-2 bg-gray-100/70 dark:bg-nb-gray-930/70 px-3 py-2.5 rounded-md"
1414
}
1515
>
1616
<Sparkles size={16} />

0 commit comments

Comments
 (0)