copy &&
diff --git a/src/components/Code.tsx b/src/components/Code.tsx
index 6dd6b5f2..94a8d8ca 100644
--- a/src/components/Code.tsx
+++ b/src/components/Code.tsx
@@ -40,11 +40,11 @@ export default function Code({
className={cn(
"rounded-md text-sm transition-all relative duration-300 border",
dark
- ? "bg-gray-50 border-neutral-200 dark:border-nb-gray-800 hover:dark:bg-nb-gray-900/80 dark:bg-nb-gray-930"
- : "bg-gray-50 border-neutral-200 dark:border-nb-gray-700 hover:dark:bg-nb-gray-900/80 dark:bg-nb-gray-900",
+ ? "bg-gray-50 border-neutral-200 dark:border-nb-gray-800 hover:bg-gray-100 dark:hover:bg-nb-gray-900/80 dark:bg-nb-gray-930"
+ : "bg-gray-50 border-default hover:bg-gray-100 dark:hover:bg-nb-gray-900/80 dark:bg-nb-gray-900",
dark
- ? "text-nb-gray-300 hover:text-nb-gray-300"
- : "dark:text-nb-gray-200 hover:dark:text-nb-gray-200",
+ ? "text-gray-700 hover:text-gray-900 dark:text-nb-gray-300 dark:hover:text-nb-gray-300"
+ : "text-gray-700 hover:text-gray-900 dark:text-nb-gray-200 dark:hover:text-nb-gray-200",
"overflow-x-auto relative z-0 w-full",
className,
)}
@@ -77,7 +77,7 @@ export default function Code({
function CodeComment({ children }: Props) {
return (
-
+
{children}
);
diff --git a/src/components/Command.tsx b/src/components/Command.tsx
index 1baf391f..61539c19 100644
--- a/src/components/Command.tsx
+++ b/src/components/Command.tsx
@@ -133,7 +133,7 @@ const CommandShortcut = ({
return (
(({ className, ...props }, ref) => (
));
diff --git a/src/components/DropdownInfoText.tsx b/src/components/DropdownInfoText.tsx
index 2ed7122f..2ebd01b4 100644
--- a/src/components/DropdownInfoText.tsx
+++ b/src/components/DropdownInfoText.tsx
@@ -8,7 +8,7 @@ type Props = {
export const DropdownInfoText = ({ children, className }: Props) => {
return (
-
+
{children}
);
diff --git a/src/components/DropdownInput.tsx b/src/components/DropdownInput.tsx
index 7928ab0f..eb28aff8 100644
--- a/src/components/DropdownInput.tsx
+++ b/src/components/DropdownInput.tsx
@@ -17,10 +17,10 @@ export const DropdownInput = forwardRef
(
onChange(e.target.value)}
@@ -34,7 +34,7 @@ export const DropdownInput = forwardRef(
diff --git a/src/components/DropdownMenu.tsx b/src/components/DropdownMenu.tsx
index 5c3248a8..93717f24 100644
--- a/src/components/DropdownMenu.tsx
+++ b/src/components/DropdownMenu.tsx
@@ -78,9 +78,9 @@ const menuItemVariants = cva("", {
variants: {
variant: {
default:
- "dark:focus:bg-nb-gray-900 dark:focus:text-gray-50 dark:text-gray-400",
+ "focus:bg-gray-100 focus:text-gray-900 text-gray-800 dark:focus:bg-nb-gray-900 dark:focus:text-gray-50 dark:text-gray-400",
danger:
- "dark:focus:bg-red-900/20 dark:focus:text-red-500 dark:text-red-500",
+ "focus:bg-red-100 focus:text-red-500 text-red-500 dark:focus:bg-red-900/20 dark:focus:text-red-500 dark:text-red-500",
},
},
});
diff --git a/src/components/FancyToggleSwitch.tsx b/src/components/FancyToggleSwitch.tsx
index c459e920..c0a0dd01 100644
--- a/src/components/FancyToggleSwitch.tsx
+++ b/src/components/FancyToggleSwitch.tsx
@@ -20,13 +20,13 @@ export const fancyToggleSwitchVariants = cva([], {
{
variant: "default",
state: true,
- className: ["border-nb-gray-800 bg-nb-gray-900/70"],
+ className: ["border-gray-300 bg-gray-100 dark:border-nb-gray-800 dark:bg-nb-gray-900/70"],
},
{
variant: "default",
state: false,
className: [
- "border-nb-gray-910 bg-nb-gray-900/30 hover:bg-nb-gray-900/40",
+ "border-gray-200 bg-gray-50 hover:bg-gray-100 dark:border-nb-gray-910 dark:bg-nb-gray-900/30 dark:hover:bg-nb-gray-900/40",
],
},
],
diff --git a/src/components/FullTooltip.tsx b/src/components/FullTooltip.tsx
index 1a898e06..1fea1d51 100644
--- a/src/components/FullTooltip.tsx
+++ b/src/components/FullTooltip.tsx
@@ -66,7 +66,8 @@ export default function FullTooltip({
@@ -85,7 +86,7 @@ export default function FullTooltip({
align={align}
side={side}
>
-
+
{content}
diff --git a/src/components/HelpText.tsx b/src/components/HelpText.tsx
index 87555949..505f866e 100644
--- a/src/components/HelpText.tsx
+++ b/src/components/HelpText.tsx
@@ -14,7 +14,7 @@ export default function HelpText({
return (
(
(
@@ -71,11 +70,10 @@ const Input = React.forwardRef(
{customPrefix && (
(
@@ -112,7 +110,7 @@ const Input = React.forwardRef
(
diff --git a/src/components/JSONFileUpload.tsx b/src/components/JSONFileUpload.tsx
index 665cb040..9e077e19 100644
--- a/src/components/JSONFileUpload.tsx
+++ b/src/components/JSONFileUpload.tsx
@@ -71,10 +71,10 @@ export const JSONFileUpload = ({ onChange }: Props) => {
return (
{
/>
-
+
Upload your service account key (.json)
-
+
Click to upload
diff --git a/src/components/Kbd.tsx b/src/components/Kbd.tsx
index e45213c1..bd6f07b4 100644
--- a/src/components/Kbd.tsx
+++ b/src/components/Kbd.tsx
@@ -11,7 +11,7 @@ interface Props extends React.HTMLAttributes, BadgeVariants {
const variants = cva("", {
variants: {
variant: {
- default: ["bg-nb-gray-800 border-nb-gray-700 text-nb-gray-300 "],
+ 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"],
netbird: ["bg-netbird-100 text-netbird border-netbird "],
},
size: {
@@ -19,7 +19,7 @@ const variants = cva("", {
small: ["py-[9px] px-2 text-[9px] h-[12px] leading-[0]"],
},
disabled: {
- true: ["bg-nb-gray-800 border-nb-gray-700 text-nb-gray-300 "],
+ 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"],
},
},
});
diff --git a/src/components/NetworkRouteSelector.tsx b/src/components/NetworkRouteSelector.tsx
index 01cfb064..e1ddedb6 100644
--- a/src/components/NetworkRouteSelector.tsx
+++ b/src/components/NetworkRouteSelector.tsx
@@ -93,9 +93,9 @@ export function NetworkRouteSelector({