Skip to content

Commit cbe9268

Browse files
committed
more...
1 parent bac081b commit cbe9268

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

src/components/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const buttonVariants = cva(
5151
"dark:bg-nb-gray-900/30 dark:text-gray-400 dark:border-gray-500/40 dark:hover:text-white dark:hover:bg-zinc-800/50",
5252
],
5353
tertiary: [
54-
"bg-white hover:text-black focus:ring-zinc-200/50 hover:bg-gray-100 border-gray-200 text-gray-900",
54+
"bg-black text-white focus:ring-black/50",
5555
"dark:focus:ring-zinc-800/50 dark:bg-white dark:text-gray-800 dark:border-gray-700/40 dark:hover:bg-neutral-200 disabled:dark:bg-nb-gray-920 disabled:dark:text-nb-gray-300",
5656
],
5757
white: [

src/modules/peers/PeerOSCell.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function PeerOSCell({ os, serial }: Readonly<Props>) {
3131
>
3232
<div
3333
className={
34-
"h-6 w-6 flex items-center justify-center grayscale brightness-[100%] contrast-[40%]"
34+
"h-6 w-6 flex items-center justify-center"
3535
}
3636
>
3737
<OSLogo os={os} />
@@ -85,15 +85,15 @@ export function OSLogo({ os }: { os: string }) {
8585
}, [os]);
8686

8787
if (icon === OperatingSystem.WINDOWS)
88-
return <FaWindows className={"text-white text-lg"} />;
88+
return <FaWindows className={"text-black dark:text-white text-lg"} />;
8989
if (icon === OperatingSystem.APPLE)
9090
return <Image src={AppleLogo} alt={""} width={14} />;
9191
if (icon === OperatingSystem.FREEBSD)
9292
return <Image src={FreeBSDLogo} alt={""} width={18} />;
9393
if (icon === OperatingSystem.IOS)
94-
return <IOSIcon className={"fill-white"} size={20} />;
94+
return <IOSIcon className={"fill-black dark:fill-white"} size={20} />;
9595
if (icon === OperatingSystem.ANDROID)
96-
return <FcAndroidOs className={"text-white text-2xl brightness-200"} />;
96+
return <FcAndroidOs className={"text-2xl"} />;
9797

98-
return <FcLinux className={"text-white text-2xl brightness-150"} />;
98+
return <FcLinux className={"text-2xl"} />;
9999
}

src/modules/routes/RouteTable.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export default function RouteTable({ row }: Props) {
133133
tableClassName={"mt-0"}
134134
minimal={true}
135135
showSearchAndFilters={false}
136-
className={"bg-neutral-900/50 py-2"}
137136
inset={true}
138137
text={"Network Routes"}
139138
manualPagination={true}

src/modules/settings/DangerZoneTab.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import React from "react";
1111
import SettingsIcon from "@/assets/icons/SettingsIcon";
1212
import { useDialog } from "@/contexts/DialogProvider";
1313
import { Account } from "@/interfaces/Account";
14+
import classNames from "classnames";
1415

1516
type Props = {
1617
account: Account;
@@ -69,15 +70,17 @@ export default function DangerZoneTab({ account }: Props) {
6970
<h1>Danger Zone</h1>
7071
<div className={"gap-6 mt-6 max-w-lg"}>
7172
<Card
72-
className={
73-
"w-full flex flex-col gap-2 border-red-600 bg-red-950/50"
74-
}
73+
className={classNames(
74+
"w-full border border-transparent mt-4 rounded-lg",
75+
"bg-red-50",
76+
"dark:bg-nb-gray-900/50 dark:border-nb-gray-700/50",
77+
)}
7578
>
7679
<div className={"px-8 py-6"}>
77-
<p className={"text-xl font-medium mb-2 !text-red-50"}>
80+
<p className={"text-xl font-medium mb-2 text-red-700 dark:text-red-50"}>
7881
Delete NetBird account
7982
</p>
80-
<p className={"!text-red-50/80"}>
83+
<p className={"text-red-600 dark:text-red-50/80"}>
8184
Before proceeding to delete your Netbird account, please be
8285
aware that this action is irreversible. Once your account is
8386
deleted, you will permanently lose access to all associated

0 commit comments

Comments
 (0)