Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Replace gray with neutral

Steven Teye66f1fda6189
diff --git a/apps/web/app/[domain]/layout.tsx b/apps/web/app/[domain]/layout.tsx
index bacda575e9..470fc44937 100644
--- a/apps/web/app/[domain]/layout.tsx
+++ b/apps/web/app/[domain]/layout.tsx
@@ -6,7 +6,7 @@ export default function CustomDomainLayout({
children: React.ReactNode;
}) {
return (
- <div className="flex min-h-screen flex-col justify-between bg-gray-50/80">
+ <div className="flex min-h-screen flex-col justify-between bg-neutral-50/80">
<NavMobile />
<Nav maxWidthWrapperClassName="max-w-screen-lg lg:px-4 xl:px-0" />
{children}
diff --git a/apps/web/app/admin.dub.co/(dashboard)/components/ban-link.tsx b/apps/web/app/admin.dub.co/(dashboard)/components/ban-link.tsx
index d5f0fa7bd7..00b4a4527a 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/components/ban-link.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/components/ban-link.tsx
@@ -37,7 +37,7 @@ const Form = () => {
return (
<div className="relative flex w-full rounded-md shadow-sm">
- <span className="inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-50 px-5 text-gray-500 sm:text-sm">
+ <span className="inline-flex items-center rounded-l-md border border-r-0 border-neutral-300 bg-neutral-50 px-5 text-neutral-500 sm:text-sm">
dub.sh
</span>
<input
@@ -48,8 +48,8 @@ const Form = () => {
disabled={pending}
autoComplete="off"
className={cn(
- "block w-full rounded-r-md border-gray-300 text-sm text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500",
- pending && "bg-gray-100",
+ "block w-full rounded-r-md border-neutral-300 text-sm text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",
+ pending && "bg-neutral-100",
)}
placeholder="IG47WZs"
aria-invalid="true"
@@ -70,7 +70,7 @@ const Form = () => {
}}
/>
{pending && (
- <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-gray-400" />
+ <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-neutral-400" />
)}
</div>
);
diff --git a/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-user.tsx b/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-user.tsx
index fafb1b77be..13f92f4b63 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-user.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-user.tsx
@@ -79,14 +79,14 @@ const Form = () => {
disabled={pending}
autoComplete="off"
className={cn(
- "block w-full rounded-md border-gray-300 text-sm text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500",
- pending && "bg-gray-100",
+ "block w-full rounded-md border-neutral-300 text-sm text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",
+ pending && "bg-neutral-100",
)}
placeholder="[email protected]"
aria-invalid="true"
/>
{pending && (
- <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-gray-400" />
+ <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-neutral-400" />
)}
</div>
);
diff --git a/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-workspace.tsx b/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-workspace.tsx
index be90caefc0..7575de1651 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-workspace.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/components/impersonate-workspace.tsx
@@ -41,7 +41,7 @@ const Form = () => {
return (
<div className="relative flex w-full rounded-md shadow-sm">
- <span className="inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-50 px-5 text-gray-500 sm:text-sm">
+ <span className="inline-flex items-center rounded-l-md border border-r-0 border-neutral-300 bg-neutral-50 px-5 text-neutral-500 sm:text-sm">
app.dub.co
</span>
<input
@@ -52,14 +52,14 @@ const Form = () => {
disabled={pending}
autoComplete="off"
className={cn(
- "block w-full rounded-r-md border-gray-300 text-sm text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500",
- pending && "bg-gray-100",
+ "block w-full rounded-r-md border-neutral-300 text-sm text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",
+ pending && "bg-neutral-100",
)}
placeholder="owd"
aria-invalid="true"
/>
{pending && (
- <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-gray-400" />
+ <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-neutral-400" />
)}
</div>
);
diff --git a/apps/web/app/admin.dub.co/(dashboard)/components/refresh-domain.tsx b/apps/web/app/admin.dub.co/(dashboard)/components/refresh-domain.tsx
index caa6080969..e6e015fa8b 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/components/refresh-domain.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/components/refresh-domain.tsx
@@ -45,14 +45,14 @@ const Form = () => {
disabled={pending}
autoComplete="off"
className={cn(
- "block w-full rounded-md border-gray-300 text-sm text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500",
- pending && "bg-gray-100",
+ "block w-full rounded-md border-neutral-300 text-sm text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",
+ pending && "bg-neutral-100",
)}
placeholder="acme.com"
aria-invalid="true"
/>
{pending && (
- <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-gray-400" />
+ <LoadingSpinner className="absolute inset-y-0 right-2 my-auto h-full w-5 text-neutral-400" />
)}
</div>
);
diff --git a/apps/web/app/admin.dub.co/(dashboard)/components/user-info.tsx b/apps/web/app/admin.dub.co/(dashboard)/components/user-info.tsx
index 5c6a65865d..3ca8b7dbe3 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/components/user-info.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/components/user-info.tsx
@@ -34,14 +34,14 @@ export default function UserInfo({ data }: { data: UserInfoProps }) {
url={data.impersonateUrl.partners}
/>
{Object.keys(data.defaultDomainLinks).length > 0 && (
- <div className="grid divide-y divide-gray-200">
+ <div className="grid divide-y divide-neutral-200">
{Object.entries(data.defaultDomainLinks).map(([domain, count]) => (
<div key={domain} className="flex justify-between py-2">
<div className="flex items-center space-x-2">
<Globe2 className="h-4 w-4" />
- <span className="font-semibold text-gray-700">{domain}</span>
+ <span className="font-semibold text-neutral-700">{domain}</span>
</div>
- <span className="text-gray-500">{count}</span>
+ <span className="text-neutral-500">{count}</span>
</div>
))}
</div>
@@ -50,35 +50,35 @@ export default function UserInfo({ data }: { data: UserInfoProps }) {
{data.workspaces.map((workspace) => (
<div
key={workspace.slug}
- className="flex flex-col space-y-2 rounded-lg border border-gray-200 p-2"
+ className="flex flex-col space-y-2 rounded-lg border border-neutral-200 p-2"
>
<div className="flex items-center space-x-2">
<p className="font-semibold">{workspace.name}</p>
<Badge className="lowercase">{workspace.slug}</Badge>
</div>
<div className="flex justify-between text-sm">
- <span className="font-medium text-gray-700">ID</span>
- <span className="text-gray-500">{workspace.id}</span>
+ <span className="font-medium text-neutral-700">ID</span>
+ <span className="text-neutral-500">{workspace.id}</span>
</div>
<div className="flex justify-between text-sm">
- <span className="font-medium text-gray-700">Plan</span>
- <span className="text-gray-500">
+ <span className="font-medium text-neutral-700">Plan</span>
+ <span className="text-neutral-500">
{capitalize(workspace.plan)}
</span>
</div>
<div className="flex justify-between text-sm">
- <span className="font-medium text-gray-700">Domains</span>
- <span className="text-gray-500">{workspace.domains}</span>
+ <span className="font-medium text-neutral-700">Domains</span>
+ <span className="text-neutral-500">{workspace.domains}</span>
</div>
<div className="flex justify-between text-sm">
- <span className="font-medium text-gray-700">Links</span>
- <span className="text-gray-500">
+ <span className="font-medium text-neutral-700">Links</span>
+ <span className="text-neutral-500">
{nFormatter(workspace.links, { full: true })}
</span>
</div>
<div className="flex justify-between text-sm">
- <span className="font-medium text-gray-700">Clicks</span>
- <span className="text-gray-500">
+ <span className="font-medium text-neutral-700">Clicks</span>
+ <span className="text-neutral-500">
{nFormatter(workspace.clicks, { full: true })}
</span>
</div>
@@ -94,7 +94,7 @@ const LoginLinkCopyButton = ({ text, url }: { text: string; url: string }) => {
return (
<div className="flex w-full items-center space-x-3">
- <div className="w-full rounded-md border border-gray-300 px-4 py-2 text-sm text-gray-900">
+ <div className="w-full rounded-md border border-neutral-300 px-4 py-2 text-sm text-neutral-900">
{text}
</div>
<button
@@ -104,12 +104,12 @@ const LoginLinkCopyButton = ({ text, url }: { text: string; url: string }) => {
success: "Copied to clipboard",
})
}
- className="rounded-md border border-gray-300 p-2"
+ className="rounded-md border border-neutral-300 p-2"
>
{copied ? (
- <Tick className="h-5 w-5 text-gray-500" />
+ <Tick className="h-5 w-5 text-neutral-500" />
) : (
- <Copy className="h-5 w-5 text-gray-500" />
+ <Copy className="h-5 w-5 text-neutral-500" />
)}
</button>
</div>
diff --git a/apps/web/app/admin.dub.co/(dashboard)/layout.tsx b/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
index e41f31b105..d77bfbe051 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/layout.tsx
@@ -31,8 +31,8 @@ export default async function AdminLayout({
}) {
return (
<>
- <div className="min-h-screen w-full bg-gray-50">
- <div className="sticky left-0 right-0 top-0 z-20 border-b border-gray-200 bg-white">
+ <div className="min-h-screen w-full bg-neutral-50">
+ <div className="sticky left-0 right-0 top-0 z-20 border-b border-neutral-200 bg-white">
<MaxWidthWrapper>
<div className="flex h-16 items-center gap-12">
<Link href="/">
@@ -42,7 +42,7 @@ export default async function AdminLayout({
<Link
href={tab.href}
key={tab.href}
- className="text-sm text-gray-500"
+ className="text-sm text-neutral-500"
>
{tab.label}
</Link>
diff --git a/apps/web/app/admin.dub.co/(dashboard)/page.tsx b/apps/web/app/admin.dub.co/(dashboard)/page.tsx
index 48b1174255..23a06a27f6 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/page.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/page.tsx
@@ -10,29 +10,29 @@ export const metadata = constructMetadata({
export default function AdminPage() {
return (
- <div className="mx-auto flex w-full max-w-screen-sm flex-col divide-y divide-gray-200 overflow-auto bg-white">
+ <div className="mx-auto flex w-full max-w-screen-sm flex-col divide-y divide-neutral-200 overflow-auto bg-white">
<div className="flex flex-col space-y-4 px-5 py-10">
<h2 className="text-xl font-semibold">Impersonate User</h2>
- <p className="text-sm text-gray-500">Get a login link for a user</p>
+ <p className="text-sm text-neutral-500">Get a login link for a user</p>
<ImpersonateUser />
</div>
<div className="flex flex-col space-y-4 px-5 py-10">
<h2 className="text-xl font-semibold">Impersonate Workspace</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Get a login link for the owner of a workspace
</p>
<ImpersonateWorkspace />
</div>
<div className="flex flex-col space-y-4 px-5 py-10">
<h2 className="text-xl font-semibold">Refresh Domain</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Remove and re-add domain from Vercel
</p>
<RefreshDomain />
</div>
<div className="flex flex-col space-y-4 px-5 py-10">
<h2 className="text-xl font-semibold">Ban Link</h2>
- <p className="text-sm text-gray-500">Ban a dub.sh link</p>
+ <p className="text-sm text-neutral-500">Ban a dub.sh link</p>
<BanLink />
</div>
</div>
diff --git a/apps/web/app/admin.dub.co/(dashboard)/revenue/client.tsx b/apps/web/app/admin.dub.co/(dashboard)/revenue/client.tsx
index 50d00fb9a7..1d303872ba 100644
--- a/apps/web/app/admin.dub.co/(dashboard)/revenue/client.tsx
+++ b/apps/web/app/admin.dub.co/(dashboard)/revenue/client.tsx
@@ -41,9 +41,9 @@ export default function RevenueClient({
).toFixed(0);
return (
- <div className="mx-auto my-24 w-full max-w-screen-lg overflow-hidden border border-gray-200 bg-white sm:rounded-xl">
+ <div className="mx-auto my-24 w-full max-w-screen-lg overflow-hidden border border-neutral-200 bg-white sm:rounded-xl">
<div className="w-fit border-b-2 border-black px-8 py-6">
- <div className="flex items-center gap-2.5 text-sm text-gray-600">
+ <div className="flex items-center gap-2.5 text-sm text-neutral-600">
<div className="h-2 w-2 rounded-sm bg-green-200 shadow-[inset_0_0_0_1px_#00000019]" />
<span>MRR</span>
</div>
@@ -57,7 +57,7 @@ export default function RevenueClient({
</div>
</div>
</div>
- <div className="border-t border-gray-200 p-5 sm:p-10">
+ <div className="border-t border-neutral-200 p-5 sm:p-10">
<div className="flex h-96 w-full items-center justify-center">
<TimeSeriesChart
data={chartData}
@@ -65,16 +65,16 @@ export default function RevenueClient({
tooltipClassName="p-0"
tooltipContent={(d) => (
<>
- <p className="border-b border-gray-200 px-4 py-3 text-sm text-gray-900">
+ <p className="border-b border-neutral-200 px-4 py-3 text-sm text-neutral-900">
{dateFormatter(d.date)}
</p>
<div className="grid grid-cols-2 gap-x-6 gap-y-2 px-4 py-3 text-sm">
<Fragment>
<div className="flex items-center gap-2">
<div className="h-2 w-2 rounded-sm bg-current bg-green-200 opacity-50 shadow-[inset_0_0_0_1px_#0003]" />
- <p className="capitalize text-gray-600">MRR</p>
+ <p className="capitalize text-neutral-600">MRR</p>
</div>
- <p className="text-right font-medium text-gray-900">
+ <p className="text-right font-medium text-neutral-900">
{currencyFormatter(d.values.value)}
</p>
</Fragment>
diff --git a/apps/web/app/api/og/analytics/route.tsx b/apps/web/app/api/og/analytics/route.tsx
index 6d80ac9a1d..dcbad6cc99 100644
--- a/apps/web/app/api/og/analytics/route.tsx
+++ b/apps/web/app/api/og/analytics/route.tsx
@@ -64,7 +64,7 @@ export async function GET(req: NextRequest) {
</svg>
</div>
- <div tw="flex items-center rounded-md border border-gray-200 bg-white shadow-sm h-12 px-6">
+ <div tw="flex items-center rounded-md border border-neutral-200 bg-white shadow-sm h-12 px-6">
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
@@ -81,10 +81,10 @@ export async function GET(req: NextRequest) {
<rect width="18" height="18" x="3" y="4" rx="2" />
<path d="M3 10h18" />
</svg>
- <p tw="text-gray-700 ml-2 mt-4">Last 24 hours</p>
+ <p tw="text-neutral-700 ml-2 mt-4">Last 24 hours</p>
</div>
</div>
- <div tw="flex flex-col h-full w-full rounded-lg border border-gray-200 bg-white shadow-lg overflow-hidden">
+ <div tw="flex flex-col h-full w-full rounded-lg border border-neutral-200 bg-white shadow-lg overflow-hidden">
<div tw="flex flex-col px-12 py-4">
<div tw="flex items-center">
<h1 tw="font-bold text-5xl leading-none">{nFormatter(clicks)}</h1>
@@ -104,7 +104,7 @@ export async function GET(req: NextRequest) {
<path d="M6 20v-4" />
</svg>
</div>
- <p tw="text-lg font-medium uppercase -mt-4 text-gray-600">
+ <p tw="text-lg font-medium uppercase -mt-4 text-neutral-600">
Total Clicks
</p>
</div>
diff --git a/apps/web/app/app.dub.co/(auth)/auth/reset-password/[token]/page.tsx b/apps/web/app/app.dub.co/(auth)/auth/reset-password/[token]/page.tsx
index a6e9c32ae1..cebc2b96ed 100644
--- a/apps/web/app/app.dub.co/(auth)/auth/reset-password/[token]/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/auth/reset-password/[token]/page.tsx
@@ -26,14 +26,14 @@ export default async function ResetPasswordPage({ params: { token } }: Props) {
return (
<div className="relative z-10 my-10 flex min-h-full w-full items-center justify-center">
- <div className="mx-auto w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-xl">
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
+ <div className="mx-auto w-full max-w-md overflow-hidden border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-xl">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
<h3 className="text-xl font-semibold">Reset your password</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Enter new password for your account.
</p>
</div>
- <div className="flex flex-col gap-3 bg-gray-50 px-4 py-8 sm:px-16">
+ <div className="flex flex-col gap-3 bg-neutral-50 px-4 py-8 sm:px-16">
<ResetPasswordForm />
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(auth)/forgot-password/page.tsx b/apps/web/app/app.dub.co/(auth)/forgot-password/page.tsx
index b152a09e42..3669959e10 100644
--- a/apps/web/app/app.dub.co/(auth)/forgot-password/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/forgot-password/page.tsx
@@ -10,20 +10,20 @@ export const metadata = constructMetadata({
export default function ForgotPasswordPage() {
return (
<AuthLayout>
- <div className="w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-sm">
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
+ <div className="w-full max-w-md overflow-hidden border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-sm">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
<h3 className="text-xl font-semibold">Reset your password</h3>
</div>
- <div className="bg-gray-50 px-4 py-8 sm:px-16">
+ <div className="bg-neutral-50 px-4 py-8 sm:px-16">
<ForgotPasswordForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Already have an account?&nbsp;
<Link
href="/login"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign in
</Link>
diff --git a/apps/web/app/app.dub.co/(auth)/login/page.tsx b/apps/web/app/app.dub.co/(auth)/login/page.tsx
index dc9eeef84c..a7dac76f57 100644
--- a/apps/web/app/app.dub.co/(auth)/login/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/login/page.tsx
@@ -11,19 +11,19 @@ export const metadata = constructMetadata({
export default function LoginPage() {
return (
<AuthLayout>
- <div className="w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-sm">
- <div className="border-b border-gray-200 bg-white pb-6 pt-8 text-center">
+ <div className="w-full max-w-md overflow-hidden border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-sm">
+ <div className="border-b border-neutral-200 bg-white pb-6 pt-8 text-center">
<h3 className="text-lg font-semibold">Sign in to your Dub account</h3>
</div>
- <div className="bg-gray-50 px-4 py-8 sm:px-16">
+ <div className="bg-neutral-50 px-4 py-8 sm:px-16">
<LoginForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Don't have an account?&nbsp;
<Link
href="register"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign up
</Link>
diff --git a/apps/web/app/app.dub.co/(auth)/oauth/authorize/authorize-form.tsx b/apps/web/app/app.dub.co/(auth)/oauth/authorize/authorize-form.tsx
index 7a57f6d22e..5ad744d4bc 100644
--- a/apps/web/app/app.dub.co/(auth)/oauth/authorize/authorize-form.tsx
+++ b/apps/web/app/app.dub.co/(auth)/oauth/authorize/authorize-form.tsx
@@ -140,7 +140,7 @@ export const AuthorizeForm = ({
value={code_challenge_method}
/>
)}
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Select a workspace to grant API access to
</p>
<div className="max-w-md py-2">
@@ -156,7 +156,7 @@ export const AuthorizeForm = ({
text="Create new workspace"
variant="outline"
onClick={() => setShowAddWorkspaceModal(true)}
- className="justify-start text-gray-700"
+ className="justify-start text-neutral-700"
/>
}
/>
diff --git a/apps/web/app/app.dub.co/(auth)/oauth/authorize/loading.tsx b/apps/web/app/app.dub.co/(auth)/oauth/authorize/loading.tsx
index 88a47db1a0..6b75cb9fff 100644
--- a/apps/web/app/app.dub.co/(auth)/oauth/authorize/loading.tsx
+++ b/apps/web/app/app.dub.co/(auth)/oauth/authorize/loading.tsx
@@ -3,33 +3,33 @@ import { ArrowLeftRight } from "lucide-react";
export default function AuthorizeLoading() {
return (
- <div className="relative z-10 m-auto w-full max-w-md border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-xl">
- <div className="flex flex-col items-center justify-center gap-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:rounded-t-2xl sm:px-16">
+ <div className="relative z-10 m-auto w-full max-w-md border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-xl">
+ <div className="flex flex-col items-center justify-center gap-3 border-b border-neutral-200 bg-white px-4 py-6 pt-8 text-center sm:rounded-t-2xl sm:px-16">
<div className="flex items-center gap-3">
- <div className="size-12 rounded-full border border-gray-200 bg-gradient-to-t from-gray-100" />
- <ArrowLeftRight className="size-5 text-gray-300" />
- <Logo className="size-12 text-gray-700" />
+ <div className="size-12 rounded-full border border-neutral-200 bg-gradient-to-t from-neutral-100" />
+ <ArrowLeftRight className="size-5 text-neutral-300" />
+ <Logo className="size-12 text-neutral-700" />
</div>
<div className="flex w-full flex-col items-center gap-2">
- <div className="h-5 w-3/4 animate-pulse rounded bg-gray-200" />
- <div className="h-5 w-1/3 animate-pulse rounded bg-gray-200" />
+ <div className="h-5 w-3/4 animate-pulse rounded bg-neutral-200" />
+ <div className="h-5 w-1/3 animate-pulse rounded bg-neutral-200" />
</div>
- <div className="h-4 w-1/3 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-1/3 animate-pulse rounded bg-neutral-200" />
</div>
<div className="flex flex-col space-y-3 bg-white px-2 py-6 sm:px-10">
- <div className="h-4 w-1/3 animate-pulse rounded bg-gray-200" />
- <div className="h-4 w-3/4 animate-pulse rounded bg-gray-200" />
- <div className="h-4 w-3/4 animate-pulse rounded bg-gray-200" />
- <div className="h-4 w-3/4 animate-pulse rounded bg-gray-200" />
- <div className="h-4 w-3/4 animate-pulse rounded bg-gray-200" />
- <div className="h-4 w-full animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-1/3 animate-pulse rounded bg-neutral-200" />
+ <div className="h-4 w-3/4 animate-pulse rounded bg-neutral-200" />
+ <div className="h-4 w-3/4 animate-pulse rounded bg-neutral-200" />
+ <div className="h-4 w-3/4 animate-pulse rounded bg-neutral-200" />
+ <div className="h-4 w-3/4 animate-pulse rounded bg-neutral-200" />
+ <div className="h-4 w-full animate-pulse rounded bg-neutral-200" />
</div>
- <div className="flex flex-col space-y-2 border-t border-gray-200 bg-white px-2 py-6 sm:rounded-b-2xl sm:px-10">
- <div className="h-4 w-1/2 animate-pulse rounded bg-gray-200" />
- <div className="h-10 w-full animate-pulse rounded bg-gray-200" />
+ <div className="flex flex-col space-y-2 border-t border-neutral-200 bg-white px-2 py-6 sm:rounded-b-2xl sm:px-10">
+ <div className="h-4 w-1/2 animate-pulse rounded bg-neutral-200" />
+ <div className="h-10 w-full animate-pulse rounded bg-neutral-200" />
<div className="flex gap-4">
- <div className="h-10 w-1/2 animate-pulse rounded bg-gray-200" />
- <div className="h-10 w-1/2 animate-pulse rounded bg-gray-200" />
+ <div className="h-10 w-1/2 animate-pulse rounded bg-neutral-200" />
+ <div className="h-10 w-1/2 animate-pulse rounded bg-neutral-200" />
</div>
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(auth)/oauth/authorize/page.tsx b/apps/web/app/app.dub.co/(auth)/oauth/authorize/page.tsx
index 4a88fc5e18..2bb27e8ef4 100644
--- a/apps/web/app/app.dub.co/(auth)/oauth/authorize/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/oauth/authorize/page.tsx
@@ -45,15 +45,15 @@ export default async function Authorize({
}
return (
- <div className="relative z-10 m-auto w-full max-w-md border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-xl">
- <div className="flex flex-col items-center justify-center gap-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:rounded-t-2xl sm:px-16">
+ <div className="relative z-10 m-auto w-full max-w-md border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-xl">
+ <div className="flex flex-col items-center justify-center gap-3 border-b border-neutral-200 bg-white px-4 py-6 pt-8 text-center sm:rounded-t-2xl sm:px-16">
<div className="flex items-center gap-3">
<a href={integration.website} target="_blank" rel="noreferrer">
{integration.logo ? (
<BlurImage
src={integration.logo}
alt={`Logo for ${integration.name}`}
- className="size-12 rounded-full border border-gray-200"
+ className="size-12 rounded-full border border-neutral-200"
width={20}
height={20}
/>
@@ -61,7 +61,7 @@ export default async function Authorize({
<Logo className="size-12" />
)}
</a>
- <ArrowLeftRight className="size-5 text-gray-500" />
+ <ArrowLeftRight className="size-5 text-neutral-500" />
<a href={HOME_DOMAIN} target="_blank" rel="noreferrer">
<Logo className="size-12" />
</a>
@@ -71,7 +71,7 @@ export default async function Authorize({
<span className="font-bold">{integration.name}</span> is requesting
API access to a workspace on Dub.
</p>
- <span className="text-xs text-gray-500">
+ <span className="text-xs text-neutral-500">
Built by{" "}
<a
href={integration.website}
@@ -93,7 +93,7 @@ export default async function Authorize({
<div className="flex flex-col space-y-3 bg-white px-2 py-6 sm:px-10">
<ScopesRequested scopes={requestParams.scope} />
</div>
- <div className="flex flex-col space-y-2 border-t border-gray-200 bg-white px-2 py-6 sm:rounded-b-2xl sm:px-10">
+ <div className="flex flex-col space-y-2 border-t border-neutral-200 bg-white px-2 py-6 sm:rounded-b-2xl sm:px-10">
<Suspense>
<AuthorizeForm {...requestParams} />
</Suspense>
diff --git a/apps/web/app/app.dub.co/(auth)/oauth/authorize/scopes-requested.tsx b/apps/web/app/app.dub.co/(auth)/oauth/authorize/scopes-requested.tsx
index c0acf325f1..ba325fd6b1 100644
--- a/apps/web/app/app.dub.co/(auth)/oauth/authorize/scopes-requested.tsx
+++ b/apps/web/app/app.dub.co/(auth)/oauth/authorize/scopes-requested.tsx
@@ -35,7 +35,7 @@ export const ScopesRequested = ({ scopes }: ScopesProps) => {
return (
<>
- <span className="text-gray-600">Grant permissions:</span>
+ <span className="text-neutral-600">Grant permissions:</span>
<ul className="text-md space-y-1">
{scopeWithDescriptions.map((scope) => {
return (
diff --git a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
index 4586bbc1b4..affde51be9 100644
--- a/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
+++ b/apps/web/app/app.dub.co/(auth)/register/page-client.tsx
@@ -20,19 +20,19 @@ export default function RegisterPageClient() {
function SignUp() {
return (
<>
- <div className="w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-sm">
- <div className="border-b border-gray-200 bg-white pb-6 pt-8 text-center">
+ <div className="w-full max-w-md overflow-hidden border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-sm">
+ <div className="border-b border-neutral-200 bg-white pb-6 pt-8 text-center">
<h3 className="text-lg font-semibold">Get started with Dub</h3>
</div>
- <div className="bg-gray-50 px-4 py-8 sm:px-16">
+ <div className="bg-neutral-50 px-4 py-8 sm:px-16">
<SignUpForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Already have an account?&nbsp;
<Link
href="/login"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign in
</Link>
@@ -46,25 +46,25 @@ function Verify() {
return (
<>
- <div className="w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-sm">
- <div className="flex flex-col items-center justify-center gap-3 border-b border-gray-200 bg-white px-4 pb-6 pt-8 text-center sm:px-16">
+ <div className="w-full max-w-md overflow-hidden border-y border-neutral-200 sm:rounded-2xl sm:border sm:shadow-sm">
+ <div className="flex flex-col items-center justify-center gap-3 border-b border-neutral-200 bg-white px-4 pb-6 pt-8 text-center sm:px-16">
<h3 className="text-xl font-semibold">Verify your email address</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Enter the six digit verification code sent to{" "}
- <strong className="font-medium text-gray-600" title={email}>
+ <strong className="font-medium text-neutral-600" title={email}>
{truncate(email, 30)}
</strong>
</p>
</div>
- <div className="bg-gray-50 px-4 py-8 sm:px-16">
+ <div className="bg-neutral-50 px-4 py-8 sm:px-16">
<VerifyEmailForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Already have an account?&nbsp;
<Link
href="/login"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign in
</Link>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
index c1b4247dd9..0c9e449855 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/page-client.tsx
@@ -102,13 +102,13 @@ function WorkspaceLinks() {
emptyState={{
tagIds: (
<div className="flex flex-col items-center gap-2 p-2 text-center text-sm">
- <div className="flex items-center justify-center rounded-2xl border border-gray-200 bg-gray-50 p-3">
- <Tag className="size-6 text-gray-700" />
+ <div className="flex items-center justify-center rounded-2xl border border-neutral-200 bg-neutral-50 p-3">
+ <Tag className="size-6 text-neutral-700" />
</div>
- <p className="mt-2 font-medium text-gray-950">
+ <p className="mt-2 font-medium text-neutral-950">
No tags found
</p>
- <p className="mx-auto mt-1 w-full max-w-[180px] text-gray-700">
+ <p className="mx-auto mt-1 w-full max-w-[180px] text-neutral-700">
Add tags to organize your links
</p>
<div>
@@ -122,13 +122,13 @@ function WorkspaceLinks() {
),
domain: (
<div className="flex flex-col items-center gap-2 p-2 text-center text-sm">
- <div className="flex items-center justify-center rounded-2xl border border-gray-200 bg-gray-50 p-3">
- <Globe className="size-6 text-gray-700" />
+ <div className="flex items-center justify-center rounded-2xl border border-neutral-200 bg-neutral-50 p-3">
+ <Globe className="size-6 text-neutral-700" />
</div>
- <p className="mt-2 font-medium text-gray-950">
+ <p className="mt-2 font-medium text-neutral-950">
No domains found
</p>
- <p className="mx-auto mt-1 w-full max-w-[180px] text-gray-700">
+ <p className="mx-auto mt-1 w-full max-w-[180px] text-neutral-700">
Add a custom domain to match your brand
</p>
<div>
@@ -159,8 +159,8 @@ function WorkspaceLinks() {
{isLoading ? (
<div className="flex grow-0 animate-pulse items-center space-x-2">
- <div className="h-10 w-24 rounded-md bg-gray-200" />
- <div className="h-10 w-10 rounded-md bg-gray-200" />
+ <div className="h-10 w-24 rounded-md bg-neutral-200" />
+ <div className="h-10 w-10 rounded-md bg-neutral-200" />
</div>
) : canCreateLinks ? (
<>
@@ -216,7 +216,7 @@ const MoreLinkOptions = () => {
content={
<div className="w-full md:w-52">
<div className="grid gap-px p-2">
- <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-gray-500">
+ <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-neutral-500">
Import Links
</p>
<ImportOption
@@ -286,9 +286,9 @@ const MoreLinkOptions = () => {
/>
</ImportOption>
</div>
- <div className="border-t border-gray-200" />
+ <div className="border-t border-neutral-200" />
<div className="grid gap-px p-2">
- <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-gray-500">
+ <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-neutral-500">
Export Links
</p>
<button
@@ -296,7 +296,7 @@ const MoreLinkOptions = () => {
setOpenPopover(false);
setShowExportLinksModal(true);
}}
- className="w-full rounded-md p-2 hover:bg-gray-100 active:bg-gray-200"
+ className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200"
>
<IconMenu
text="Export as CSV"
@@ -314,7 +314,7 @@ const MoreLinkOptions = () => {
onClick={() => setOpenPopover(!openPopover)}
variant="secondary"
className="w-auto px-1.5"
- icon={<ThreeDots className="h-5 w-5 text-gray-500" />}
+ icon={<ThreeDots className="h-5 w-5 text-neutral-500" />}
/>
</Popover>
</>
@@ -342,14 +342,14 @@ function ImportOption({
/>
}
>
- <div className="flex w-full cursor-not-allowed items-center justify-between space-x-2 rounded-md p-2 text-sm text-gray-400 [&_img]:grayscale">
+ <div className="flex w-full cursor-not-allowed items-center justify-between space-x-2 rounded-md p-2 text-sm text-neutral-400 [&_img]:grayscale">
{children}
</div>
</Tooltip>
) : (
<button
onClick={onClick}
- className="w-full rounded-md p-2 hover:bg-gray-100 active:bg-gray-200"
+ className="w-full rounded-md p-2 hover:bg-neutral-100 active:bg-neutral-200"
>
{children}
</button>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/overview-chart.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/overview-chart.tsx
index ed2fa77cb7..eb96b9e018 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/overview-chart.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/overview-chart.tsx
@@ -97,15 +97,15 @@ export function OverviewChart() {
tooltipContent={(d) => {
return (
<>
- <p className="border-b border-gray-200 px-4 py-3 text-sm text-gray-900">
+ <p className="border-b border-neutral-200 px-4 py-3 text-sm text-neutral-900">
{formatDateTooltip(d.date, { interval, start, end })}
</p>
<div className="grid grid-cols-2 gap-x-6 gap-y-2 px-4 py-3 text-sm">
<div className="flex items-center gap-2">
<div className="h-2 w-2 rounded-sm bg-violet-500 shadow-[inset_0_0_0_1px_#0003]" />
- <p className="capitalize text-gray-600">Revenue</p>
+ <p className="capitalize text-neutral-600">Revenue</p>
</div>
- <p className="text-right font-medium text-gray-900">
+ <p className="text-right font-medium text-neutral-900">
{currencyFormatter(d.values.saleAmount, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/page-client.tsx
index 2f0d21a068..084013f667 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/page-client.tsx
@@ -23,7 +23,7 @@ export default function ProgramOverviewPageClient() {
return (
<div className="mb-10">
- <div className="rounded-lg border border-neutral-200 bg-gray-50 p-3">
+ <div className="rounded-lg border border-neutral-200 bg-neutral-50 p-3">
<div className="grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,5fr)_minmax(0,3fr)] lg:gap-10">
<OverviewChart />
<div className="relative flex flex-col overflow-hidden rounded-lg bg-neutral-800">
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/invites/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/invites/page-client.tsx
index be5ef60b27..ad22c3ed96 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/invites/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/invites/page-client.tsx
@@ -183,7 +183,7 @@ function MenuItem({
<Command.Item
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
disabled && "cursor-not-allowed opacity-75",
)}
onSelect={onSelect}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-stats.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-stats.tsx
index 58154dbff6..06189d1970 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-stats.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-stats.tsx
@@ -38,7 +38,7 @@ export function PartnerStats() {
href={`/${slug}/programs/${programId}/partners`}
count={all}
icon={Users}
- iconClassName="text-gray-600 bg-gray-100"
+ iconClassName="text-neutral-600 bg-neutral-100"
error={!!error}
/>
<ProgramStatsFilter
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx
index 22f71082ca..3477520fda 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/partners/partner-table.tsx
@@ -341,7 +341,7 @@ function MenuItem({
<Command.Item
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
)}
onSelect={onSelect}
>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/payouts/payout-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/payouts/payout-table.tsx
index f372a1df9f..d9b464b01d 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/payouts/payout-table.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/payouts/payout-table.tsx
@@ -297,7 +297,7 @@ function MenuItem({
<Command.Item
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
)}
onSelect={onSelect}
>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-stats.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-stats.tsx
index 84e6709fae..4a81eab5b2 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-stats.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-stats.tsx
@@ -20,7 +20,7 @@ export function SaleStats() {
href={`/${slug}/programs/${programId}/sales`}
count={salesCount?.all}
icon={Users}
- iconClassName="text-gray-600 bg-gray-100"
+ iconClassName="text-neutral-600 bg-neutral-100"
error={!!error}
/>
<ProgramStatsFilter
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/delete-program.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/delete-program.tsx
index 7fe019e803..8e815550b3 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/delete-program.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/delete-program.tsx
@@ -7,7 +7,7 @@ export function DeleteProgram({ programId }: { programId: string }) {
// Delete program
return (
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="flex flex-col gap-1 p-8">
<h2 className="text-xl font-medium text-neutral-900">Delete program</h2>
<p className="text-sm font-normal text-neutral-600">
@@ -15,8 +15,8 @@ export function DeleteProgram({ programId }: { programId: string }) {
action cannot be undone - please proceed with caution.
</p>
</div>
- <div className="border-t border-gray-200" />
- <div className="flex items-center justify-end rounded-b-lg bg-gray-50 px-8 py-5">
+ <div className="border-t border-neutral-200" />
+ <div className="flex items-center justify-end rounded-b-lg bg-neutral-50 px-8 py-5">
<div>
<Button
text="Delete program"
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/program-settings.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/program-settings.tsx
index 67ef62e7de..9afe07c112 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/program-settings.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/settings/program-settings.tsx
@@ -327,7 +327,7 @@ function ProgramSettingsForm({ program }: { program: ProgramProps }) {
</label>
<div className="relative mt-2 rounded-md shadow-sm">
{loadingFolders ? (
- <div className="h-10 w-full animate-pulse rounded-md bg-gray-200" />
+ <div className="h-10 w-full animate-pulse rounded-md bg-neutral-200" />
) : (
<select
className="block w-full rounded-md border-neutral-300 text-neutral-900 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/usage-chart.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/usage-chart.tsx
index 22c7936c78..2ed57f2825 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/usage-chart.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/billing/usage-chart.tsx
@@ -71,16 +71,18 @@ export function UsageChart() {
tooltipContent={(d) => {
return (
<>
- <p className="border-b border-gray-200 px-4 py-3 text-sm text-gray-900">
+ <p className="border-b border-neutral-200 px-4 py-3 text-sm text-neutral-900">
{formatDate(d.date)}
</p>
<div className="grid grid-cols-2 gap-x-6 gap-y-2 px-4 py-3 text-sm">
<Fragment key={resource}>
<div className="flex items-center gap-2">
<div className="h-2 w-2 rounded-sm bg-violet-500 shadow-[inset_0_0_0_1px_#0003]" />
- <p className="capitalize text-gray-600">{resource}</p>
+ <p className="capitalize text-neutral-600">
+ {resource}
+ </p>
</div>
- <p className="text-right font-medium text-gray-900">
+ <p className="text-right font-medium text-neutral-900">
{resource === "revenue" && "$"}
{nFormatter(d.values.usage, { full: true })}
</p>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/default-domains.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/default-domains.tsx
index bc5470ce9f..3da60b8c70 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/default-domains.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/default-domains.tsx
@@ -59,17 +59,17 @@ export function DefaultDomains() {
const [submitting, setSubmitting] = useState(false);
return (
- <div className="my-10 grid gap-5 border-t border-gray-200 py-10">
+ <div className="my-10 grid gap-5 border-t border-neutral-200 py-10">
<div>
<h2 className="text-xl font-semibold tracking-tight text-black">
Default Domains
</h2>
- <p className="mt-3 text-sm text-gray-500">
+ <p className="mt-3 text-sm text-neutral-500">
Leverage default branded domains from Dub for specific links.{" "}
<Link
href="https://dub.co/help/article/default-dub-domains"
target="_blank"
- className="underline transition-colors hover:text-gray-800"
+ className="underline transition-colors hover:text-neutral-800"
>
Learn more.
</Link>
@@ -87,7 +87,7 @@ export function DefaultDomains() {
return (
<div
key={slug}
- className="flex items-center justify-between gap-4 rounded-xl border border-gray-200 bg-white p-5"
+ className="flex items-center justify-between gap-4 rounded-xl border border-neutral-200 bg-white p-5"
>
<DomainCardTitleColumn
domain={slug}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/page-client.tsx
index 4d023b487e..e53fe7948a 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/domains/page-client.tsx
@@ -151,7 +151,7 @@ export default function WorkspaceDomainsClient() {
text="Connect a domain you own"
variant="outline"
icon={<Globe className="h-4 w-4" />}
- className="h-9 justify-start px-2 text-gray-800"
+ className="h-9 justify-start px-2 text-neutral-800"
onClick={() => setShowAddEditDomainModal(true)}
/>
<Button
@@ -175,7 +175,7 @@ export default function WorkspaceDomainsClient() {
}
variant="outline"
icon={<LinkBroken className="size-4" />}
- className="h-9 justify-start px-2 text-gray-800 disabled:border-none disabled:bg-transparent disabled:text-gray-500"
+ className="h-9 justify-start px-2 text-neutral-800 disabled:border-none disabled:bg-transparent disabled:text-neutral-500"
onClick={() => setShowRegisterDomainModal(true)}
disabled={dotLinkClaimed}
/>
@@ -221,7 +221,7 @@ export default function WorkspaceDomainsClient() {
))}
</ul>
) : archived || search ? (
- <div className="flex flex-col items-center gap-4 rounded-xl border border-gray-200 py-10">
+ <div className="flex flex-col items-center gap-4 rounded-xl border border-neutral-200 py-10">
<EmptyState
icon={Globe}
title={
@@ -240,7 +240,7 @@ export default function WorkspaceDomainsClient() {
<>
<Globe className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<CursorRays className="size-3.5" />
</div>
</>
@@ -259,7 +259,7 @@ export default function WorkspaceDomainsClient() {
</ul>
)}
</div>
- <div className="sticky bottom-0 rounded-b-[inherit] border-t border-gray-200 bg-white px-3.5 py-2">
+ <div className="sticky bottom-0 rounded-b-[inherit] border-t border-neutral-200 bg-white px-3.5 py-2">
<PaginationControls
pagination={pagination}
setPagination={setPagination}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/loading.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/loading.tsx
index 0636b1b89a..d98b075da8 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/loading.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/loading.tsx
@@ -3,26 +3,26 @@ import { MaxWidthWrapper } from "@dub/ui";
export default function IntegrationPageLoading() {
return (
<MaxWidthWrapper className="grid max-w-screen-md gap-8">
- <div className="h-4 w-28 rounded-full bg-gray-100" />
+ <div className="h-4 w-28 rounded-full bg-neutral-100" />
<div className="flex justify-between gap-2">
<div className="flex items-center gap-x-3">
- <div className="h-12 w-12 rounded-md bg-gray-100" />
+ <div className="h-12 w-12 rounded-md bg-neutral-100" />
<div>
- <div className="h-6 w-40 rounded-full bg-gray-100" />
- <div className="mt-1 h-4 w-60 rounded-full bg-gray-100" />
+ <div className="h-6 w-40 rounded-full bg-neutral-100" />
+ <div className="mt-1 h-4 w-60 rounded-full bg-neutral-100" />
</div>
</div>
</div>
- <div className="h-24 w-full rounded-lg bg-gray-100" />
+ <div className="h-24 w-full rounded-lg bg-neutral-100" />
- <div className="w-full rounded-lg border border-gray-200 bg-white">
- <div className="flex items-center gap-x-2 border-b border-gray-200 px-6 py-4">
- <div className="h-4 w-4 rounded-full bg-gray-100" />
- <div className="h-5 w-20 rounded-full bg-gray-100" />
+ <div className="w-full rounded-lg border border-neutral-200 bg-white">
+ <div className="flex items-center gap-x-2 border-b border-neutral-200 px-6 py-4">
+ <div className="h-4 w-4 rounded-full bg-neutral-100" />
+ <div className="h-5 w-20 rounded-full bg-neutral-100" />
</div>
<div className="p-6">
- <div className="h-64 w-full rounded-md bg-gray-100" />
+ <div className="h-64 w-full rounded-md bg-neutral-100" />
</div>
</div>
</MaxWidthWrapper>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
index 0e951cd1e2..368a35c9dc 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/integrations/[integrationSlug]/page-client.tsx
@@ -111,7 +111,7 @@ export default function IntegrationPageClient({
) : !integration.verified ? (
<Tooltip content="Dub hasn't verified this integration. Install it at your own risk.">
<div>
- <CircleWarning className="size-5 text-gray-500" invert />
+ <CircleWarning className="size-5 text-neutral-500" invert />
</div>
</Tooltip>
) : null}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/folders/[folderId]/members/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/folders/[folderId]/members/page-client.tsx
index dcb9649cc0..28504912bb 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/folders/[folderId]/members/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/folders/[folderId]/members/page-client.tsx
@@ -98,22 +98,22 @@ export const FolderUsersPageClient = ({ folderId }: { folderId: string }) => {
className="flex items-center gap-x-1"
>
<ChevronLeft className="size-4" />
- <p className="text-sm font-medium text-gray-500">Folders</p>
+ <p className="text-sm font-medium text-neutral-500">Folders</p>
</Link>
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="flex items-center justify-between border-b px-5 py-6 sm:flex-row sm:space-y-0">
{folder ? (
<>
<div className="flex items-center gap-x-6">
<FolderIcon folder={folder} />
<div className="flex flex-col gap-2">
- <span className="text-sm font-semibold leading-none text-gray-900">
+ <span className="text-sm font-semibold leading-none text-neutral-900">
{folder.name}
</span>
<div className="flex items-center gap-1">
- <Globe className="size-3.5 text-gray-500" />
- <span className="text-[13px] font-normal leading-[14.30px] text-gray-500">
+ <Globe className="size-3.5 text-neutral-500" />
+ <span className="text-[13px] font-normal leading-[14.30px] text-neutral-500">
{nFormatter(folder.linkCount)} link
{folder.linkCount !== 1 && "s"}
</span>
@@ -135,7 +135,7 @@ export const FolderUsersPageClient = ({ folderId }: { folderId: string }) => {
/>
<select
- className="appearance-none rounded-md border border-gray-200 bg-white pl-10 pr-8 text-sm text-gray-900 focus:border-gray-300 focus:ring-gray-300"
+ className="appearance-none rounded-md border border-neutral-200 bg-white pl-10 pr-8 text-sm text-neutral-900 focus:border-neutral-300 focus:ring-neutral-300"
value={workspaceAccessLevel || folder?.accessLevel || ""}
disabled={isUpdating}
onChange={(e) => {
@@ -166,7 +166,7 @@ export const FolderUsersPageClient = ({ folderId }: { folderId: string }) => {
)}
</div>
- <div className="grid divide-y divide-gray-200">
+ <div className="grid divide-y divide-neutral-200">
{isUsersValidating || isUsersLoading
? Array.from({ length: 5 }).map((_, i) => (
<FolderUserPlaceholder key={i} />
@@ -218,10 +218,10 @@ const FolderUserRow = ({
<div className="flex items-center space-x-3">
<Avatar user={user} />
<div className="flex flex-col">
- <h3 className="text-xs font-medium text-gray-800">
+ <h3 className="text-xs font-medium text-neutral-800">
{user.name || user.email}
</h3>
- <p className="text-xs font-normal text-gray-400">{user.email}</p>
+ <p className="text-xs font-normal text-neutral-400">{user.email}</p>
</div>
</div>
</div>
@@ -229,9 +229,9 @@ const FolderUserRow = ({
<div className="flex items-center gap-x-3">
<select
className={cn(
- "rounded-md border border-gray-200 text-xs text-gray-900 focus:border-gray-600 focus:ring-gray-600",
+ "rounded-md border border-neutral-200 text-xs text-neutral-900 focus:border-neutral-600 focus:ring-neutral-600",
{
- "cursor-not-allowed bg-gray-100": disableRoleUpdate,
+ "cursor-not-allowed bg-neutral-100": disableRoleUpdate,
},
)}
value={role === null ? "" : role}
@@ -271,28 +271,28 @@ const FolderUserRow = ({
const FolderPlaceholder = () => (
<>
<div className="flex items-center gap-x-4">
- <div className="h-10 w-10 animate-pulse rounded-full bg-gray-200" />
+ <div className="h-10 w-10 animate-pulse rounded-full bg-neutral-200" />
<div className="flex flex-col gap-2">
- <div className="h-4 w-32 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-32 animate-pulse rounded bg-neutral-200" />
<div className="flex items-center gap-1">
- <div className="h-3.5 w-3.5 animate-pulse rounded bg-gray-200" />
- <div className="h-3 w-24 animate-pulse rounded bg-gray-200" />
+ <div className="h-3.5 w-3.5 animate-pulse rounded bg-neutral-200" />
+ <div className="h-3 w-24 animate-pulse rounded bg-neutral-200" />
</div>
</div>
</div>
- <div className="h-6 w-24 animate-pulse rounded bg-gray-200" />
+ <div className="h-6 w-24 animate-pulse rounded bg-neutral-200" />
</>
);
const FolderUserPlaceholder = () => (
<div className="flex items-center justify-between space-x-3 px-5 py-3">
<div className="flex items-center space-x-3">
- <div className="h-10 w-10 animate-pulse rounded-full bg-gray-200" />
+ <div className="h-10 w-10 animate-pulse rounded-full bg-neutral-200" />
<div className="flex flex-col">
- <div className="h-4 w-24 animate-pulse rounded bg-gray-200" />
- <div className="mt-1 h-3 w-32 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-24 animate-pulse rounded bg-neutral-200" />
+ <div className="mt-1 h-3 w-32 animate-pulse rounded bg-neutral-200" />
</div>
</div>
- <div className="h-3 w-24 animate-pulse rounded bg-gray-200" />
+ <div className="h-3 w-24 animate-pulse rounded bg-neutral-200" />
</div>
);
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/header.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/header.tsx
index b033dac090..4f50ac2252 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/header.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/header.tsx
@@ -18,7 +18,7 @@ export default function LibraryHeader() {
}
return (
- <div className="border-b border-gray-200">
+ <div className="border-b border-neutral-200">
<h1 className="text-2xl font-semibold tracking-tight text-black">
Library
</h1>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
index 8370f7f018..a65eb81759 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/page-client.tsx
@@ -92,7 +92,7 @@ export default function WorkspaceTagsClient() {
))}
</CardList>
</TagsListContext.Provider>
- <div className="sticky bottom-0 rounded-b-[inherit] border-t border-gray-200 bg-white px-3.5 py-2">
+ <div className="sticky bottom-0 rounded-b-[inherit] border-t border-neutral-200 bg-white px-3.5 py-2">
<PaginationControls
pagination={pagination}
setPagination={setPagination}
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card-placeholder.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card-placeholder.tsx
index 12123dfaf7..f8372f707c 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card-placeholder.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card-placeholder.tsx
@@ -5,11 +5,11 @@ export function TagCardPlaceholder() {
<CardList.Card>
<div className="flex h-8 items-center justify-between gap-5 sm:gap-8 md:gap-12">
<div className="flex items-center gap-3">
- <div className="h-5 w-5 animate-pulse rounded-md bg-gray-200" />
- <div className="h-5 w-16 animate-pulse rounded-md bg-gray-200 sm:w-32" />
+ <div className="h-5 w-5 animate-pulse rounded-md bg-neutral-200" />
+ <div className="h-5 w-16 animate-pulse rounded-md bg-neutral-200 sm:w-32" />
</div>
<div className="flex items-center gap-5 sm:gap-8 md:gap-12">
- <div className="h-5 w-16 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-5 w-16 animate-pulse rounded-md bg-neutral-200" />
<div className="w-8" />
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card.tsx
index 074409967c..6fec133de8 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/tags/tag-card.tsx
@@ -90,7 +90,7 @@ export function TagCard({
>
<div className="flex min-w-0 grow items-center gap-3">
<TagBadge color={tag.color} withIcon className="sm:p-1.5" />
- <span className="min-w-0 truncate whitespace-nowrap text-gray-800">
+ <span className="min-w-0 truncate whitespace-nowrap text-neutral-800">
{tag.name}
</span>
</div>
@@ -99,7 +99,7 @@ export function TagCard({
{linksCount !== undefined && (
<Link
href={`/${slug}?tagIds=${tag.id}`}
- className="whitespace-nowrap rounded-md border border-gray-200 bg-gray-50 px-2 py-0.5 text-sm text-gray-800 transition-colors hover:bg-gray-100"
+ className="whitespace-nowrap rounded-md border border-neutral-200 bg-neutral-50 px-2 py-0.5 text-sm text-neutral-800 transition-colors hover:bg-neutral-100"
>
{nFormatter(linksCount || 0)} {pluralize("link", linksCount || 0)}
</Link>
@@ -150,7 +150,7 @@ export function TagCard({
variant="secondary"
className={cn(
"h-8 px-1.5 outline-none transition-all duration-200",
- "border-transparent data-[state=open]:border-gray-500 sm:group-hover/card:data-[state=closed]:border-gray-200",
+ "border-transparent data-[state=open]:border-neutral-500 sm:group-hover/card:data-[state=closed]:border-neutral-200",
)}
icon={
processing ? (
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
index 4195f40cd0..770e203066 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/page-client.tsx
@@ -70,7 +70,7 @@ export default function WorkspaceUtmTemplatesClient() {
<>
<DiamondTurnRight className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="hidden grow items-center justify-end gap-1.5 text-gray-500 sm:flex">
+ <div className="hidden grow items-center justify-end gap-1.5 text-neutral-500 sm:flex">
<GlobePointer className="size-3.5" />
<Flag6 className="size-3.5" />
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card-placeholder.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card-placeholder.tsx
index 30d28eb519..c01fa03431 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card-placeholder.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card-placeholder.tsx
@@ -5,12 +5,12 @@ export function TemplateCardPlaceholder() {
<CardList.Card>
<div className="flex h-8 items-center justify-between gap-5 sm:gap-8 md:gap-12">
<div className="flex items-center gap-3">
- <div className="h-5 w-5 animate-pulse rounded-md bg-gray-200" />
- <div className="h-5 w-16 animate-pulse rounded-md bg-gray-200 sm:w-32" />
+ <div className="h-5 w-5 animate-pulse rounded-md bg-neutral-200" />
+ <div className="h-5 w-16 animate-pulse rounded-md bg-neutral-200 sm:w-32" />
</div>
<div className="flex items-center gap-5 sm:gap-8 md:gap-12">
- <div className="h-5 w-12 animate-pulse rounded-md bg-gray-200" />
- <div className="hidden h-5 w-16 animate-pulse rounded-md bg-gray-200 sm:block" />
+ <div className="h-5 w-12 animate-pulse rounded-md bg-neutral-200" />
+ <div className="hidden h-5 w-16 animate-pulse rounded-md bg-neutral-200 sm:block" />
<div className="w-8" />
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
index cdd60ba1a7..414899fc85 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/library/utm/template-card.tsx
@@ -76,8 +76,8 @@ export function TemplateCard({
>
<div className="flex min-w-0 grow items-center gap-3">
<div className="flex min-w-0 items-center gap-2">
- <DiamondTurnRight className="size-5 shrink-0 text-gray-500" />
- <span className="min-w-0 truncate whitespace-nowrap font-medium text-gray-800">
+ <DiamondTurnRight className="size-5 shrink-0 text-neutral-500" />
+ <span className="min-w-0 truncate whitespace-nowrap font-medium text-neutral-800">
{template.name}
</span>
</div>
@@ -91,8 +91,8 @@ export function TemplateCard({
<div className="grid max-w-[225px] grid-cols-[1fr,minmax(0,min-content)] gap-x-2 gap-y-1 whitespace-nowrap p-2 text-sm sm:min-w-[150px]">
{includedParams.map(({ key, label, icon: Icon }) => (
<Fragment key={key}>
- <span className="font-medium text-gray-600">{label}</span>
- <span className="truncate text-gray-500">
+ <span className="font-medium text-neutral-600">{label}</span>
+ <span className="truncate text-neutral-500">
{template[key]}
</span>
</Fragment>
@@ -100,14 +100,14 @@ export function TemplateCard({
</div>
}
>
- <div className="xs:flex hidden shrink-0 items-center gap-1 px-2 text-gray-500">
+ <div className="xs:flex hidden shrink-0 items-center gap-1 px-2 text-neutral-500">
{includedParams.map(({ icon: Icon }) => (
<Icon className="size-3.5" />
))}
</div>
</Tooltip>
- <div className="hidden text-sm text-gray-500 sm:block">
+ <div className="hidden text-sm text-neutral-500 sm:block">
{formatDate(template.updatedAt, { month: "short" })}
</div>
@@ -144,7 +144,7 @@ export function TemplateCard({
variant="secondary"
className={cn(
"h-8 px-1.5 outline-none transition-all duration-200",
- "border-transparent data-[state=open]:border-gray-500 sm:group-hover/card:data-[state=closed]:border-gray-200",
+ "border-transparent data-[state=open]:border-neutral-500 sm:group-hover/card:data-[state=closed]:border-neutral-200",
)}
icon={
processing ? (
@@ -207,11 +207,11 @@ function UserAvatar({ template }: { template: UtmTemplateWithUserProps }) {
<div className="w-full p-3">
<Avatar user={user} className="h-8 w-8" />
<div className="mt-2 flex items-center gap-1.5">
- <p className="text-sm font-semibold text-gray-700">
+ <p className="text-sm font-semibold text-neutral-700">
{user?.name || user?.email || "Anonymous User"}
</p>
</div>
- <div className="flex flex-col gap-1 text-xs text-gray-500">
+ <div className="flex flex-col gap-1 text-xs text-neutral-500">
{user?.name && user.email && <p>{user.email}</p>}
</div>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/notifications/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/notifications/page-client.tsx
index d4fb33e614..7b0b1c8a29 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/notifications/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/notifications/page-client.tsx
@@ -75,7 +75,7 @@ export default function NotificationsSettingsPageClient() {
<h2 className="text-xl font-semibold tracking-tight text-black">
Workspace Notifications
</h2>
- <p className="mt-3 text-sm text-gray-500">
+ <p className="mt-3 text-sm text-neutral-500">
Adjust your personal notification preferences and choose which updates
you want to receive. These settings will only be applied to your
personal account.
@@ -85,11 +85,11 @@ export default function NotificationsSettingsPageClient() {
{notifications.map(({ type, icon: Icon, title, description }) => (
<div
key={type}
- className="flex items-center justify-between gap-4 rounded-xl border border-gray-200 bg-white p-5"
+ className="flex items-center justify-between gap-4 rounded-xl border border-neutral-200 bg-white p-5"
>
<div className="flex min-w-0 items-center gap-4">
- <div className="hidden rounded-full border border-gray-200 sm:block">
- <div className="rounded-full border border-white bg-gradient-to-t from-gray-100 p-1 md:p-3">
+ <div className="hidden rounded-full border border-neutral-200 sm:block">
+ <div className="rounded-full border border-white bg-gradient-to-t from-neutral-100 p-1 md:p-3">
<Icon className="size-5" />
</div>
</div>
@@ -98,7 +98,7 @@ export default function NotificationsSettingsPageClient() {
<div className="truncate text-sm font-medium">{title}</div>
</div>
<div className="mt-1 flex items-center gap-1 text-xs">
- <span className="whitespace-pre-wrap text-gray-500">
+ <span className="whitespace-pre-wrap text-neutral-500">
{description}
</span>
</div>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/[appId]/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/[appId]/page-client.tsx
index 4e49dfb825..5dba5982d9 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/[appId]/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/[appId]/page-client.tsx
@@ -73,22 +73,22 @@ export default function OAuthAppManagePageClient({ appId }: { appId: string }) {
<div className="flex justify-between gap-2 sm:items-center">
{isLoading ? (
<div className="flex flex-col gap-3 sm:flex-row sm:items-center">
- <div className="w-fit flex-none rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2">
+ <div className="w-fit flex-none rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2">
<TokenAvatar id="placeholder-oauth-app" className="size-8" />
</div>
<div className="flex flex-col gap-2">
- <div className="h-3 w-20 rounded-full bg-gray-100"></div>
- <div className="h-3 w-40 rounded-full bg-gray-100"></div>
+ <div className="h-3 w-20 rounded-full bg-neutral-100"></div>
+ <div className="h-3 w-40 rounded-full bg-neutral-100"></div>
</div>
</div>
) : (
<div className="flex flex-col gap-3 sm:flex-row sm:items-center">
- <div className="w-fit flex-none rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2">
+ <div className="w-fit flex-none rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2">
{oAuthApp?.logo ? (
<BlurImage
src={oAuthApp.logo}
alt={`Logo for ${oAuthApp.name}`}
- className="size-8 rounded-full border border-gray-200"
+ className="size-8 rounded-full border border-neutral-200"
width={20}
height={20}
/>
@@ -97,8 +97,10 @@ export default function OAuthAppManagePageClient({ appId }: { appId: string }) {
)}
</div>
<div>
- <p className="font-semibold text-gray-700">{oAuthApp?.name}</p>
- <p className="text-pretty text-sm text-gray-500">
+ <p className="font-semibold text-neutral-700">
+ {oAuthApp?.name}
+ </p>
+ <p className="text-pretty text-sm text-neutral-500">
{oAuthApp?.description}
</p>
</div>
@@ -151,8 +153,8 @@ export default function OAuthAppManagePageClient({ appId }: { appId: string }) {
>
<Button
variant="outline"
- className="flex w-8 rounded-md border border-gray-200 px-2 transition-[border-color] duration-200"
- icon={<ThreeDots className="h-5 w-5 shrink-0 text-gray-500" />}
+ className="flex w-8 rounded-md border border-neutral-200 px-2 transition-[border-color] duration-200"
+ icon={<ThreeDots className="h-5 w-5 shrink-0 text-neutral-500" />}
onClick={() => setOpenPopover(!openPopover)}
{...(permissionsError && {
disabledTooltip: permissionsError,
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/page-client.tsx
index 80af41cc86..9ac8552ebd 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/oauth-apps/page-client.tsx
@@ -62,7 +62,7 @@ export default function OAuthAppsPageClient() {
))}
</div>
) : (
- <div className="flex flex-col items-center gap-4 rounded-xl border border-gray-200 py-10">
+ <div className="flex flex-col items-center gap-4 rounded-xl border border-neutral-200 py-10">
<EmptyState icon={Cube} title={"No OAuth applications found"} />
</div>
)
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
index 14195315bb..5c662459d3 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/people/page-client.tsx
@@ -48,11 +48,11 @@ export default function WorkspacePeopleClient() {
<>
<InviteTeammateModal />
<InviteCodeModal />
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="flex flex-col items-center justify-between space-y-3 p-5 sm:flex-row sm:space-y-0 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">People</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Teammates that have access to this workspace.
</p>
</div>
@@ -70,7 +70,7 @@ export default function WorkspacePeopleClient() {
}
/>
<Button
- icon={<LinkIcon className="h-4 w-4 text-gray-800" />}
+ icon={<LinkIcon className="h-4 w-4 text-neutral-800" />}
variant="secondary"
onClick={() => setShowInviteCodeModal(true)}
className="h-9 space-x-0"
@@ -84,7 +84,7 @@ export default function WorkspacePeopleClient() {
/>
</div>
</div>
- <div className="flex space-x-3 border-b border-gray-200 px-3 sm:px-7">
+ <div className="flex space-x-3 border-b border-neutral-200 px-3 sm:px-7">
{tabs.map((tab) => (
<div
key={tab}
@@ -94,14 +94,14 @@ export default function WorkspacePeopleClient() {
>
<button
onClick={() => setCurrentTab(tab)}
- className="rounded-md px-3 py-1.5 text-sm transition-all duration-75 hover:bg-gray-100 active:bg-gray-200"
+ className="rounded-md px-3 py-1.5 text-sm transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200"
>
{tab}
</button>
</div>
))}
</div>
- <div className="grid divide-y divide-gray-200">
+ <div className="grid divide-y divide-neutral-200">
{users ? (
users.length > 0 ? (
users.map((user) => (
@@ -116,7 +116,7 @@ export default function WorkspacePeopleClient() {
height={300}
className="pointer-events-none -my-8"
/>
- <p className="text-sm text-gray-500">No invitations sent</p>
+ <p className="text-sm text-neutral-500">No invitations sent</p>
</div>
)
) : (
@@ -191,7 +191,7 @@ const UserCard = ({
/>
<div className="flex flex-col">
<h3 className="text-sm font-medium">{name || email}</h3>
- <p className="text-xs text-gray-500">{email}</p>
+ <p className="text-xs text-neutral-500">{email}</p>
</div>
</div>
@@ -200,14 +200,14 @@ const UserCard = ({
<div className="flex items-center gap-x-3">
{currentTab === "Members" ? (
session?.user?.email === email ? (
- <p className="text-xs capitalize text-gray-500">{role}</p>
+ <p className="text-xs capitalize text-neutral-500">{role}</p>
) : (
!isMachine && (
<select
className={cn(
- "rounded-md border border-gray-200 text-xs text-gray-500 focus:border-gray-600 focus:ring-gray-600",
+ "rounded-md border border-neutral-200 text-xs text-neutral-500 focus:border-neutral-600 focus:ring-neutral-600",
{
- "cursor-not-allowed bg-gray-100": permissionsError,
+ "cursor-not-allowed bg-neutral-100": permissionsError,
},
)}
value={role}
@@ -226,13 +226,13 @@ const UserCard = ({
) : (
<>
<p
- className="hidden text-xs text-gray-500 sm:block"
+ className="hidden text-xs text-neutral-500 sm:block"
suppressHydrationWarning
>
{capitalize(user.role)}
</p>
<p
- className="text-right text-xs text-gray-500 sm:min-w-28"
+ className="text-right text-xs text-neutral-500 sm:min-w-28"
suppressHydrationWarning
>
Invited {timeAgo(createdAt)}
@@ -287,7 +287,7 @@ const UserCard = ({
e.stopPropagation();
setOpenPopover(!openPopover);
}}
- icon={<ThreeDots className="h-5 w-5 text-gray-500" />}
+ icon={<ThreeDots className="h-5 w-5 text-neutral-500" />}
className="h-8 space-x-0 px-1 py-2"
variant="outline"
{...(permissionsError &&
@@ -306,12 +306,12 @@ const UserCard = ({
const UserPlaceholder = () => (
<div className="flex items-center justify-between space-x-3 px-4 py-3 sm:px-8">
<div className="flex items-center space-x-3">
- <div className="h-10 w-10 animate-pulse rounded-full bg-gray-200" />
+ <div className="h-10 w-10 animate-pulse rounded-full bg-neutral-200" />
<div className="flex flex-col">
- <div className="h-4 w-24 animate-pulse rounded bg-gray-200" />
- <div className="mt-1 h-3 w-32 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-24 animate-pulse rounded bg-neutral-200" />
+ <div className="mt-1 h-3 w-32 animate-pulse rounded bg-neutral-200" />
</div>
</div>
- <div className="h-3 w-24 animate-pulse rounded bg-gray-200" />
+ <div className="h-3 w-24 animate-pulse rounded bg-neutral-200" />
</div>
);
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
index 44c1d6143a..1a18ed5723 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/security/page-client.tsx
@@ -51,8 +51,8 @@ const SAMLSection = () => {
return {
status: "unconfigured",
logo: (
- <div className="rounded-full border border-gray-200 p-2">
- <Lock className="h-4 w-4 text-gray-600" />
+ <div className="rounded-full border border-neutral-200 p-2">
+ <Lock className="h-4 w-4 text-neutral-600" />
</div>
),
title: "SAML",
@@ -65,37 +65,37 @@ const SAMLSection = () => {
return (
<>
{configured ? <RemoveSAMLModal /> : <SAMLModal />}
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="relative flex flex-col space-y-6 p-5 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">SAML Single Sign-On</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Set up SAML Single Sign-On (SSO) to allow your team to sign in to{" "}
{process.env.NEXT_PUBLIC_APP_NAME} with your identity provider.
</p>
</div>
- <div className="mt-2 flex items-center justify-between rounded-md border border-gray-200 px-4 py-3">
+ <div className="mt-2 flex items-center justify-between rounded-md border border-neutral-200 px-4 py-3">
<div className="flex items-center space-x-4">
{data.logo || (
- <div className="h-8 w-8 animate-pulse rounded-full bg-gray-100" />
+ <div className="h-8 w-8 animate-pulse rounded-full bg-neutral-100" />
)}
<div className="flex flex-col">
{data.title ? (
<h3 className="font-medium">{data.title}</h3>
) : (
- <div className="h-5 w-20 animate-pulse rounded-md bg-gray-100" />
+ <div className="h-5 w-20 animate-pulse rounded-md bg-neutral-100" />
)}
{data.description ? (
- <p className="text-sm text-gray-500">{data.description}</p>
+ <p className="text-sm text-neutral-500">{data.description}</p>
) : (
- <div className="mt-2 h-4 w-40 animate-pulse rounded-md bg-gray-100" />
+ <div className="mt-2 h-4 w-40 animate-pulse rounded-md bg-neutral-100" />
)}
</div>
</div>
<div>
{loading ? (
- <div className="h-9 w-24 animate-pulse rounded-md bg-gray-100" />
+ <div className="h-9 w-24 animate-pulse rounded-md bg-neutral-100" />
) : configured ? (
<Popover
content={
@@ -124,10 +124,10 @@ const SAMLSection = () => {
e.stopPropagation();
setOpenPopover(!openPopover);
}}
- className="rounded-md px-1 py-2 transition-all duration-75 hover:bg-gray-100 active:bg-gray-200"
+ className="rounded-md px-1 py-2 transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200"
>
<span className="sr-only">Edit</span>
- <ThreeDots className="h-5 w-5 text-gray-500" />
+ <ThreeDots className="h-5 w-5 text-neutral-500" />
</button>
</Popover>
) : (
@@ -151,11 +151,11 @@ const SAMLSection = () => {
</div>
</div>
- <div className="flex items-center justify-between rounded-b-lg border-t border-gray-200 bg-gray-50 px-3 py-5 sm:px-10">
+ <div className="flex items-center justify-between rounded-b-lg border-t border-neutral-200 bg-neutral-50 px-3 py-5 sm:px-10">
<a
href="https://dub.co/help/category/saml-sso"
target="_blank"
- className="text-sm text-gray-400 underline underline-offset-4 transition-colors hover:text-gray-700"
+ className="text-sm text-neutral-400 underline underline-offset-4 transition-colors hover:text-neutral-700"
>
Learn more about SAML SSO.
</a>
@@ -194,8 +194,8 @@ const SCIMSection = () => {
} else
return {
logo: (
- <div className="rounded-full border border-gray-200 p-2">
- <FolderSync className="h-4 w-4 text-gray-600" />
+ <div className="rounded-full border border-neutral-200 p-2">
+ <FolderSync className="h-4 w-4 text-neutral-600" />
</div>
),
title: "SCIM",
@@ -209,37 +209,37 @@ const SCIMSection = () => {
<>
<SCIMModal />
{configured && <RemoveSCIMModal />}
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="relative flex flex-col space-y-6 p-5 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">Directory Sync</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Automatically provision and deprovision users from your identity
provider.
</p>
</div>
- <div className="mt-2 flex items-center justify-between rounded-md border border-gray-200 px-4 py-3">
+ <div className="mt-2 flex items-center justify-between rounded-md border border-neutral-200 px-4 py-3">
<div className="flex items-center space-x-4">
{data.logo || (
- <div className="h-8 w-8 animate-pulse rounded-full bg-gray-100" />
+ <div className="h-8 w-8 animate-pulse rounded-full bg-neutral-100" />
)}
<div className="flex flex-col">
{data.title ? (
<h3 className="font-medium">{data.title}</h3>
) : (
- <div className="h-5 w-20 animate-pulse rounded-md bg-gray-100" />
+ <div className="h-5 w-20 animate-pulse rounded-md bg-neutral-100" />
)}
{data.description ? (
- <p className="text-sm text-gray-500">{data.description}</p>
+ <p className="text-sm text-neutral-500">{data.description}</p>
) : (
- <div className="mt-2 h-4 w-40 animate-pulse rounded-md bg-gray-100" />
+ <div className="mt-2 h-4 w-40 animate-pulse rounded-md bg-neutral-100" />
)}
</div>
</div>
<div>
{loading ? (
- <div className="h-9 w-24 animate-pulse rounded-md bg-gray-100" />
+ <div className="h-9 w-24 animate-pulse rounded-md bg-neutral-100" />
) : configured ? (
<Popover
content={
@@ -249,7 +249,7 @@ const SCIMSection = () => {
setShowSCIMModal(true);
setOpenPopover(false);
}}
- className="rounded-md p-2 text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="View configuration"
@@ -280,10 +280,10 @@ const SCIMSection = () => {
e.stopPropagation();
setOpenPopover(!openPopover);
}}
- className="rounded-md px-1 py-2 transition-all duration-75 hover:bg-gray-100 active:bg-gray-200"
+ className="rounded-md px-1 py-2 transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200"
>
<span className="sr-only">Edit</span>
- <ThreeDots className="h-5 w-5 text-gray-500" />
+ <ThreeDots className="h-5 w-5 text-neutral-500" />
</button>
</Popover>
) : (
@@ -307,11 +307,11 @@ const SCIMSection = () => {
</div>
</div>
- <div className="flex items-center justify-between rounded-b-lg border-t border-gray-200 bg-gray-50 px-3 py-5 sm:px-10">
+ <div className="flex items-center justify-between rounded-b-lg border-t border-neutral-200 bg-neutral-50 px-3 py-5 sm:px-10">
<a
href="https://dub.co/help/category/saml-sso"
target="_blank"
- className="text-sm text-gray-400 underline underline-offset-4 transition-colors hover:text-gray-700"
+ className="text-sm text-neutral-400 underline underline-offset-4 transition-colors hover:text-neutral-700"
>
Learn more about SCIM Directory Sync.
</a>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
index a1b530cd06..8806d9fdf0 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/tokens/page-client.tsx
@@ -80,7 +80,7 @@ export default function TokensPageClient() {
cell: ({ row }) => {
return (
<span className="flex items-center gap-2">
- <Key className="size-4 text-gray-500" />
+ <Key className="size-4 text-neutral-500" />
{row.original.name}
</span>
);
@@ -298,7 +298,7 @@ function MenuItem({
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
danger
? buttonVariants({ variant: "danger-outline" })
- : "text-neutral-500 data-[selected=true]:bg-gray-100",
+ : "text-neutral-500 data-[selected=true]:bg-neutral-100",
)}
onSelect={onSelect}
>
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/page-client.tsx
index 8c231ed0fe..20198676e7 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/webhooks/page-client.tsx
@@ -25,7 +25,7 @@ export default function WebhooksPageClient() {
if (needsHigherPlan) {
return (
- <div className="rounded-md border border-gray-200 bg-white p-10">
+ <div className="rounded-md border border-neutral-200 bg-white p-10">
<EmptyState
icon={Webhook}
title="Webhooks"
@@ -75,7 +75,7 @@ export default function WebhooksPageClient() {
))}
</div>
) : (
- <div className="flex flex-col items-center gap-4 rounded-xl border border-gray-200 py-10">
+ <div className="flex flex-col items-center gap-4 rounded-xl border border-neutral-200 py-10">
<EmptyState
icon={Webhook}
title="You haven't set up any webhooks yet."
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/referrals/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/referrals/page-client.tsx
index eaed79b434..d5ad625405 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/referrals/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/referrals/page-client.tsx
@@ -39,7 +39,7 @@ export function ReferralsPageClient() {
<>
<Hyperlink className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<CursorRays className="size-3.5" />
<UserCheck className="size-3.5" />
<InvoiceDollar className="size-3.5" />
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/page-client.tsx
index 2aed73ad83..c5b4f97629 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/page-client.tsx
@@ -11,17 +11,17 @@ export default function SecurityPageClient() {
if (loading) {
return (
- <div className="rounded-lg border border-gray-200 bg-white">
- <div className="flex flex-col gap-3 border-b border-gray-200 p-5 sm:p-10">
+ <div className="rounded-lg border border-neutral-200 bg-white">
+ <div className="flex flex-col gap-3 border-b border-neutral-200 p-5 sm:p-10">
<h2 className="text-xl font-medium">Password</h2>
- <div className="h-3 w-56 rounded-full bg-gray-100"></div>
+ <div className="h-3 w-56 rounded-full bg-neutral-100"></div>
</div>
<div className="p-5 sm:p-10">
<div className="flex justify-between gap-2">
- <div className="h-3 w-56 rounded-full bg-gray-100"></div>
- <div className="h-3 w-56 rounded-full bg-gray-100"></div>
+ <div className="h-3 w-56 rounded-full bg-neutral-100"></div>
+ <div className="h-3 w-56 rounded-full bg-neutral-100"></div>
</div>
- <div className="mt-5 h-3 rounded-full bg-gray-100"></div>
+ <div className="mt-5 h-3 rounded-full bg-neutral-100"></div>
</div>
</div>
);
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/request-set-password.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/request-set-password.tsx
index 804a810214..1bea121a6d 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/request-set-password.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/request-set-password.tsx
@@ -36,10 +36,10 @@ export const RequestSetPassword = () => {
};
return (
- <div className="rounded-lg border border-gray-200 bg-white">
- <div className="flex flex-col gap-3 border-b border-gray-200 p-5 sm:p-10">
+ <div className="rounded-lg border border-neutral-200 bg-white">
+ <div className="flex flex-col gap-3 border-b border-neutral-200 p-5 sm:p-10">
<h2 className="text-xl font-medium">Password</h2>
- <p className="pb-2 text-sm text-gray-500">
+ <p className="pb-2 text-sm text-neutral-500">
{user?.provider && (
<>
Your account is managed by{" "}
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
index f9d3ae4783..6b6a0546da 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/security/update-password.tsx
@@ -41,13 +41,13 @@ export const UpdatePassword = () => {
return (
<form
- className="rounded-lg border border-gray-200 bg-white"
+ className="rounded-lg border border-neutral-200 bg-white"
onSubmit={onSubmit}
>
<div>
- <div className="flex flex-col gap-3 border-b border-gray-200 p-5 sm:p-10">
+ <div className="flex flex-col gap-3 border-b border-neutral-200 p-5 sm:p-10">
<h2 className="text-xl font-medium">Password</h2>
- <p className="pb-2 text-sm text-gray-500">
+ <p className="pb-2 text-sm text-neutral-500">
Manage your account password on {process.env.NEXT_PUBLIC_APP_NAME}.
</p>
</div>
@@ -84,9 +84,9 @@ export const UpdatePassword = () => {
</div>
</div>
- <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10">
+ <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-neutral-200 bg-neutral-50 p-3 sm:px-10">
<Tooltip content="Passwords must be at least 8 characters long containing at least one number, one uppercase, and one lowercase letter.">
- <p className="text-sm text-gray-500 underline decoration-dotted underline-offset-2 hover:text-gray-700">
+ <p className="text-sm text-neutral-500 underline decoration-dotted underline-offset-2 hover:text-neutral-700">
Password requirements
</p>
</Tooltip>
diff --git a/apps/web/app/app.dub.co/(dashboard)/account/settings/tokens/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/account/settings/tokens/page-client.tsx
index bb29337fe3..54b428d0ef 100644
--- a/apps/web/app/app.dub.co/(dashboard)/account/settings/tokens/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/account/settings/tokens/page-client.tsx
@@ -29,7 +29,7 @@ export default function TokensPageClient() {
<AlertTitle>
User API Keys have been replaced by Workspace API Keys.
</AlertTitle>
- <AlertDescription className="text-gray-500">
+ <AlertDescription className="text-neutral-500">
We recommend creating a new{" "}
<a
href="https://dub.co/docs/api-reference/tokens"
@@ -50,10 +50,10 @@ export default function TokensPageClient() {
</AlertDescription>
</Alert>
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Your API Keys</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
These API keys allow other apps to access your account. Use it with
caution – do not share your API key with others, or expose it in the
browser or other client-side code
@@ -61,17 +61,17 @@ export default function TokensPageClient() {
</div>
{isLoading || !tokens ? (
<div className="flex flex-col items-center justify-center space-y-4 pb-20 pt-10">
- <LoadingSpinner className="h-6 w-6 text-gray-500" />
- <p className="text-sm text-gray-500">Fetching API keys...</p>
+ <LoadingSpinner className="h-6 w-6 text-neutral-500" />
+ <p className="text-sm text-neutral-500">Fetching API keys...</p>
</div>
) : tokens.length > 0 ? (
<div>
- <div className="grid grid-cols-5 border-b border-gray-200 px-5 py-2 text-sm font-medium text-gray-500 sm:px-10">
+ <div className="grid grid-cols-5 border-b border-neutral-200 px-5 py-2 text-sm font-medium text-neutral-500 sm:px-10">
<div className="col-span-3">Name</div>
<div>Key</div>
<div className="text-center">Last used</div>
</div>
- <div className="divide-y divide-gray-200">
+ <div className="divide-y divide-neutral-200">
{tokens.map((token) => (
<TokenRow key={token.id} {...token} />
))}
@@ -79,8 +79,8 @@ export default function TokensPageClient() {
</div>
) : (
<div className="flex flex-col items-center justify-center space-y-4 pb-20 pt-10">
- <FolderOpen className="h-6 w-6 text-gray-500" />
- <p className="text-sm text-gray-500">
+ <FolderOpen className="h-6 w-6 text-neutral-500" />
+ <p className="text-sm text-neutral-500">
No API keys found. Create one above.
</p>
</div>
@@ -104,15 +104,15 @@ const TokenRow = (token: TokenProps) => {
<div className="col-span-3 flex items-center space-x-3">
<TokenAvatar id={token.id} />
<div className="flex flex-col space-y-px">
- <p className="font-semibold text-gray-700">{token.name}</p>
- <p className="text-sm text-gray-500" suppressHydrationWarning>
+ <p className="font-semibold text-neutral-700">{token.name}</p>
+ <p className="text-sm text-neutral-500" suppressHydrationWarning>
Created {timeAgo(token.createdAt, { withAgo: true })}
</p>
</div>
</div>
<div className="font-mono text-sm">{token.partialKey}</div>
<div
- className="text-center text-sm text-gray-500"
+ className="text-center text-sm text-neutral-500"
suppressHydrationWarning
>
{timeAgo(token.lastUsed)}
@@ -142,9 +142,9 @@ const TokenRow = (token: TokenProps) => {
onClick={() => {
setOpenPopover(!openPopover);
}}
- className="absolute right-4 rounded-md px-1 py-2 transition-all duration-75 hover:bg-gray-100 active:bg-gray-200"
+ className="absolute right-4 rounded-md px-1 py-2 transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200"
>
- <MoreVertical className="h-5 w-5 text-gray-500" />
+ <MoreVertical className="h-5 w-5 text-neutral-500" />
</button>
</Popover>
</div>
diff --git a/apps/web/app/app.dub.co/(onboarding)/[slug]/upgrade/page.tsx b/apps/web/app/app.dub.co/(onboarding)/[slug]/upgrade/page.tsx
index 9872ac9734..65518236d6 100644
--- a/apps/web/app/app.dub.co/(onboarding)/[slug]/upgrade/page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/[slug]/upgrade/page.tsx
@@ -22,7 +22,7 @@ export default function UpgradePage({ params }: { params: { slug: string } }) {
<a
href="https://dub.co/enterprise"
target="_blank"
- className="w-full text-center text-sm text-gray-500 transition-colors hover:text-gray-700"
+ className="w-full text-center text-sm text-neutral-500 transition-colors hover:text-neutral-700"
>
Looking for enterprise?
</a>
diff --git a/apps/web/app/app.dub.co/(onboarding)/[slug]/wrapped/[year]/client.tsx b/apps/web/app/app.dub.co/(onboarding)/[slug]/wrapped/[year]/client.tsx
index 6f61750fe8..e81ac6cd90 100644
--- a/apps/web/app/app.dub.co/(onboarding)/[slug]/wrapped/[year]/client.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/[slug]/wrapped/[year]/client.tsx
@@ -177,7 +177,7 @@ const StatTable = ({
<motion.div
key={index}
variants={STAGGER_CHILD_VARIANTS}
- className="text-sm text-gray-500"
+ className="text-sm text-neutral-500"
>
<a
href={`/${slug}/analytics?${new URLSearchParams({
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/custom/page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/custom/page.tsx
index 93dd08317b..18a64ab9cd 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/custom/page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/custom/page.tsx
@@ -11,7 +11,7 @@ export default function Custom() {
<a
href="https://dub.co/help/article/choosing-a-custom-domain"
target="_blank"
- className="underline transition-colors hover:text-gray-700"
+ className="underline transition-colors hover:text-neutral-700"
>
Read our guide for best practices
</a>
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/domain-selector.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/domain-selector.tsx
index e3fbf706c3..5db6abc237 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/domain-selector.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/domain/domain-selector.tsx
@@ -96,7 +96,7 @@ function DomainOption({
return (
<div
className={cn(
- "relative flex flex-col gap-2 rounded-lg border border-gray-300 px-10 pb-4 pt-9 transition-all",
+ "relative flex flex-col gap-2 rounded-lg border border-neutral-300 px-10 pb-4 pt-9 transition-all",
isSelected && "border-transparent bg-black/[0.03] ring-2 ring-black",
)}
role="button"
@@ -106,13 +106,13 @@ function DomainOption({
{isSelected && (
<CheckCircleFill className="absolute left-2 top-2 size-5 text-black" />
)}
- <div className="flex w-full flex-col gap-2 rounded-md border border-gray-300 bg-gray-100 p-2 [mask-image:linear-gradient(to_bottom,black_50%,transparent_95%)]">
- <div className="relative rounded border-gray-200 bg-white px-2 py-1.5 text-center text-sm font-medium text-gray-800">
+ <div className="flex w-full flex-col gap-2 rounded-md border border-neutral-300 bg-neutral-100 p-2 [mask-image:linear-gradient(to_bottom,black_50%,transparent_95%)]">
+ <div className="relative rounded border-neutral-200 bg-white px-2 py-1.5 text-center text-sm font-medium text-neutral-800">
<Globe2 className="absolute left-2 top-1/2 size-4 -translate-y-1/2" />
{example}
</div>
- <div className="overflow-hidden rounded border border-gray-300">
- <div className="aspect-[1.9/1] w-full overflow-hidden bg-gray-200">
+ <div className="overflow-hidden rounded border border-neutral-300">
+ <div className="aspect-[1.9/1] w-full overflow-hidden bg-neutral-200">
{previewImage && (
<img
src={previewImage}
@@ -123,11 +123,11 @@ function DomainOption({
</div>
</div>
</div>
- <span className="text-center text-sm font-medium text-gray-800">
+ <span className="text-center text-sm font-medium text-neutral-800">
{title}
</span>
{paidPlanRequired && (
- <span className="flex items-center justify-center gap-1 text-center text-xs font-normal text-gray-500/80">
+ <span className="flex items-center justify-center gap-1 text-center text-xs font-normal text-neutral-500/80">
<Crown className="size-4" />
Paid plan required
</span>
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/link/form.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/link/form.tsx
index e55f20e9f7..eea7ce6e92 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/link/form.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/link/form.tsx
@@ -140,7 +140,7 @@ export function Form() {
<DestinationUrlInput
domains={domains}
right={
- <div className="animate-text-appear text-xs font-normal text-gray-500">
+ <div className="animate-text-appear text-xs font-normal text-neutral-500">
press <strong>Enter</strong> ↵ to submit
</div>
}
@@ -162,10 +162,10 @@ export function Form() {
)}
/>
<div className="flex flex-col gap-2">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
Link Preview
</span>
- <div className="relative aspect-[1.91/1] w-full overflow-hidden rounded-md border border-gray-300 bg-gray-100">
+ <div className="relative aspect-[1.91/1] w-full overflow-hidden rounded-md border border-neutral-300 bg-neutral-100">
{previewImage ? (
<img
src={previewImage}
@@ -174,8 +174,8 @@ export function Form() {
/>
) : (
<div className="relative flex size-full flex-col items-center justify-center space-y-4 bg-white">
- <Photo className="h-8 w-8 text-gray-400" />
- <p className="text-sm text-gray-400">
+ <Photo className="h-8 w-8 text-neutral-400" />
+ <p className="text-sm text-neutral-400">
Enter a link to generate a preview.
</p>
</div>
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/page.tsx
index f246d80934..1426cdb2c5 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/page.tsx
@@ -14,7 +14,7 @@ export default function Plan() {
<a
href="https://dub.co/enterprise"
target="_blank"
- className="w-full text-center text-sm text-gray-500 transition-colors hover:text-gray-700"
+ className="w-full text-center text-sm text-neutral-500 transition-colors hover:text-neutral-700"
>
Looking for enterprise?
</a>
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
index afcaceccf1..42bb949b79 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/plan/plan-selector.tsx
@@ -67,12 +67,12 @@ function PlanCard({
}, [plan]);
return (
- <div className="flex flex-col rounded-lg border border-gray-200 bg-white p-6">
+ <div className="flex flex-col rounded-lg border border-neutral-200 bg-white p-6">
<div className="flex items-center gap-2">
- <h2 className="text-lg font-medium text-gray-900">{name}</h2>
+ <h2 className="text-lg font-medium text-neutral-900">{name}</h2>
{name === "Pro" && <Badge variant="blue">Most popular</Badge>}
</div>
- <div className="mt-2 text-3xl font-medium text-gray-900">
+ <div className="mt-2 text-3xl font-medium text-neutral-900">
<NumberFlow
value={selectedPlan.price[period]!}
className="tabular-nums"
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/step-page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/step-page.tsx
index 1c4ad6032b..f8401a4b92 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/step-page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/step-page.tsx
@@ -27,7 +27,7 @@ export function StepPage({
>
{Icon && <StepIcon icon={Icon} />}
{paidPlanRequired && (
- <div className="mt-6 flex items-center gap-1.5 rounded-full bg-gray-200/50 px-2.5 py-0.5 text-xs font-medium text-gray-700 shadow-inner">
+ <div className="mt-6 flex items-center gap-1.5 rounded-full bg-neutral-200/50 px-2.5 py-0.5 text-xs font-medium text-neutral-700 shadow-inner">
<Crown className="size-3" />
Paid plan required
</div>
@@ -35,7 +35,7 @@ export function StepPage({
<h1 className="mt-4 text-center text-2xl font-medium leading-tight">
{title}
</h1>
- <p className="mt-1.5 text-center text-base leading-tight text-gray-500">
+ <p className="mt-1.5 text-center text-base leading-tight text-neutral-500">
{description}
</p>
<div className="mt-8 w-full">{children}</div>
@@ -45,7 +45,7 @@ export function StepPage({
function StepIcon({ icon: Icon }: { icon: Icon }) {
return (
- <div className="rounded-full border border-gray-200 bg-white p-2.5">
+ <div className="rounded-full border border-neutral-200 bg-white p-2.5">
<Icon className="size-[18px]" />
</div>
);
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/workspace/page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/workspace/page.tsx
index 4388fabf00..b5c1abca5a 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/workspace/page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/workspace/page.tsx
@@ -11,7 +11,7 @@ export default function Workspace() {
<a
href="https://dub.co/help/article/what-is-a-workspace"
target="_blank"
- className="underline transition-colors hover:text-gray-700"
+ className="underline transition-colors hover:text-neutral-700"
>
What is a workspace?
</a>
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/later-button.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/later-button.tsx
index a4371646dc..918e002f4d 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/later-button.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/later-button.tsx
@@ -19,7 +19,7 @@ export function LaterButton({
type="button"
onClick={() => (next === "finish" ? finish() : continueTo(next))}
className={cn(
- "mx-auto flex w-fit items-center gap-2 text-center text-sm text-gray-500 transition-colors enabled:hover:text-gray-700",
+ "mx-auto flex w-fit items-center gap-2 text-center text-sm text-neutral-500 transition-colors enabled:hover:text-neutral-700",
className,
)}
disabled={isLoading || isSuccessful}
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/welcome/page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/welcome/page.tsx
index 4b1dd1b815..cf2341e731 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/welcome/page.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/welcome/page.tsx
@@ -25,7 +25,7 @@ export default function Welcome() {
<h1 className="animate-slide-up-fade mt-10 text-2xl font-medium [--offset:10px] [animation-delay:250ms] [animation-duration:1s] [animation-fill-mode:both]">
Welcome to Dub
</h1>
- <p className="animate-slide-up-fade mt-2 text-gray-500 [--offset:10px] [animation-delay:500ms] [animation-duration:1s] [animation-fill-mode:both]">
+ <p className="animate-slide-up-fade mt-2 text-neutral-500 [--offset:10px] [animation-delay:500ms] [animation-duration:1s] [animation-fill-mode:both]">
Dub gives you marketing superpowers with short links that stand out.
</p>
<div className="animate-slide-up-fade mt-10 w-full [--offset:10px] [animation-delay:750ms] [animation-duration:1s] [animation-fill-mode:both]">
diff --git a/apps/web/app/app.dub.co/(redirects)/loading.tsx b/apps/web/app/app.dub.co/(redirects)/loading.tsx
index 1e580e4e01..f6aa49a0c6 100644
--- a/apps/web/app/app.dub.co/(redirects)/loading.tsx
+++ b/apps/web/app/app.dub.co/(redirects)/loading.tsx
@@ -2,7 +2,7 @@ import LayoutLoader from "@/ui/layout/layout-loader";
export default function Loading() {
return (
- <div className="h-screen w-screen bg-gray-50">
+ <div className="h-screen w-screen bg-neutral-50">
<LayoutLoader />
</div>
);
diff --git a/apps/web/app/app.dub.co/(share)/share/[dashboardId]/form.tsx b/apps/web/app/app.dub.co/(share)/share/[dashboardId]/form.tsx
index 6fc0f11b7e..ea7ab98219 100644
--- a/apps/web/app/app.dub.co/(share)/share/[dashboardId]/form.tsx
+++ b/apps/web/app/app.dub.co/(share)/share/[dashboardId]/form.tsx
@@ -19,10 +19,10 @@ export default function DashboardPasswordForm() {
return (
<form
action={formAction}
- className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 sm:px-16"
+ className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 sm:px-16"
>
<div>
- <label htmlFor="password" className="block text-xs text-gray-600">
+ <label htmlFor="password" className="block text-xs text-neutral-600">
PASSWORD
</label>
<div className="relative mt-1 rounded-md shadow-sm">
@@ -36,7 +36,7 @@ export default function DashboardPasswordForm() {
className={`${
state.error
? "border-red-300 pr-10 text-red-500 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500"
} block w-full rounded-md focus:outline-none sm:text-sm`}
/>
{state.error && (
diff --git a/apps/web/app/app.dub.co/(share)/share/[dashboardId]/page.tsx b/apps/web/app/app.dub.co/(share)/share/[dashboardId]/page.tsx
index 839a9845da..9467f31076 100644
--- a/apps/web/app/app.dub.co/(share)/share/[dashboardId]/page.tsx
+++ b/apps/web/app/app.dub.co/(share)/share/[dashboardId]/page.tsx
@@ -49,11 +49,11 @@ export default async function dashboardPage({
return (
<main className="flex h-screen w-screen items-center justify-center">
<NewBackground />
- <div className="z-10 w-full max-w-md overflow-hidden rounded-2xl border border-gray-100 shadow-xl">
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
+ <div className="z-10 w-full max-w-md overflow-hidden rounded-2xl border border-neutral-100 shadow-xl">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
<Logo />
<h3 className="text-xl font-semibold">Enter Password</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
This dashboard is password protected. Enter the password to view
the dashboard.
</p>
@@ -65,10 +65,10 @@ export default async function dashboardPage({
}
return (
- <div className="flex min-h-screen flex-col justify-between bg-gray-50/80">
+ <div className="flex min-h-screen flex-col justify-between bg-neutral-50/80">
<NavMobile staticDomain="app.dub.co" />
<Nav staticDomain="app.dub.co" />
- <Suspense fallback={<div className="h-screen w-full bg-gray-50" />}>
+ <Suspense fallback={<div className="h-screen w-full bg-neutral-50" />}>
<Analytics
dashboardProps={{
domain: data.link.domain,
diff --git a/apps/web/app/inspect/[domain]/[key]/card.tsx b/apps/web/app/inspect/[domain]/[key]/card.tsx
index f7c47a93ed..e7e1b36282 100644
--- a/apps/web/app/inspect/[domain]/[key]/card.tsx
+++ b/apps/web/app/inspect/[domain]/[key]/card.tsx
@@ -15,7 +15,7 @@ export default function LinkInspectorCard({
const key = _key;
const apexDomain = getApexDomain(url);
return (
- <div className="flex w-full items-center justify-between rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex w-full items-center justify-between rounded-md border border-neutral-300 bg-white p-3">
<div className="flex items-center space-x-3">
<LinkLogo apexDomain={apexDomain} />
<div>
@@ -34,7 +34,7 @@ export default function LinkInspectorCard({
href={url}
target="_blank"
rel="noopener noreferrer"
- className="line-clamp-1 text-left text-sm text-gray-500 underline-offset-2 transition-all hover:text-gray-800 hover:underline"
+ className="line-clamp-1 text-left text-sm text-neutral-500 underline-offset-2 transition-all hover:text-neutral-800 hover:underline"
>
{url}
</a>
diff --git a/apps/web/app/inspect/[domain]/[key]/page.tsx b/apps/web/app/inspect/[domain]/[key]/page.tsx
index a37716b3ac..d47516d6c9 100644
--- a/apps/web/app/inspect/[domain]/[key]/page.tsx
+++ b/apps/web/app/inspect/[domain]/[key]/page.tsx
@@ -68,7 +68,7 @@ export default async function InspectPage({
<h1 className="font-display text-5xl font-extrabold leading-[1.15] text-black sm:text-6xl sm:leading-[1.15]">
Link Inspector
</h1>
- <h2 className="text-lg text-gray-600 sm:text-xl">
+ <h2 className="text-lg text-neutral-600 sm:text-xl">
Inspect a short link on Dub to make sure it's safe to click on. If
you think this link is malicious, please report it.
</h2>
@@ -81,7 +81,7 @@ export default async function InspectPage({
href="https://dub.co/tools/inspector"
rel="noreferrer"
target="_blank"
- className="mx-auto mt-2 flex items-center justify-center space-x-2 text-sm text-gray-500 transition-all hover:text-black"
+ className="mx-auto mt-2 flex items-center justify-center space-x-2 text-sm text-neutral-500 transition-all hover:text-black"
>
Inspect another short link →
</a>
diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx
index f9499a7d71..ef032749ad 100644
--- a/apps/web/app/not-found.tsx
+++ b/apps/web/app/not-found.tsx
@@ -9,12 +9,12 @@ export default function NotFound() {
<Link href="/" className="absolute left-4 top-3">
<Wordmark className="h-6" />
</Link>
- <h1 className="font-display bg-gradient-to-r from-black to-gray-600 bg-clip-text text-5xl font-semibold text-transparent">
+ <h1 className="font-display bg-gradient-to-r from-black to-neutral-600 bg-clip-text text-5xl font-semibold text-transparent">
404
</h1>
<Link
href="/"
- className="flex h-9 w-fit items-center justify-center rounded-md border border-black bg-black px-4 text-sm text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200"
+ className="flex h-9 w-fit items-center justify-center rounded-md border border-black bg-black px-4 text-sm text-white hover:bg-neutral-800 hover:ring-4 hover:ring-neutral-200"
>
Go back home
</Link>
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
index f8d74edd6e..2d6748fcfd 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
@@ -91,14 +91,14 @@ export function ProgramApplicationForm({
className="flex flex-col gap-6"
>
<label>
- <span className="text-sm font-medium text-gray-800">Name</span>
+ <span className="text-sm font-medium text-neutral-800">Name</span>
<input
type="text"
className={cn(
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.name
? "border-red-400 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder="Acme, Inc."
autoFocus={!isMobile}
@@ -109,14 +109,14 @@ export function ProgramApplicationForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">Email</span>
+ <span className="text-sm font-medium text-neutral-800">Email</span>
<input
type="email"
className={cn(
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.email
? "border-red-400 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder="[email protected]"
{...register("email", {
@@ -126,7 +126,7 @@ export function ProgramApplicationForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Website / Social media channel
<span className="font-normal text-neutral-500"> (optional)</span>
</span>
@@ -136,7 +136,7 @@ export function ProgramApplicationForm({
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.website
? "border-red-400 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder="https://example.com"
{...register("website")}
@@ -144,7 +144,7 @@ export function ProgramApplicationForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
How do you plan to promote {program.name}?
</span>
<ReactTextareaAutosize
@@ -152,7 +152,7 @@ export function ProgramApplicationForm({
"mt-2 block max-h-48 min-h-12 w-full rounded-md focus:outline-none sm:text-sm",
errors.proposal
? "border-red-400 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder=""
minRows={3}
@@ -161,7 +161,7 @@ export function ProgramApplicationForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Any additional questions or comments?
<span className="font-normal text-neutral-500"> (optional)</span>
</span>
@@ -170,7 +170,7 @@ export function ProgramApplicationForm({
"mt-2 block max-h-48 min-h-12 w-full rounded-md focus:outline-none sm:text-sm",
errors.comments
? "border-red-400 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",
)}
placeholder=""
minRows={3}
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/details-grid.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/details-grid.tsx
index 58f827b82c..c6b4fd9c8c 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/details-grid.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/details-grid.tsx
@@ -34,10 +34,10 @@ export function DetailsGrid({
},
].map(({ icon: Icon, title, value }) => (
<div className="rounded-xl bg-neutral-100 p-4">
- <Icon className="size-5 text-gray-500" />
+ <Icon className="size-5 text-neutral-500" />
<div className="mt-6">
<p className="font-mono text-xl text-neutral-900">{value}</p>
- <p className="mt-0.5 text-sm text-gray-500">{title}</p>
+ <p className="mt-0.5 text-sm text-neutral-500">{title}</p>
</div>
</div>
))}
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/layout.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/layout.tsx
index 7b58a59f76..45e9a5592a 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/layout.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/layout.tsx
@@ -62,7 +62,7 @@ export default async function ApplyLayout({
return (
<div className="relative">
<div className="relative z-10 mx-auto min-h-screen w-full max-w-screen-sm bg-white">
- <div className="pointer-events-none absolute left-0 top-0 h-screen w-full border-x border-gray-200 [mask-image:linear-gradient(black,transparent)]" />
+ <div className="pointer-events-none absolute left-0 top-0 h-screen w-full border-x border-neutral-200 [mask-image:linear-gradient(black,transparent)]" />
{children}
{/* Footer */}
<footer className="mt-14 flex flex-col items-center gap-4 py-6 text-center text-xs text-neutral-500">
diff --git a/apps/web/app/partners.dub.co/(auth)/(custom)/[programSlug]/login/layout.tsx b/apps/web/app/partners.dub.co/(auth)/(custom)/[programSlug]/login/layout.tsx
index 243c4ffe67..598316018a 100644
--- a/apps/web/app/partners.dub.co/(auth)/(custom)/[programSlug]/login/layout.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(custom)/[programSlug]/login/layout.tsx
@@ -32,18 +32,18 @@ export default function CustomPartnerAuthLayout({
<Wordmark className="h-3.5 text-neutral-900" />
</a>
- <div className="flex gap-3 text-center text-xs text-gray-500 underline underline-offset-2">
+ <div className="flex gap-3 text-center text-xs text-neutral-500 underline underline-offset-2">
<a
href="https://dub.co/legal/privacy"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Privacy Policy
</a>
<a
href="https://dub.co/legal/terms"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Terms of Service
</a>
diff --git a/apps/web/app/partners.dub.co/(auth)/(default)/auth/reset-password/[token]/page.tsx b/apps/web/app/partners.dub.co/(auth)/(default)/auth/reset-password/[token]/page.tsx
index 10d02ec27c..d50f3bc5bd 100644
--- a/apps/web/app/partners.dub.co/(auth)/(default)/auth/reset-password/[token]/page.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(default)/auth/reset-password/[token]/page.tsx
@@ -32,7 +32,7 @@ export default async function ResetPasswordPage({ params: { token } }: Props) {
<h1 className="text-lg font-medium text-neutral-800">
Reset your password
</h1>
- <p className="mt-3 text-sm text-gray-500">
+ <p className="mt-3 text-sm text-neutral-500">
Enter a new password for your account.
</p>
<div className="mt-8 text-left">
diff --git a/apps/web/app/partners.dub.co/(auth)/(default)/forgot-password/page.tsx b/apps/web/app/partners.dub.co/(auth)/(default)/forgot-password/page.tsx
index c95f545603..706b81686c 100644
--- a/apps/web/app/partners.dub.co/(auth)/(default)/forgot-password/page.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(default)/forgot-password/page.tsx
@@ -12,11 +12,11 @@ export default function ForgotPasswordPage() {
<ForgotPasswordForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Don't have an account?&nbsp;
<Link
href="register"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign up
</Link>
diff --git a/apps/web/app/partners.dub.co/(auth)/(default)/layout.tsx b/apps/web/app/partners.dub.co/(auth)/(default)/layout.tsx
index 04ae4865af..465d5150a8 100644
--- a/apps/web/app/partners.dub.co/(auth)/(default)/layout.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(default)/layout.tsx
@@ -20,28 +20,28 @@ export default function PartnerAuthLayout({
</div>
<div className="flex grow flex-col justify-end">
<div className="relative flex w-full flex-col items-center justify-center gap-2 py-10 pb-6">
- <p className="text-xs text-gray-600">
+ <p className="text-xs text-neutral-600">
© {new Date().getFullYear()} Dub Technologies, Inc.
</p>
- <div className="flex gap-3 text-center text-xs text-gray-500 underline underline-offset-2">
+ <div className="flex gap-3 text-center text-xs text-neutral-500 underline underline-offset-2">
<a
href="https://dub.co/legal/privacy"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Privacy Policy
</a>
<a
href="https://dub.co/legal/terms"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Terms of Service
</a>
<a
href="https://app.dub.co"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
app.dub.co
</a>
diff --git a/apps/web/app/partners.dub.co/(auth)/(default)/login/page.tsx b/apps/web/app/partners.dub.co/(auth)/(default)/login/page.tsx
index 5821e2f35d..ae9e13dd5d 100644
--- a/apps/web/app/partners.dub.co/(auth)/(default)/login/page.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(default)/login/page.tsx
@@ -20,11 +20,11 @@ export default function LoginPage() {
</ClientOnly>
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Don't have an account?&nbsp;
<Link
href="register"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign up
</Link>
diff --git a/apps/web/app/partners.dub.co/(auth)/(default)/register/page-client.tsx b/apps/web/app/partners.dub.co/(auth)/(default)/register/page-client.tsx
index 20666966b3..73e5239a60 100644
--- a/apps/web/app/partners.dub.co/(auth)/(default)/register/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(auth)/(default)/register/page-client.tsx
@@ -30,11 +30,11 @@ function SignUp() {
<SignUpForm methods={["email", "google"]} />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Already have an account?&nbsp;
<Link
href="/login"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign in
</Link>
@@ -52,9 +52,9 @@ function Verify() {
<h1 className="text-lg font-medium text-neutral-800">
Verify your email address
</h1>
- <p className="mt-3 text-sm text-gray-500">
+ <p className="mt-3 text-sm text-neutral-500">
Enter the six digit verification code sent to{" "}
- <strong className="font-medium text-gray-600" title={email}>
+ <strong className="font-medium text-neutral-600" title={email}>
{truncate(email, 30)}
</strong>
</p>
@@ -62,11 +62,11 @@ function Verify() {
<VerifyEmailForm />
</div>
</div>
- <p className="mt-4 text-center text-sm text-gray-500">
+ <p className="mt-4 text-center text-sm text-neutral-500">
Already have an account?&nbsp;
<Link
href="/login"
- className="font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black"
>
Sign in
</Link>
diff --git a/apps/web/app/partners.dub.co/(dashboard)/marketplace/page.tsx b/apps/web/app/partners.dub.co/(dashboard)/marketplace/page.tsx
index 1e66f8167e..b8bd5cfe4e 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/marketplace/page.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/marketplace/page.tsx
@@ -14,7 +14,7 @@ export default function MarketplacePage() {
<>
<Folder className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<Globe className="size-3.5" />
</div>
</>
diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/page.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/page.tsx
index 4bbb86c3c6..e89e7d6b6d 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/page.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/links/page.tsx
@@ -20,7 +20,7 @@ export default function ProgramLinks() {
<>
<Hyperlink className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<CursorRays className="size-3.5" />
<UserCheck className="size-3.5" />
<InvoiceDollar className="size-3.5" />
diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
index e11f5de2ee..28d6101957 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/page-client.tsx
@@ -88,7 +88,7 @@ export default function ProgramPageClient() {
type="text"
readOnly
value={getPrettyUrl(masterLink.shortLink)}
- className="xs:w-auto h-10 w-full rounded-md border border-neutral-300 px-3 text-sm focus:border-gray-500 focus:outline-none focus:ring-gray-500 lg:min-w-64 xl:min-w-72"
+ className="xs:w-auto h-10 w-full rounded-md border border-neutral-300 px-3 text-sm focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 lg:min-w-64 xl:min-w-72"
/>
) : (
<div className="h-10 w-16 animate-pulse rounded-md bg-neutral-200 lg:w-72" />
@@ -240,7 +240,7 @@ function EarningsChart() {
tooltipContent={(d) => {
return (
<>
- <p className="border-b border-gray-200 px-4 py-3 text-sm text-gray-900">
+ <p className="border-b border-neutral-200 px-4 py-3 text-sm text-neutral-900">
{formatDateTooltip(d.date, {
interval,
start,
@@ -255,9 +255,9 @@ function EarningsChart() {
color ? `bg-[${color}]` : "bg-violet-500",
)}
/>
- <p className="capitalize text-gray-600">Earnings</p>
+ <p className="capitalize text-neutral-600">Earnings</p>
</div>
- <p className="text-right font-medium text-gray-900">
+ <p className="text-right font-medium text-neutral-900">
{currencyFormatter(d.values.earnings, {
minimumFractionDigits: 2,
maximumFractionDigits: 2,
diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/page-client.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/page-client.tsx
index 2368d7ff0b..4f149b969e 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/programs/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/page-client.tsx
@@ -22,7 +22,7 @@ export function PartnersDashboardPageClient() {
<>
<GridIcon className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<CircleDollar className="size-3.5" />
</div>
</>
diff --git a/apps/web/app/partners.dub.co/(dashboard)/settings/page-client.tsx b/apps/web/app/partners.dub.co/(dashboard)/settings/page-client.tsx
index 094f8e67da..1182312925 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/settings/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/settings/page-client.tsx
@@ -91,7 +91,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
<div className="grid grid-cols-1 items-center sm:grid-cols-2">
<FormRow>
<label className="contents">
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Display Image
</span>
<div className="flex items-center gap-5">
@@ -101,7 +101,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
render={({ field }) => (
<FileUpload
accept="images"
- className="mt-2 size-14 shrink-0 rounded-full border border-gray-300"
+ className="mt-2 size-14 shrink-0 rounded-full border border-neutral-300"
iconClassName="w-5 h-5"
previewClassName="size-14 rounded-full"
variant="plain"
@@ -125,7 +125,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
>
Upload image
</div>
- <p className="mt-1.5 text-xs text-gray-500">
+ <p className="mt-1.5 text-xs text-neutral-500">
Recommended size: 160x160px
</p>
</div>
@@ -135,7 +135,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
<FormRow>
<label className="contents">
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Full Name
</span>
<div>
@@ -145,7 +145,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.name
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500",
)}
placeholder="Acme, Inc."
{...register("name", {
@@ -158,7 +158,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
<FormRow>
<label className="contents">
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Description
</span>
<div>
@@ -167,7 +167,7 @@ function ProfileForm({ partner }: { partner: PartnerProps }) {
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.name
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500",
)}
placeholder="Tell us about the kind of content you create – e.g. tech, travel, fashion, etc."
minRows={3}
diff --git a/apps/web/app/partners.dub.co/(onboarding)/onboarding/onboarding-form.tsx b/apps/web/app/partners.dub.co/(onboarding)/onboarding/onboarding-form.tsx
index 28013a0aa8..d1de4c40a9 100644
--- a/apps/web/app/partners.dub.co/(onboarding)/onboarding/onboarding-form.tsx
+++ b/apps/web/app/partners.dub.co/(onboarding)/onboarding/onboarding-form.tsx
@@ -86,7 +86,7 @@ export function OnboardingForm({
className="flex w-full flex-col gap-4 text-left"
>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Full Name
<span className="font-normal text-neutral-500"> (required)</span>
</span>
@@ -96,7 +96,7 @@ export function OnboardingForm({
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.name
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500",
)}
autoFocus={!isMobile}
{...register("name", {
@@ -106,7 +106,7 @@ export function OnboardingForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Email
<span className="font-normal text-neutral-500"> (required)</span>
</span>
@@ -117,7 +117,7 @@ export function OnboardingForm({
"mt-2 block w-full rounded-md focus:outline-none disabled:cursor-not-allowed disabled:bg-neutral-100 disabled:text-neutral-500 sm:text-sm",
errors.email
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500",
)}
{...register("email", {
required: true,
@@ -126,7 +126,7 @@ export function OnboardingForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Display Image
<span className="font-normal text-neutral-500"> (required)</span>
</span>
@@ -139,7 +139,7 @@ export function OnboardingForm({
<FileUpload
accept="images"
className={cn(
- "mt-2 size-20 rounded-md border border-gray-300",
+ "mt-2 size-20 rounded-md border border-neutral-300",
errors.image && "border-0 ring-2 ring-red-500",
)}
iconClassName="w-5 h-5"
@@ -163,7 +163,7 @@ export function OnboardingForm({
>
Upload image
</div>
- <p className="mt-1.5 text-xs text-gray-500">
+ <p className="mt-1.5 text-xs text-neutral-500">
Recommended size: 160x160px
</p>
</div>
@@ -171,7 +171,7 @@ export function OnboardingForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">
+ <span className="text-sm font-medium text-neutral-800">
Country
<span className="font-normal text-neutral-500"> (required)</span>
</span>
@@ -184,13 +184,15 @@ export function OnboardingForm({
</label>
<label>
- <span className="text-sm font-medium text-gray-800">Description</span>
+ <span className="text-sm font-medium text-neutral-800">
+ Description
+ </span>
<ReactTextareaAutosize
className={cn(
"mt-2 block w-full rounded-md focus:outline-none sm:text-sm",
errors.description
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500",
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500",
)}
placeholder="Tell us about the kind of content you create – e.g. tech, travel, fashion, etc."
minRows={3}
@@ -255,10 +257,10 @@ function CountryCombobox({
matchTriggerWidth
buttonProps={{
className: cn(
- "mt-2 w-full justify-start border-gray-300 px-3",
- "data-[state=open]:ring-1 data-[state=open]:ring-gray-500 data-[state=open]:border-gray-500",
- "focus:ring-1 focus:ring-gray-500 focus:border-gray-500 transition-none",
- !value && "text-gray-400",
+ "mt-2 w-full justify-start border-neutral-300 px-3",
+ "data-[state=open]:ring-1 data-[state=open]:ring-neutral-500 data-[state=open]:border-neutral-500",
+ "focus:ring-1 focus:ring-neutral-500 focus:border-neutral-500 transition-none",
+ !value && "text-neutral-400",
),
}}
/>
diff --git a/apps/web/app/proxy/[domain]/[key]/page.tsx b/apps/web/app/proxy/[domain]/[key]/page.tsx
index 9b7b72374a..d11e5d3fa1 100644
--- a/apps/web/app/proxy/[domain]/[key]/page.tsx
+++ b/apps/web/app/proxy/[domain]/[key]/page.tsx
@@ -59,13 +59,13 @@ export default async function ProxyPage({
return (
<main className="flex h-screen w-screen items-center justify-center">
- <div className="mx-5 w-full max-w-lg overflow-hidden rounded-lg border border-gray-200 sm:mx-0">
+ <div className="mx-5 w-full max-w-lg overflow-hidden rounded-lg border border-neutral-200 sm:mx-0">
<img
src={data.image}
alt={unescape(data.title || "")}
className="w-full object-cover"
/>
- <div className="flex space-x-3 bg-gray-100 p-5">
+ <div className="flex space-x-3 bg-neutral-100 p-5">
<BlurImage
width={20}
height={20}
@@ -74,10 +74,10 @@ export default async function ProxyPage({
className="mt-1 h-6 w-6"
/>
<div className="flex flex-col space-y-3">
- <h1 className="font-bold text-gray-700">
+ <h1 className="font-bold text-neutral-700">
{unescape(data.title || "")}
</h1>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
{unescape(data.description || "")}
</p>
</div>
diff --git a/apps/web/lib/integrations/common/ui/configure-webhook.tsx b/apps/web/lib/integrations/common/ui/configure-webhook.tsx
index f1339e8f95..957d0a8484 100644
--- a/apps/web/lib/integrations/common/ui/configure-webhook.tsx
+++ b/apps/web/lib/integrations/common/ui/configure-webhook.tsx
@@ -92,19 +92,19 @@ export function ConfigureWebhook({
return (
<form onSubmit={onSubmit}>
- <div className="w-full rounded-lg border border-gray-200 bg-white">
- <div className="flex items-center gap-x-2 border-b border-gray-200 px-6 py-4">
+ <div className="w-full rounded-lg border border-neutral-200 bg-white">
+ <div className="flex items-center gap-x-2 border-b border-neutral-200 px-6 py-4">
<Link className="size-4" />
- <p className="text-sm font-medium text-gray-700">Webhook events</p>
+ <p className="text-sm font-medium text-neutral-700">Webhook events</p>
</div>
<div className="p-4">
<div>
<label htmlFor="triggers" className="flex flex-col gap-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Workspace level events
</h2>
- <span className="text-xs text-gray-500">
+ <span className="text-xs text-neutral-500">
These events are triggered at the workspace level.
</span>
</label>
@@ -138,9 +138,9 @@ export function ConfigureWebhook({
<label
htmlFor={trigger}
className={cn(
- "select-none text-sm text-gray-600",
+ "select-none text-sm text-neutral-600",
supportedEvents.includes(trigger)
- ? "group-hover:text-gray-800"
+ ? "group-hover:text-neutral-800"
: "opacity-50",
)}
>
@@ -153,13 +153,13 @@ export function ConfigureWebhook({
<div className="mt-6">
<label htmlFor="triggers" className="flex flex-col gap-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Link level events{" "}
<span className="rounded bg-yellow-100 px-1 py-0.5 text-xs font-medium text-yellow-800">
High traffic
</span>
</h2>
- <span className="text-xs text-gray-500">
+ <span className="text-xs text-neutral-500">
These events are triggered at the link level.
</span>
</label>
@@ -182,7 +182,7 @@ export function ConfigureWebhook({
/>
<label
htmlFor={trigger}
- className="flex select-none items-center gap-2 text-sm text-gray-600 group-hover:text-gray-800"
+ className="flex select-none items-center gap-2 text-sm text-neutral-600 group-hover:text-neutral-800"
>
{WEBHOOK_TRIGGER_DESCRIPTIONS[trigger]}
</label>
@@ -192,7 +192,7 @@ export function ConfigureWebhook({
{enableLinkSelection || linkIds.length ? (
<div className="mt-4">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Choose links we should send events for
</h2>
<div className="mt-3">
@@ -212,7 +212,7 @@ export function ConfigureWebhook({
</div>
</div>
- <div className="flex items-center justify-end rounded-b-lg border-t border-gray-200 bg-gray-50 px-4 py-3">
+ <div className="flex items-center justify-end rounded-b-lg border-t border-neutral-200 bg-neutral-50 px-4 py-3">
<div className="shrink-0">
<Button
text="Save changes"
diff --git a/apps/web/lib/integrations/segment/ui/set-write-key.tsx b/apps/web/lib/integrations/segment/ui/set-write-key.tsx
index f2140aaafa..bfd22d07e6 100644
--- a/apps/web/lib/integrations/segment/ui/set-write-key.tsx
+++ b/apps/web/lib/integrations/segment/ui/set-write-key.tsx
@@ -56,21 +56,21 @@ export function SetWriteKey({
return (
<form className="mt-4 flex items-end gap-2" onSubmit={onSubmit}>
- <div className="w-full rounded-lg border border-gray-200 bg-white">
- <div className="flex items-center gap-x-2 border-b border-gray-200 px-6 py-4">
+ <div className="w-full rounded-lg border border-neutral-200 bg-white">
+ <div className="flex items-center gap-x-2 border-b border-neutral-200 px-6 py-4">
<Lock className="size-4" />
- <p className="text-sm font-medium text-gray-700">Write key</p>
+ <p className="text-sm font-medium text-neutral-700">Write key</p>
</div>
<div className="p-4">
- <p className="text-sm leading-normal text-gray-600">
+ <p className="text-sm leading-normal text-neutral-600">
To send click events to Segment, you need to add your Segment write
key below.{" "}
<a
href="https://segment.com/docs/connections/find-writekey/"
target="_blank"
rel="noopener noreferrer"
- className="text-gray-500 underline underline-offset-4 hover:text-gray-700"
+ className="text-neutral-500 underline underline-offset-4 hover:text-neutral-700"
>
Learn about
</a>{" "}
@@ -79,14 +79,14 @@ export function SetWriteKey({
{plan === "free" || plan === "pro" ? (
<Tooltip content={planDisabledTooltip}>
- <div className="mt-4 cursor-not-allowed rounded-md border border-gray-300 bg-gray-50 px-3 py-2 text-sm text-gray-400">
+ <div className="mt-4 cursor-not-allowed rounded-md border border-neutral-300 bg-neutral-50 px-3 py-2 text-sm text-neutral-400">
Enter your write key
</div>
</Tooltip>
) : (
<div className="relative mt-4 rounded-md shadow-sm">
<input
- className="w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Enter your write key"
required
type="text"
@@ -100,7 +100,7 @@ export function SetWriteKey({
)}
</div>
- <div className="flex items-center justify-end rounded-b-lg border-t border-gray-200 bg-gray-50 px-4 py-3">
+ <div className="flex items-center justify-end rounded-b-lg border-t border-neutral-200 bg-neutral-50 px-4 py-3">
<div className="shrink-0">
<Button
type="submit"
diff --git a/apps/web/ui/account/delete-account.tsx b/apps/web/ui/account/delete-account.tsx
index 259f79b51a..0bf8a0dd5b 100644
--- a/apps/web/ui/account/delete-account.tsx
+++ b/apps/web/ui/account/delete-account.tsx
@@ -11,7 +11,7 @@ export default function DeleteAccountSection() {
<DeleteAccountModal />
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Delete Account</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Permanently delete your {process.env.NEXT_PUBLIC_APP_NAME} account,
all of your workspaces, links and their respective stats. This action
cannot be undone - please proceed with caution.
diff --git a/apps/web/ui/account/update-default-workspace.tsx b/apps/web/ui/account/update-default-workspace.tsx
index 1fe3534ade..3f7cf0b20a 100644
--- a/apps/web/ui/account/update-default-workspace.tsx
+++ b/apps/web/ui/account/update-default-workspace.tsx
@@ -71,11 +71,11 @@ export default function UpdateDefaultWorkspace() {
error: (error) => error,
});
}}
- className="rounded-lg border border-gray-200 bg-white"
+ className="rounded-lg border border-neutral-200 bg-white"
>
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Your Default Workspace</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Choose the workspace to show by default when you sign in.
</p>
<div className="mt-1 max-w-md">
@@ -88,11 +88,11 @@ export default function UpdateDefaultWorkspace() {
</div>
</div>
- <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10">
+ <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-neutral-200 bg-neutral-50 p-3 sm:px-10">
<a
href="https://dub.co/help/article/how-to-change-default-workspace"
target="_blank"
- className="text-sm text-gray-500 underline underline-offset-4 hover:text-gray-700"
+ className="text-sm text-neutral-500 underline underline-offset-4 hover:text-neutral-700"
>
Learn more about how default workspaces work
</a>
diff --git a/apps/web/ui/account/update-subscription.tsx b/apps/web/ui/account/update-subscription.tsx
index b2618ba4e2..0346240cb2 100644
--- a/apps/web/ui/account/update-subscription.tsx
+++ b/apps/web/ui/account/update-subscription.tsx
@@ -30,7 +30,7 @@ export default function UpdateSubscription() {
update(() => subscribe(checked), { subscribed: checked });
}}
/>
- <p className="text-sm text-gray-500">Subscribed to product updates</p>
+ <p className="text-sm text-neutral-500">Subscribed to product updates</p>
</div>
);
}
diff --git a/apps/web/ui/account/upload-avatar.tsx b/apps/web/ui/account/upload-avatar.tsx
index 1a05174fd9..9d714114cb 100644
--- a/apps/web/ui/account/upload-avatar.tsx
+++ b/apps/web/ui/account/upload-avatar.tsx
@@ -38,17 +38,17 @@ export default function UploadAvatar() {
}
});
}}
- className="rounded-lg border border-gray-200 bg-white"
+ className="rounded-lg border border-neutral-200 bg-white"
>
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Your Avatar</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
This is your avatar image on {process.env.NEXT_PUBLIC_APP_NAME}.
</p>
<div className="mt-1">
<FileUpload
accept="images"
- className="h-24 w-24 rounded-full border border-gray-300"
+ className="h-24 w-24 rounded-full border border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
imageSrc={image}
@@ -61,8 +61,8 @@ export default function UploadAvatar() {
</div>
</div>
- <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10">
- <p className="text-sm text-gray-500">
+ <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-neutral-200 bg-neutral-50 p-3 sm:px-10">
+ <p className="text-sm text-neutral-500">
Square image recommended. Accepted file types: .png, .jpg. Max file
size: 2MB.
</p>
diff --git a/apps/web/ui/account/user-id.tsx b/apps/web/ui/account/user-id.tsx
index 9ca30c226f..cfbd0fab2e 100644
--- a/apps/web/ui/account/user-id.tsx
+++ b/apps/web/ui/account/user-id.tsx
@@ -12,24 +12,24 @@ export default function UserId() {
return (
<>
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="relative flex flex-col space-y-6 p-5 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">Your User ID</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
This is your unique account identifier on Dub.
</p>
</div>
{session?.user?.id ? (
- <div className="flex w-full max-w-md items-center justify-between rounded-md border border-gray-300 bg-white p-2">
- <p className="text-sm text-gray-500">{session.user.id}</p>
+ <div className="flex w-full max-w-md items-center justify-between rounded-md border border-neutral-300 bg-white p-2">
+ <p className="text-sm text-neutral-500">{session.user.id}</p>
<CopyButton value={session.user.id} className="rounded-md" />
</div>
) : (
- <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200" />
+ <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-neutral-200" />
)}
</div>
- <div className="h-14 rounded-b-lg border-t border-gray-200 bg-gray-50" />
+ <div className="h-14 rounded-b-lg border-t border-neutral-200 bg-neutral-50" />
</div>
</>
);
diff --git a/apps/web/ui/analytics/analytics-area-chart.tsx b/apps/web/ui/analytics/analytics-area-chart.tsx
index 7b57071705..aee7f6b89c 100644
--- a/apps/web/ui/analytics/analytics-area-chart.tsx
+++ b/apps/web/ui/analytics/analytics-area-chart.tsx
@@ -115,7 +115,7 @@ export default function AnalyticsAreaChart({
tooltipContent={(d) => {
return (
<>
- <p className="border-b border-gray-200 px-4 py-3 text-sm text-gray-900">
+ <p className="border-b border-neutral-200 px-4 py-3 text-sm text-neutral-900">
{formatDateTooltip(d.date, {
interval: demo ? "day" : interval,
start,
@@ -134,9 +134,9 @@ export default function AnalyticsAreaChart({
)}
/>
)}
- <p className="capitalize text-gray-600">{resource}</p>
+ <p className="capitalize text-neutral-600">{resource}</p>
</div>
- <p className="text-right font-medium text-gray-900">
+ <p className="text-right font-medium text-neutral-900">
{resource === "sales" && saleUnit === "saleAmount"
? currencyFormatter(d.values.saleAmount)
: nFormatter(d.values[resource], { full: true })}
diff --git a/apps/web/ui/analytics/analytics-card.tsx b/apps/web/ui/analytics/analytics-card.tsx
index c3ce9d54e2..8589652e70 100644
--- a/apps/web/ui/analytics/analytics-card.tsx
+++ b/apps/web/ui/analytics/analytics-card.tsx
@@ -65,7 +65,7 @@ export function AnalyticsCard<T extends string>({
setShowModal={setShowModal}
className="max-w-lg px-0"
>
- <div className="border-b border-gray-200 px-6 py-4">
+ <div className="border-b border-neutral-200 px-6 py-4">
<h1 className="text-lg font-semibold">{selectedTab?.label}</h1>
</div>
{subTabs && selectedSubTabId && onSelectSubTab && (
@@ -79,11 +79,11 @@ export function AnalyticsCard<T extends string>({
</Modal>
<div
className={cn(
- "relative z-0 h-[400px] overflow-hidden border border-gray-200 bg-white sm:rounded-xl",
+ "relative z-0 h-[400px] overflow-hidden border border-neutral-200 bg-white sm:rounded-xl",
className,
)}
>
- <div className="flex items-center justify-between border-b border-gray-200 px-4">
+ <div className="flex items-center justify-between border-b border-neutral-200 px-4">
{/* Main tabs */}
{isMobile ? (
<Popover
@@ -103,7 +103,7 @@ export function AnalyticsCard<T extends string>({
icon={<Icon className="size-4" />}
className={cn(
"h-9 w-full justify-start px-2 font-medium",
- selectedTabId === id && "bg-gray-100",
+ selectedTabId === id && "bg-neutral-100",
)}
/>
))}
@@ -119,7 +119,7 @@ export function AnalyticsCard<T extends string>({
text={selectedTab.label}
right={
<ChevronsUpDown
- className="size-4 shrink-0 text-gray-400"
+ className="size-4 shrink-0 text-neutral-400"
aria-hidden="true"
/>
}
@@ -133,7 +133,7 @@ export function AnalyticsCard<T extends string>({
/>
)}
- <div className="flex items-center gap-1 pr-2 text-gray-500">
+ <div className="flex items-center gap-1 pr-2 text-neutral-500">
{event === "sales" ? (
<InvoiceDollar className="hidden h-4 w-4 sm:block" />
) : event === "leads" ? (
@@ -170,7 +170,7 @@ export function AnalyticsCard<T extends string>({
onClick={() => setShowModal(true)}
className="group relative flex w-full items-center justify-center py-4"
>
- <div className="rounded-md border border-gray-200 bg-white px-2.5 py-1 text-sm text-gray-950 group-hover:bg-gray-100 group-active:border-gray-300">
+ <div className="rounded-md border border-neutral-200 bg-white px-2.5 py-1 text-sm text-neutral-950 group-hover:bg-neutral-100 group-active:border-neutral-300">
View All
</div>
</button>
@@ -199,9 +199,9 @@ function SubTabs({
}))}
selected={selectedTab}
selectAction={(period) => onSelectTab(period)}
- className="flex w-full flex-wrap rounded-none border-x-0 border-t-0 border-gray-200 bg-gray-50 px-6 py-2.5 sm:flex-nowrap"
- optionClassName="text-xs px-2 font-normal hover:text-gray-700"
- indicatorClassName="border-0 bg-gray-200 rounded-md"
+ className="flex w-full flex-wrap rounded-none border-x-0 border-t-0 border-neutral-200 bg-neutral-50 px-6 py-2.5 sm:flex-nowrap"
+ optionClassName="text-xs px-2 font-normal hover:text-neutral-700"
+ indicatorClassName="border-0 bg-neutral-200 rounded-md"
/>
);
}
diff --git a/apps/web/ui/analytics/analytics-loading-spinner.tsx b/apps/web/ui/analytics/analytics-loading-spinner.tsx
index 36e98b368d..6bc0f9107a 100644
--- a/apps/web/ui/analytics/analytics-loading-spinner.tsx
+++ b/apps/web/ui/analytics/analytics-loading-spinner.tsx
@@ -11,16 +11,16 @@ export function AnalyticsLoadingSpinner() {
return requiresUpgrade ? (
<div className="flex flex-col items-center justify-center space-y-2">
- <div className="rounded-full bg-gray-100 p-4">
- <Lock className="h-5 w-5 text-gray-500" />
+ <div className="rounded-full bg-neutral-100 p-4">
+ <Lock className="h-5 w-5 text-neutral-500" />
</div>
- <p className="mt-2 text-sm text-gray-500">
+ <p className="mt-2 text-sm text-neutral-500">
{nextPlan.name} plan required to view more analytics
</p>
<Link
href={slug ? `/${slug}/upgrade` : "https://dub.co/pricing"}
{...(slug ? {} : { target: "_blank" })}
- className="w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200"
+ className="w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-neutral-800 hover:ring-4 hover:ring-neutral-200"
>
Upgrade to {nextPlan.name}
</Link>
diff --git a/apps/web/ui/analytics/analytics-options.tsx b/apps/web/ui/analytics/analytics-options.tsx
index 897420982b..7063923bfe 100644
--- a/apps/web/ui/analytics/analytics-options.tsx
+++ b/apps/web/ui/analytics/analytics-options.tsx
@@ -22,11 +22,11 @@ export default function AnalyticsOptions() {
onClick={() => setOpenPopover(!openPopover)}
className={cn(
"flex h-10 items-center rounded-md border px-1.5 outline-none transition-all",
- "border-gray-200 bg-white text-gray-900 placeholder-gray-400",
- "focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
+ "border-neutral-200 bg-white text-neutral-900 placeholder-neutral-400",
+ "focus-visible:border-neutral-500 data-[state=open]:border-neutral-500 data-[state=open]:ring-4 data-[state=open]:ring-neutral-200",
)}
>
- <ThreeDots className="h-5 w-5 text-gray-500" />
+ <ThreeDots className="h-5 w-5 text-neutral-500" />
</button>
</Popover>
);
diff --git a/apps/web/ui/analytics/bar-list.tsx b/apps/web/ui/analytics/bar-list.tsx
index 2c2f292814..0b037e727d 100644
--- a/apps/web/ui/analytics/bar-list.tsx
+++ b/apps/web/ui/analytics/bar-list.tsx
@@ -109,12 +109,12 @@ export default function BarList({
<>
<div className="relative px-4 py-3">
<div className="pointer-events-none absolute inset-y-0 left-7 flex items-center">
- <Search className="h-4 w-4 text-gray-400" />
+ <Search className="h-4 w-4 text-neutral-400" />
</div>
<input
type="text"
autoFocus={!isMobile}
- className="w-full rounded-md border border-gray-300 py-2 pl-10 text-black placeholder:text-gray-400 focus:border-gray-500 focus:outline-none focus:ring-4 focus:ring-gray-200 sm:text-sm"
+ className="w-full rounded-md border border-neutral-300 py-2 pl-10 text-black placeholder:text-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-4 focus:ring-neutral-200 sm:text-sm"
placeholder={`Search ${tab}...`}
onChange={(e) => setSearch(e.target.value)}
/>
@@ -154,7 +154,7 @@ export function LineItem({
return (
<div className="z-10 flex items-center space-x-4 overflow-hidden px-3">
{icon}
- <div className="truncate text-sm text-gray-800">
+ <div className="truncate text-sm text-neutral-800">
{getPrettyUrl(title)}
</div>
</div>
@@ -214,7 +214,7 @@ export function LineItem({
value={
unit === "sales" && saleUnit === "saleAmount" ? value / 100 : value
}
- className="z-10 px-2 text-sm text-gray-600"
+ className="z-10 px-2 text-sm text-neutral-600"
format={
unit === "sales" && saleUnit === "saleAmount"
? {
diff --git a/apps/web/ui/analytics/devices.tsx b/apps/web/ui/analytics/devices.tsx
index 87cb24fe3a..3a02d60986 100644
--- a/apps/web/ui/analytics/devices.tsx
+++ b/apps/web/ui/analytics/devices.tsx
@@ -78,7 +78,7 @@ export default function Devices() {
/>
) : (
<div className="flex h-[300px] items-center justify-center">
- <p className="text-sm text-gray-600">No data available</p>
+ <p className="text-sm text-neutral-600">No data available</p>
</div>
)
) : (
diff --git a/apps/web/ui/analytics/events/customer-row-item.tsx b/apps/web/ui/analytics/events/customer-row-item.tsx
index 7611e06ad2..f06f4c2641 100644
--- a/apps/web/ui/analytics/events/customer-row-item.tsx
+++ b/apps/web/ui/analytics/events/customer-row-item.tsx
@@ -25,7 +25,7 @@ export function CustomerRowItem({ customer }: { customer: Customer }) {
<img
alt={display}
src={customer.avatar || ""}
- className="size-4 shrink-0 rounded-full border border-gray-200"
+ className="size-4 shrink-0 rounded-full border border-neutral-200"
/>
<span className="truncate">{display}</span>
</div>
diff --git a/apps/web/ui/analytics/events/edit-columns-button.tsx b/apps/web/ui/analytics/events/edit-columns-button.tsx
index 0f44dd9560..fe8cfffbe0 100644
--- a/apps/web/ui/analytics/events/edit-columns-button.tsx
+++ b/apps/web/ui/analytics/events/edit-columns-button.tsx
@@ -22,14 +22,14 @@ export default function EditColumnsButton({ table }: { table: Table<any> }) {
key={column.id}
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md px-3 py-1.5",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
)}
onSelect={() => column.toggleVisibility()}
>
<input
checked={column.getIsVisible()}
type="checkbox"
- className="h-3 w-3 rounded-full border-gray-300 text-black focus:outline-none focus:ring-0"
+ className="h-3 w-3 rounded-full border-neutral-300 text-black focus:outline-none focus:ring-0"
disabled
/>
{column.columnDef.header?.toString()}
diff --git a/apps/web/ui/analytics/events/events-options.tsx b/apps/web/ui/analytics/events/events-options.tsx
index 7610ed6f14..c1d03f81d4 100644
--- a/apps/web/ui/analytics/events/events-options.tsx
+++ b/apps/web/ui/analytics/events/events-options.tsx
@@ -24,7 +24,7 @@ export default function EventsOptions() {
variant="secondary"
className="w-auto px-1.5"
disabled={!exportQueryString}
- icon={<ThreeDots className="h-5 w-5 text-gray-500" />}
+ icon={<ThreeDots className="h-5 w-5 text-neutral-500" />}
/>
</Popover>
);
diff --git a/apps/web/ui/analytics/events/events-tabs.tsx b/apps/web/ui/analytics/events/events-tabs.tsx
index b5fa80f4b9..0b9cb66068 100644
--- a/apps/web/ui/analytics/events/events-tabs.tsx
+++ b/apps/web/ui/analytics/events/events-tabs.tsx
@@ -84,12 +84,12 @@ export default function EventsTabs() {
"flex justify-between gap-4 rounded-xl border bg-white px-5 py-4 text-left transition-[box-shadow] focus:outline-none",
tab === event
? "border-black shadow-[0_0_0_1px_black_inset]"
- : "border-gray-200 focus-visible:border-black",
+ : "border-neutral-200 focus-visible:border-black",
)}
onClick={() => onEventTabClick(event)}
>
<div>
- <p className="text-sm text-gray-600">{capitalize(event)}</p>
+ <p className="text-sm text-neutral-600">{capitalize(event)}</p>
<div className="mt-2">
{totalEvents ? (
<NumberFlow
@@ -119,7 +119,7 @@ export default function EventsTabs() {
}
/>
) : (
- <div className="h-8 w-12 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-8 w-12 animate-pulse rounded-md bg-neutral-200" />
)}
</div>
</div>
diff --git a/apps/web/ui/analytics/events/filter-button.tsx b/apps/web/ui/analytics/events/filter-button.tsx
index 8401793169..f98af5f5f9 100644
--- a/apps/web/ui/analytics/events/filter-button.tsx
+++ b/apps/web/ui/analytics/events/filter-button.tsx
@@ -15,7 +15,7 @@ export default function FilterButton({ set }: { set: Record<string, any> }) {
getNewPath: true,
}) as string
}
- className="block rounded-md border border-transparent bg-white p-0.5 text-gray-600 transition-colors hover:border-gray-200 hover:bg-gray-100 hover:text-gray-950"
+ className="block rounded-md border border-transparent bg-white p-0.5 text-neutral-600 transition-colors hover:border-neutral-200 hover:bg-neutral-100 hover:text-neutral-950"
>
<span className="sr-only">Filter</span>
<FilterBars className="size-3.5" />
diff --git a/apps/web/ui/analytics/events/row-menu-button.tsx b/apps/web/ui/analytics/events/row-menu-button.tsx
index b53f0be9e4..a4b580de2b 100644
--- a/apps/web/ui/analytics/events/row-menu-button.tsx
+++ b/apps/web/ui/analytics/events/row-menu-button.tsx
@@ -69,12 +69,12 @@ function MenuItem({
return (
<Command.Item
className={cn(
- "flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md px-3.5 py-2 text-sm text-gray-950",
- "data-[selected=true]:bg-gray-100",
+ "flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md px-3.5 py-2 text-sm text-neutral-950",
+ "data-[selected=true]:bg-neutral-100",
)}
onSelect={onSelect}
>
- <IconComp className="h-4 w-4 shrink-0 text-gray-600" />
+ <IconComp className="h-4 w-4 shrink-0 text-neutral-600" />
{label}
</Command.Item>
);
diff --git a/apps/web/ui/analytics/feedback/index.tsx b/apps/web/ui/analytics/feedback/index.tsx
index a900a28f77..1707d08642 100644
--- a/apps/web/ui/analytics/feedback/index.tsx
+++ b/apps/web/ui/analytics/feedback/index.tsx
@@ -11,7 +11,7 @@ export default function Feedback() {
const [submitted, setSubmitted] = useState(false);
return (
- <div className="scrollbar-hide relative z-0 h-[400px] overflow-scroll border border-gray-200 bg-white px-7 py-5 sm:rounded-lg sm:border-gray-100 sm:shadow-lg">
+ <div className="scrollbar-hide relative z-0 h-[400px] overflow-scroll border border-neutral-200 bg-white px-7 py-5 sm:rounded-lg sm:border-neutral-100 sm:shadow-lg">
<div className="mb-5 flex">
<h1 className="text-xl font-semibold">Feedback</h1>
</div>
@@ -23,7 +23,7 @@ export default function Feedback() {
animate={{ opacity: 1, y: 0 }}
>
<CheckCircle className="h-8 w-8 text-green-500" />
- <p className="text-gray-500">Thank you for your feedback!</p>
+ <p className="text-neutral-500">Thank you for your feedback!</p>
</motion.div>
) : (
<motion.form
@@ -39,7 +39,7 @@ export default function Feedback() {
<div>
<label
htmlFor="email"
- className="mb-2 block text-xs font-medium text-gray-500"
+ className="mb-2 block text-xs font-medium text-neutral-500"
>
EMAIL
</label>
@@ -48,13 +48,13 @@ export default function Feedback() {
type="email"
placeholder="[email protected]"
autoComplete="email"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
<div>
<label
htmlFor="feedback"
- className="mb-2 block text-xs font-medium text-gray-500"
+ className="mb-2 block text-xs font-medium text-neutral-500"
>
FEEDBACK
</label>
@@ -63,7 +63,7 @@ export default function Feedback() {
id="feedback"
required={true}
rows={6}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="What other data would you like to see?"
aria-invalid="true"
/>
diff --git a/apps/web/ui/analytics/index.tsx b/apps/web/ui/analytics/index.tsx
index ea01c7afea..004696c730 100644
--- a/apps/web/ui/analytics/index.tsx
+++ b/apps/web/ui/analytics/index.tsx
@@ -33,7 +33,9 @@ export default function Analytics({
<AnalyticsContext.Consumer>
{({ dashboardProps }) => {
return (
- <div className={cn("pb-10", dashboardProps && "bg-gray-50 pt-10")}>
+ <div
+ className={cn("pb-10", dashboardProps && "bg-neutral-50 pt-10")}
+ >
<Toggle />
<div className="mx-auto grid max-w-screen-xl gap-5 px-3 lg:px-10">
<Main />
diff --git a/apps/web/ui/analytics/link-preview.tsx b/apps/web/ui/analytics/link-preview.tsx
index 964569c75a..6982c7f1ed 100644
--- a/apps/web/ui/analytics/link-preview.tsx
+++ b/apps/web/ui/analytics/link-preview.tsx
@@ -9,21 +9,21 @@ export default function LinkPreviewTooltip({ data }: { data: LinkProps }) {
return (
<div className="relative flex w-[28rem] items-center gap-x-2 px-4 py-2">
- <div className="relative flex-none rounded-full border border-gray-200 bg-gradient-to-t from-gray-100 pr-0.5 sm:p-2">
+ <div className="relative flex-none rounded-full border border-neutral-200 bg-gradient-to-t from-neutral-100 pr-0.5 sm:p-2">
<LinkLogo
apexDomain={getApexDomain(url)}
className="h-4 w-4 shrink-0 transition-[width,height] sm:h-6 sm:w-6 group-data-[variant=loose]/card-list:sm:h-5 group-data-[variant=loose]/card-list:sm:w-5"
/>
</div>
<div>
- <div className="min-w-0 shrink grow-0 text-gray-950">
+ <div className="min-w-0 shrink grow-0 text-neutral-950">
<div className="flex items-center gap-2">
<a
href={linkConstructor({ domain, key })}
target="_blank"
rel="noopener noreferrer"
title={linkConstructor({ domain, key, pretty: true })}
- className="truncate text-sm font-semibold leading-6 text-gray-800 transition-colors hover:text-black"
+ className="truncate text-sm font-semibold leading-6 text-neutral-800 transition-colors hover:text-black"
>
{linkConstructor({ domain, key, pretty: true })}
</a>
@@ -40,19 +40,19 @@ export default function LinkPreviewTooltip({ data }: { data: LinkProps }) {
</div>
</div>
<div className="flex min-w-0 items-center gap-1 text-sm">
- <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-gray-400" />
+ <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-neutral-400" />
{url ? (
<a
href={url}
target="_blank"
rel="noopener noreferrer"
title={url}
- className="max-w-[20rem] truncate text-gray-500 transition-colors hover:text-gray-700 hover:underline hover:underline-offset-2"
+ className="max-w-[20rem] truncate text-neutral-500 transition-colors hover:text-neutral-700 hover:underline hover:underline-offset-2"
>
{getPrettyUrl(url)}
</a>
) : (
- <span className="truncate text-gray-400">No URL configured</span>
+ <span className="truncate text-neutral-400">No URL configured</span>
)}
</div>
</div>
diff --git a/apps/web/ui/analytics/locations.tsx b/apps/web/ui/analytics/locations.tsx
index cbcd43f7e5..32da1cc7d1 100644
--- a/apps/web/ui/analytics/locations.tsx
+++ b/apps/web/ui/analytics/locations.tsx
@@ -93,7 +93,7 @@ export default function Locations() {
/>
) : (
<div className="flex h-[300px] items-center justify-center">
- <p className="text-sm text-gray-600">No data available</p>
+ <p className="text-sm text-neutral-600">No data available</p>
</div>
)
) : (
diff --git a/apps/web/ui/analytics/referer.tsx b/apps/web/ui/analytics/referer.tsx
index ccdda87517..d5f4ac1521 100644
--- a/apps/web/ui/analytics/referer.tsx
+++ b/apps/web/ui/analytics/referer.tsx
@@ -120,7 +120,7 @@ export default function Referer() {
/>
) : (
<div className="flex h-[300px] items-center justify-center">
- <p className="text-sm text-gray-600">No data available</p>
+ <p className="text-sm text-neutral-600">No data available</p>
</div>
)
) : (
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index ac76f2ecd3..36d5eeba11 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -817,8 +817,8 @@ export default function Toggle({
<>
<div
className={cn("py-3 md:py-3", {
- "sticky top-14 z-10 bg-gray-50": dashboardProps,
- "sticky top-16 z-10 bg-gray-50": adminPage || demoPage,
+ "sticky top-14 z-10 bg-neutral-50": dashboardProps,
+ "sticky top-16 z-10 bg-neutral-50": adminPage || demoPage,
"shadow-md": scrolled && dashboardProps,
})}
>
@@ -841,7 +841,7 @@ export default function Toggle({
>
{dashboardProps && (
<a
- className="group flex items-center text-lg font-semibold text-gray-800"
+ className="group flex items-center text-lg font-semibold text-neutral-800"
href={linkConstructor({ domain, key })}
target="_blank"
rel="noreferrer"
@@ -889,7 +889,7 @@ export default function Toggle({
variant="secondary"
className="w-fit"
icon={
- <SquareLayoutGrid6 className="h-4 w-4 text-gray-600" />
+ <SquareLayoutGrid6 className="h-4 w-4 text-neutral-600" />
}
text={isMobile ? undefined : "Switch to Events"}
onClick={() => {
@@ -910,7 +910,9 @@ export default function Toggle({
<Button
variant="secondary"
className="w-fit"
- icon={<ChartLine className="h-4 w-4 text-gray-600" />}
+ icon={
+ <ChartLine className="h-4 w-4 text-neutral-600" />
+ }
text={isMobile ? undefined : "Switch to Analytics"}
onClick={() =>
router.push(`/${slug}/analytics${getQueryString()}`)
diff --git a/apps/web/ui/analytics/top-links.tsx b/apps/web/ui/analytics/top-links.tsx
index c412bde343..bb0be83764 100644
--- a/apps/web/ui/analytics/top-links.tsx
+++ b/apps/web/ui/analytics/top-links.tsx
@@ -80,7 +80,7 @@ export default function TopLinks() {
/>
) : (
<div className="flex h-[300px] items-center justify-center">
- <p className="text-sm text-gray-600">No data available</p>
+ <p className="text-sm text-neutral-600">No data available</p>
</div>
)
) : (
diff --git a/apps/web/ui/auth/forgot-password-form.tsx b/apps/web/ui/auth/forgot-password-form.tsx
index 61bde68796..8274b22436 100644
--- a/apps/web/ui/auth/forgot-password-form.tsx
+++ b/apps/web/ui/auth/forgot-password-form.tsx
@@ -35,7 +35,7 @@ export const ForgotPasswordForm = () => {
>
<div className="flex flex-col gap-8">
<label>
- <span className="text-sm font-medium text-gray-700">Email</span>
+ <span className="text-sm font-medium text-neutral-700">Email</span>
<Input
type="email"
autoFocus={!isMobile}
diff --git a/apps/web/ui/auth/login/email-sign-in.tsx b/apps/web/ui/auth/login/email-sign-in.tsx
index 62ae9130e3..5807c5845c 100644
--- a/apps/web/ui/auth/login/email-sign-in.tsx
+++ b/apps/web/ui/auth/login/email-sign-in.tsx
@@ -132,7 +132,7 @@ export const EmailSignIn = ({ redirectTo }: { redirectTo?: string }) => {
onChange={(e) => setEmail(e.target.value)}
size={1}
className={cn(
- "block w-full min-w-0 appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm",
+ "block w-full min-w-0 appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm",
{
"pr-10": isPending,
},
@@ -157,9 +157,9 @@ export const EmailSignIn = ({ redirectTo }: { redirectTo?: string }) => {
variant="secondary"
icon={
password ? (
- <InputPassword className="size-4 text-gray-600" />
+ <InputPassword className="size-4 text-neutral-600" />
) : (
- <Mail className="size-4 text-gray-600" />
+ <Mail className="size-4 text-neutral-600" />
)
}
{...(authMethod !== "email" && {
@@ -177,7 +177,7 @@ export const EmailSignIn = ({ redirectTo }: { redirectTo?: string }) => {
{showPasswordField && (
<Link
href={`/forgot-password?email=${encodeURIComponent(email)}`}
- className="text-center text-xs text-gray-500 transition-colors hover:text-black"
+ className="text-center text-xs text-neutral-500 transition-colors hover:text-black"
>
Forgot password?
</Link>
diff --git a/apps/web/ui/auth/login/login-form.tsx b/apps/web/ui/auth/login/login-form.tsx
index e8e4119157..cd215a33fa 100644
--- a/apps/web/ui/auth/login/login-form.tsx
+++ b/apps/web/ui/auth/login/login-form.tsx
@@ -162,7 +162,7 @@ export default function LoginForm({
{!showEmailPasswordOnly &&
authMethod === lastUsedAuthMethod && (
<div className="text-center text-xs">
- <span className="text-gray-500">
+ <span className="text-neutral-500">
You signed in with{" "}
{lastUsedAuthMethod.charAt(0).toUpperCase() +
lastUsedAuthMethod.slice(1)}{" "}
@@ -171,21 +171,21 @@ export default function LoginForm({
</div>
)}
<div className="my-2 flex flex-shrink items-center justify-center gap-2">
- <div className="grow basis-0 border-b border-gray-300" />
- <span className="text-xs font-normal uppercase leading-none text-gray-500">
+ <div className="grow basis-0 border-b border-neutral-300" />
+ <span className="text-xs font-normal uppercase leading-none text-neutral-500">
or
</span>
- <div className="grow basis-0 border-b border-gray-300" />
+ <div className="grow basis-0 border-b border-neutral-300" />
</div>
</div>
)}
{showEmailPasswordOnly ? (
- <div className="mt-2 text-center text-sm text-gray-500">
+ <div className="mt-2 text-center text-sm text-neutral-500">
<button
type="button"
onClick={() => setShowPasswordField(false)}
- className="font-semibold text-gray-500 transition-colors hover:text-black"
+ className="font-semibold text-neutral-500 transition-colors hover:text-black"
>
Continue with another method
</button>
diff --git a/apps/web/ui/auth/login/sso-sign-in.tsx b/apps/web/ui/auth/login/sso-sign-in.tsx
index e483a17942..f2002700fc 100644
--- a/apps/web/ui/auth/login/sso-sign-in.tsx
+++ b/apps/web/ui/auth/login/sso-sign-in.tsx
@@ -44,9 +44,9 @@ export const SSOSignIn = () => {
>
{showSSOOption && (
<div>
- <div className="mb-4 mt-1 border-t border-gray-300" />
+ <div className="mb-4 mt-1 border-t border-neutral-300" />
<div className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Workspace Slug
</h2>
<InfoTooltip
@@ -61,7 +61,7 @@ export const SSOSignIn = () => {
placeholder="my-team"
autoComplete="off"
required
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
)}
diff --git a/apps/web/ui/auth/register/resend-otp.tsx b/apps/web/ui/auth/register/resend-otp.tsx
index 192915b730..668c3168f2 100644
--- a/apps/web/ui/auth/register/resend-otp.tsx
+++ b/apps/web/ui/auth/register/resend-otp.tsx
@@ -39,7 +39,7 @@ export const ResendOtp = ({ email }: { email: string }) => {
}, [delaySeconds]);
return (
- <div className="relative mt-4 text-center text-sm text-gray-500">
+ <div className="relative mt-4 text-center text-sm text-neutral-500">
{state === "default" && (
<>
{isPending && (
@@ -53,7 +53,7 @@ export const ResendOtp = ({ email }: { email: string }) => {
<button
onClick={() => executeAsync({ email })}
className={cn(
- "font-semibold text-gray-500 underline underline-offset-2 transition-colors hover:text-black",
+ "font-semibold text-neutral-500 underline underline-offset-2 transition-colors hover:text-black",
isPending && "pointer-events-none",
)}
>
@@ -64,13 +64,13 @@ export const ResendOtp = ({ email }: { email: string }) => {
)}
{state === "success" && (
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Code sent successfully. <Delay seconds={delaySeconds} />
</p>
)}
{state === "error" && (
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Failed to send code. <Delay seconds={delaySeconds} />
</p>
)}
@@ -80,6 +80,8 @@ export const ResendOtp = ({ email }: { email: string }) => {
const Delay = ({ seconds }: { seconds: number }) => {
return (
- <span className="ml-1 text-sm tabular-nums text-gray-400">{seconds}s</span>
+ <span className="ml-1 text-sm tabular-nums text-neutral-400">
+ {seconds}s
+ </span>
);
};
diff --git a/apps/web/ui/auth/register/signup-form.tsx b/apps/web/ui/auth/register/signup-form.tsx
index 2c88160a1f..a01185f5c8 100644
--- a/apps/web/ui/auth/register/signup-form.tsx
+++ b/apps/web/ui/auth/register/signup-form.tsx
@@ -13,11 +13,11 @@ export const SignUpForm = ({
{methods.includes("email") && <SignUpEmail />}
{methods.length && (
<div className="my-2 flex flex-shrink items-center justify-center gap-2">
- <div className="grow basis-0 border-b border-gray-300" />
- <span className="text-xs font-normal uppercase leading-none text-gray-500">
+ <div className="grow basis-0 border-b border-neutral-300" />
+ <span className="text-xs font-normal uppercase leading-none text-neutral-500">
or
</span>
- <div className="grow basis-0 border-b border-gray-300" />
+ <div className="grow basis-0 border-b border-neutral-300" />
</div>
)}
<SignUpOAuth methods={methods} />
diff --git a/apps/web/ui/auth/register/verify-email-form.tsx b/apps/web/ui/auth/register/verify-email-form.tsx
index 9f7013cfce..e90119145c 100644
--- a/apps/web/ui/auth/register/verify-email-form.tsx
+++ b/apps/web/ui/auth/register/verify-email-form.tsx
@@ -77,10 +77,10 @@ export const VerifyEmailForm = () => {
key={idx}
className={cn(
"relative flex h-14 w-10 items-center justify-center text-xl",
- "border-y border-r border-gray-200 bg-white first:rounded-l-lg first:border-l last:rounded-r-lg",
+ "border-y border-r border-neutral-200 bg-white first:rounded-l-lg first:border-l last:rounded-r-lg",
"ring-0 transition-all",
isActive &&
- "z-10 border border-gray-500 ring-2 ring-gray-200",
+ "z-10 border border-neutral-500 ring-2 ring-neutral-200",
isInvalidCode && "border-red-500 ring-red-200",
)}
>
diff --git a/apps/web/ui/domains/add-edit-domain-form.tsx b/apps/web/ui/domains/add-edit-domain-form.tsx
index 93032325a6..90f80d0373 100644
--- a/apps/web/ui/domains/add-edit-domain-form.tsx
+++ b/apps/web/ui/domains/add-edit-domain-form.tsx
@@ -344,7 +344,7 @@ export function AddEditDomainForm({
>
<div className="relative mt-2 rounded-md shadow-sm">
{id === "logo" ? (
- <div className="flex h-24 items-center justify-center overflow-hidden rounded-md border border-gray-300">
+ <div className="flex h-24 items-center justify-center overflow-hidden rounded-md border border-neutral-300">
{!isMobile && (
<ShimmerDots className="pointer-events-none z-10 opacity-30 [mask-image:radial-gradient(40%_80%,transparent_50%,black)]" />
)}
diff --git a/apps/web/ui/domains/domain-card-placeholder.tsx b/apps/web/ui/domains/domain-card-placeholder.tsx
index 38177dcdac..3bdfed118f 100644
--- a/apps/web/ui/domains/domain-card-placeholder.tsx
+++ b/apps/web/ui/domains/domain-card-placeholder.tsx
@@ -1,15 +1,15 @@
export default function DomainCardPlaceholder() {
return (
- <div className="grid grid-cols-[1.5fr_1fr] items-center gap-4 rounded-xl border border-gray-200 bg-white p-5 sm:grid-cols-[3fr_1fr_1.5fr] md:grid-cols-[2fr_1fr_0.5fr_1.5fr]">
+ <div className="grid grid-cols-[1.5fr_1fr] items-center gap-4 rounded-xl border border-neutral-200 bg-white p-5 sm:grid-cols-[3fr_1fr_1.5fr] md:grid-cols-[2fr_1fr_0.5fr_1.5fr]">
<div className="flex items-center gap-2">
- <div className="hidden h-12 w-12 animate-pulse rounded-full bg-gray-200 sm:block" />
+ <div className="hidden h-12 w-12 animate-pulse rounded-full bg-neutral-200 sm:block" />
<div>
- <div className="h-6 w-32 animate-pulse rounded-md bg-gray-200" />
- <div className="mt-2 h-4 w-48 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-6 w-32 animate-pulse rounded-md bg-neutral-200" />
+ <div className="mt-2 h-4 w-48 animate-pulse rounded-md bg-neutral-200" />
</div>
</div>
- <div className="hidden h-6 w-24 animate-pulse rounded-md bg-gray-200 sm:block" />
- <div className="hidden h-6 w-24 animate-pulse rounded-md bg-gray-200 md:block" />
+ <div className="hidden h-6 w-24 animate-pulse rounded-md bg-neutral-200 sm:block" />
+ <div className="hidden h-6 w-24 animate-pulse rounded-md bg-neutral-200 md:block" />
</div>
);
}
diff --git a/apps/web/ui/domains/domain-card-title-column.tsx b/apps/web/ui/domains/domain-card-title-column.tsx
index 4055096337..049fd3c4e7 100644
--- a/apps/web/ui/domains/domain-card-title-column.tsx
+++ b/apps/web/ui/domains/domain-card-title-column.tsx
@@ -19,12 +19,12 @@ export function DomainCardTitleColumn({
}) {
return (
<div className="flex min-w-0 items-center gap-4">
- <div className="hidden rounded-full border border-gray-200 sm:block">
+ <div className="hidden rounded-full border border-neutral-200 sm:block">
<div
className={cn(
"rounded-full",
(!defaultDomain || domain === "cal.link") &&
- "border border-white bg-gradient-to-t from-gray-100 p-1 md:p-2",
+ "border border-white bg-gradient-to-t from-neutral-100 p-1 md:p-2",
)}
>
<Icon
@@ -62,31 +62,31 @@ export function DomainCardTitleColumn({
<div className="mt-1 flex items-center gap-1 text-xs">
{description ? (
<span
- className="whitespace-pre-wrap text-gray-500"
+ className="whitespace-pre-wrap text-neutral-500"
title={description}
>
{description}
</span>
) : (
<>
- <ArrowTurnRight2 className="h-3 w-3 text-gray-400" />
+ <ArrowTurnRight2 className="h-3 w-3 text-neutral-400" />
{url !== undefined ? (
url ? (
<a
href={url}
target="_blank"
rel="noreferrer"
- className="truncate text-gray-500 transition-all hover:text-gray-700 hover:underline hover:underline-offset-2"
+ className="truncate text-neutral-500 transition-all hover:text-neutral-700 hover:underline hover:underline-offset-2"
>
{getPrettyUrl(url)}
</a>
) : (
- <span className="truncate text-gray-400">
+ <span className="truncate text-neutral-400">
No redirect configured
</span>
)
) : (
- <div className="h-4 w-16 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-4 w-16 animate-pulse rounded-md bg-neutral-200" />
)}
</>
)}
diff --git a/apps/web/ui/domains/domain-card.tsx b/apps/web/ui/domains/domain-card.tsx
index af247ccd43..5d364f8285 100644
--- a/apps/web/ui/domains/domain-card.tsx
+++ b/apps/web/ui/domains/domain-card.tsx
@@ -96,22 +96,22 @@ export default function DomainCard({ props }: { props: DomainProps }) {
<>
<div
ref={domainRef}
- className="hover:drop-shadow-card-hover group rounded-xl border border-gray-200 bg-white transition-[filter]"
+ className="hover:drop-shadow-card-hover group rounded-xl border border-neutral-200 bg-white transition-[filter]"
onPointerEnter={() => setGroupHover(true)}
onPointerLeave={() => setGroupHover(false)}
>
{isDubProvisioned && (
- <div className="flex items-center justify-between gap-2 rounded-t-xl border-b border-gray-100 bg-gray-50 px-5 py-2 text-xs">
+ <div className="flex items-center justify-between gap-2 rounded-t-xl border-b border-neutral-100 bg-neutral-50 px-5 py-2 text-xs">
<div className="flex items-center gap-1.5">
<Wordmark className="h-4" />
- <span className="font-medium text-gray-900">
+ <span className="font-medium text-neutral-900">
Provisioned by Dub
</span>
</div>
<a
href="https://dub.co/help/article/free-dot-link-domain"
target="_blank"
- className="text-gray-500 underline transition-colors hover:text-gray-800"
+ className="text-neutral-500 underline transition-colors hover:text-neutral-800"
>
Learn more
</a>
@@ -131,10 +131,10 @@ export default function DomainCard({ props }: { props: DomainProps }) {
<NumberTooltip value={props.link?.clicks || 0}>
<Link
href={`/${slug}/analytics?domain=${domain}&key=_root`}
- className="flex items-center space-x-1 whitespace-nowrap rounded-md border border-gray-200 bg-gray-50 px-3 py-1 transition-colors hover:bg-gray-100"
+ className="flex items-center space-x-1 whitespace-nowrap rounded-md border border-neutral-200 bg-neutral-50 px-3 py-1 transition-colors hover:bg-neutral-100"
>
- <CursorRays className="h-4 w-4 text-gray-700" />
- <p className="text-xs font-medium text-gray-900">
+ <CursorRays className="h-4 w-4 text-neutral-700" />
+ <p className="text-xs font-medium text-neutral-900">
{nFormatter(props.link?.clicks || 0)}
<span className="ml-1 hidden sm:inline-block">clicks</span>
</p>
@@ -169,7 +169,7 @@ export default function DomainCard({ props }: { props: DomainProps }) {
: "Invalid"}
</StatusBadge>
) : (
- <div className="h-6 w-16 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-6 w-16 animate-pulse rounded-md bg-neutral-200" />
)}
</div>
@@ -182,7 +182,9 @@ export default function DomainCard({ props }: { props: DomainProps }) {
<Gear
className={cn(
"h-4 w-4",
- showDetails ? "text-gray-800" : "text-gray-600",
+ showDetails
+ ? "text-neutral-800"
+ : "text-neutral-600",
)}
/>
{/* Error indicator */}
@@ -194,7 +196,7 @@ export default function DomainCard({ props }: { props: DomainProps }) {
</div>
<ChevronDown
className={cn(
- "hidden h-4 w-4 text-gray-400 transition-transform sm:block",
+ "hidden h-4 w-4 text-neutral-400 transition-transform sm:block",
showDetails && "rotate-180",
)}
/>
@@ -244,7 +246,7 @@ export default function DomainCard({ props }: { props: DomainProps }) {
<DomainConfiguration data={verificationData} />
)
) : (
- <div className="mt-6 h-6 w-32 animate-pulse rounded-md bg-gray-200" />
+ <div className="mt-6 h-6 w-32 animate-pulse rounded-md bg-neutral-200" />
)}
</motion.div>
</div>
@@ -343,7 +345,7 @@ function Menu({
width: groupHover && !isMobile ? "auto" : isMobile ? 79 : 39,
}}
initial={false}
- className="flex items-center justify-end divide-x divide-gray-200 overflow-hidden rounded-md border border-gray-200 sm:divide-transparent sm:group-hover:divide-gray-200"
+ className="flex items-center justify-end divide-x divide-neutral-200 overflow-hidden rounded-md border border-neutral-200 sm:divide-transparent sm:group-hover:divide-neutral-200"
>
<Button
icon={<PenWriting className={cn("h-4 w-4 shrink-0")} />}
@@ -357,12 +359,12 @@ function Menu({
<Refresh2
className={cn(
"h-4 w-4 shrink-0 -scale-100 transition-colors [animation-duration:0.25s]",
- refreshProps.isValidating && "animate-spin text-gray-500",
+ refreshProps.isValidating && "animate-spin text-neutral-500",
)}
/>
}
variant="outline"
- className="h-8 rounded-none border-0 px-3 text-gray-600"
+ className="h-8 rounded-none border-0 px-3 text-neutral-600"
onClick={() => refreshProps.mutate()}
/>
</Tooltip>
@@ -370,7 +372,7 @@ function Menu({
content={
<div className="w-full sm:w-48">
<div className="grid gap-px p-2">
- <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-gray-500">
+ <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-neutral-500">
Link Settings
</p>
<Button
@@ -416,9 +418,9 @@ function Menu({
className="h-9 justify-start px-2 font-medium"
/>
</div>
- <div className="border-t border-gray-200" />
+ <div className="border-t border-neutral-200" />
<div className="grid gap-px p-2">
- <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-gray-500">
+ <p className="mb-1.5 mt-1 flex items-center gap-2 px-1 text-xs font-medium text-neutral-500">
Domain Settings
</p>
<Button
diff --git a/apps/web/ui/domains/domain-configuration.tsx b/apps/web/ui/domains/domain-configuration.tsx
index 89f507641f..3a432defe9 100644
--- a/apps/web/ui/domains/domain-configuration.tsx
+++ b/apps/web/ui/domains/domain-configuration.tsx
@@ -89,7 +89,7 @@ export default function DomainConfiguration({
return (
<div className="pt-2">
- <div className="-ml-1.5 border-b border-gray-200">
+ <div className="-ml-1.5 border-b border-neutral-200">
<TabSelect
options={[
{ id: "A", label: `A Record${!subdomain ? " (recommended)" : ""}` },
@@ -125,7 +125,7 @@ export default function DomainConfiguration({
const MarkdownText = ({ text }: { text: string }) => {
return (
<p
- className="prose-sm prose-code:rounded-md prose-code:bg-gray-100 prose-code:p-1 prose-code:text-[.8125rem] prose-code:font-medium prose-code:font-mono prose-code:text-gray-900 max-w-none"
+ className="prose-sm prose-code:rounded-md prose-code:bg-neutral-100 prose-code:p-1 prose-code:text-[.8125rem] prose-code:font-medium prose-code:font-mono prose-code:text-neutral-900 max-w-none"
dangerouslySetInnerHTML={{ __html: text }}
/>
);
@@ -143,20 +143,20 @@ const DnsRecord = ({
const hasTtl = records.some((x) => x.ttl);
return (
- <div className="mt-3 text-left text-gray-600">
+ <div className="mt-3 text-left text-neutral-600">
<div className="my-5">
<MarkdownText text={instructions} />
</div>
<div
className={cn(
- "scrollbar-hide grid items-end gap-x-10 gap-y-1 overflow-x-auto rounded-lg bg-gray-100/80 p-4 text-sm",
+ "scrollbar-hide grid items-end gap-x-10 gap-y-1 overflow-x-auto rounded-lg bg-neutral-100/80 p-4 text-sm",
hasTtl
? "grid-cols-[repeat(4,min-content)]"
: "grid-cols-[repeat(3,min-content)]",
)}
>
{["Type", "Name", "Value"].concat(hasTtl ? "TTL" : []).map((s) => (
- <p key={s} className="font-medium text-gray-950">
+ <p key={s} className="font-medium text-neutral-950">
{s}
</p>
))}
diff --git a/apps/web/ui/domains/free-dot-link-banner.tsx b/apps/web/ui/domains/free-dot-link-banner.tsx
index 4d48cd76ed..da48b7bbb6 100644
--- a/apps/web/ui/domains/free-dot-link-banner.tsx
+++ b/apps/web/ui/domains/free-dot-link-banner.tsx
@@ -29,13 +29,13 @@ export function FreeDotLinkBanner() {
<div className="hidden rounded-full border border-green-600/50 bg-white/50 p-1 shadow-[inset_0_0_1px_1px_#fff] sm:block">
<LinkBroken className="m-px size-4 text-green-800" />
</div>
- <p className="text-sm text-gray-900">
+ <p className="text-sm text-neutral-900">
Claim a free <span className="font-semibold">.link</span> domain,
free for 1 year.{" "}
<a
href="https://dub.co/help/article/free-dot-link-domain"
target="_blank"
- className="text-gray-700 underline transition-colors hover:text-black"
+ className="text-neutral-700 underline transition-colors hover:text-black"
>
Learn more
</a>
@@ -45,7 +45,7 @@ export function FreeDotLinkBanner() {
<div className="flex items-center sm:-my-1">
<button
type="button"
- className="whitespace-nowrap rounded-md border border-green-700/50 px-3 py-1 text-sm text-gray-800 transition-colors hover:bg-green-500/10"
+ className="whitespace-nowrap rounded-md border border-green-700/50 px-3 py-1 text-sm text-neutral-800 transition-colors hover:bg-green-500/10"
onClick={() => setShowRegisterDomainModal(true)}
>
Claim Domain
diff --git a/apps/web/ui/domains/register-domain-form.tsx b/apps/web/ui/domains/register-domain-form.tsx
index 3e9952cd96..b7f8d908c0 100644
--- a/apps/web/ui/domains/register-domain-form.tsx
+++ b/apps/web/ui/domains/register-domain-form.tsx
@@ -142,7 +142,7 @@ export function RegisterDomainForm({
>
<div>
<div className="flex items-center gap-2">
- <p className="block text-sm font-medium text-gray-800">
+ <p className="block text-sm font-medium text-neutral-800">
Search domains
</p>
@@ -167,17 +167,17 @@ export function RegisterDomainForm({
? searchedDomain.available
? "bg-[#def5c6]"
: "bg-orange-100"
- : "bg-gray-100",
+ : "bg-neutral-100",
)}
>
- <div className="flex rounded-md border border-gray-300 bg-white">
+ <div className="flex rounded-md border border-neutral-300 bg-white">
<input
name="domain"
id="domain"
type="text"
required
autoComplete="off"
- className="block w-full rounded-md rounded-r-none border-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"
+ className="block w-full rounded-md rounded-r-none border-0 text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-sm"
aria-invalid="true"
autoFocus={!isMobile}
placeholder={workspace.slug}
@@ -191,7 +191,7 @@ export function RegisterDomainForm({
}
}}
/>
- <span className="inline-flex items-center rounded-md rounded-l-none bg-white pr-3 font-medium text-gray-500 sm:text-sm">
+ <span className="inline-flex items-center rounded-md rounded-l-none bg-white pr-3 font-medium text-neutral-500 sm:text-sm">
.link
</span>
</div>
@@ -200,19 +200,19 @@ export function RegisterDomainForm({
height
transition={{ ease: "easeInOut", duration: 0.1 }}
>
- <div className="flex justify-between gap-3 px-2 pb-2 pt-3 text-sm text-gray-700">
+ <div className="flex justify-between gap-3 px-2 pb-2 pt-3 text-sm text-neutral-700">
<p>
{searchedDomain ? (
searchedDomain.available ? (
<>
- <span className="font-semibold text-gray-800">
+ <span className="font-semibold text-neutral-800">
{searchedDomain.domain}
</span>{" "}
is available. Claim your free domain before it's gone!
</>
) : (
<>
- <span className="font-semibold text-gray-800">
+ <span className="font-semibold text-neutral-800">
{searchedDomain.domain}
</span>{" "}
is{" "}
@@ -256,11 +256,11 @@ export function RegisterDomainForm({
!searchedDomain.available &&
availableDomains.length > 0 && (
<div>
- <h2 className="text-sm font-medium text-gray-800">
+ <h2 className="text-sm font-medium text-neutral-800">
Available alternatives
</h2>
- <div className="mt-2 overflow-hidden rounded-lg border border-gray-200">
- <div className="flex flex-col divide-y divide-gray-200">
+ <div className="mt-2 overflow-hidden rounded-lg border border-neutral-200">
+ <div className="flex flex-col divide-y divide-neutral-200">
{availableDomains.map((alternative) => (
<div
key={alternative.domain}
@@ -294,12 +294,12 @@ export function RegisterDomainForm({
)}
{searchedDomain && (
- <p className="-my-2 text-pretty text-left text-sm text-gray-400">
+ <p className="-my-2 text-pretty text-left text-sm text-neutral-400">
By claiming your .link domain, you agree to our{" "}
<a
href="https://dub.co/help/article/free-dot-link-domain#terms-and-conditions"
target="_blank"
- className="underline transition-colors hover:text-gray-700"
+ className="underline transition-colors hover:text-neutral-700"
>
terms
</a>
@@ -310,7 +310,8 @@ export function RegisterDomainForm({
<div
className={cn(
"mt-8 flex justify-end gap-2",
- variant === "modal" && "border-t border-gray-200 px-4 py-4 sm:px-6",
+ variant === "modal" &&
+ "border-t border-neutral-200 px-4 py-4 sm:px-6",
)}
>
{onCancel && variant === "modal" && (
@@ -373,12 +374,12 @@ function DomainSavedToast() {
return (
<div className="flex items-center gap-1.5 rounded-lg bg-white p-4 text-sm shadow-[0_4px_12px_#0000001a]">
<CheckCircleFill className="size-5 shrink-0 text-black" />
- <p className="text-[13px] font-medium text-gray-900">
+ <p className="text-[13px] font-medium text-neutral-900">
Domain saved. You'll need a pro plan to complete the registration.{" "}
<a
href="https://dub.co/help/article/free-dot-link-domain"
target="_blank"
- className="text-gray-500 underline transition-colors hover:text-gray-800"
+ className="text-neutral-500 underline transition-colors hover:text-neutral-800"
>
Learn more
</a>
diff --git a/apps/web/ui/folders/add-folder-form.tsx b/apps/web/ui/folders/add-folder-form.tsx
index 4ad406692c..a453ceb82c 100644
--- a/apps/web/ui/folders/add-folder-form.tsx
+++ b/apps/web/ui/folders/add-folder-form.tsx
@@ -50,33 +50,33 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
return (
<>
- <div className="space-y-2 border-b border-gray-200 px-4 py-4 sm:px-6">
+ <div className="space-y-2 border-b border-neutral-200 px-4 py-4 sm:px-6">
<h3 className="text-lg font-medium">
{step === 1 ? "Create new folder" : `${name} access`}
</h3>
{step === 2 && (
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Set the default folder access for the workspace. Individual user
permissions can be set in the folder settings.
</p>
)}
</div>
- <div className="bg-gray-50">
+ <div className="bg-neutral-50">
<form onSubmit={onSubmit}>
<div className="flex flex-col gap-y-6 px-4 text-left sm:px-6">
{step === 1 ? (
<div className="mt-6">
- <label className="text-sm font-normal text-gray-500">
+ <label className="text-sm font-normal text-neutral-500">
Name
</label>
- <div className="mt-2 flex rounded-md border border-gray-300 bg-white">
+ <div className="mt-2 flex rounded-md border border-neutral-300 bg-white">
<input
type="text"
required
autoComplete="off"
- className="block w-full rounded-md border-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"
+ className="block w-full rounded-md border-0 text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-sm"
aria-invalid="true"
placeholder="Acme Links"
autoFocus={!isMobile}
@@ -93,10 +93,10 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
</div>
) : (
<div className="mt-6">
- <label className="text-sm font-normal text-gray-500">
+ <label className="text-sm font-normal text-neutral-500">
Workspace access
</label>
- <div className="mt-2 flex h-10 items-center justify-between rounded-md border border-gray-300 bg-white">
+ <div className="mt-2 flex h-10 items-center justify-between rounded-md border border-neutral-300 bg-white">
<div className="flex items-center gap-2 pl-2">
<BlurImage
src={workspace.logo || `${DICEBEAR_AVATAR_URL}${name}`}
@@ -105,12 +105,12 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
width={20}
height={20}
/>
- <span className="text-sm font-normal text-gray-500">
+ <span className="text-sm font-normal text-neutral-500">
{workspace.name}
</span>
</div>
<select
- className="rounded-md rounded-l-none border-0 border-l border-gray-300 bg-white py-2 pl-2 pr-8 text-xs text-gray-500 focus:border-gray-300 focus:outline-none focus:ring-0"
+ className="rounded-md rounded-l-none border-0 border-l border-neutral-300 bg-white py-2 pl-2 pr-8 text-xs text-neutral-500 focus:border-neutral-300 focus:outline-none focus:ring-0"
value={accessLevel}
onChange={(e) =>
setAccessLevel(e.target.value as FolderAccessLevel)
@@ -130,7 +130,7 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
)}
</div>
- <div className="mt-8 flex items-center justify-between border-t border-gray-200 px-4 py-4 sm:px-6">
+ <div className="mt-8 flex items-center justify-between border-t border-neutral-200 px-4 py-4 sm:px-6">
<StepProgressBar step={step} />
<div className="flex gap-2">
<Button
@@ -167,7 +167,7 @@ export const AddFolderForm = ({ onSuccess, onCancel }: AddFolderFormProps) => {
const StepProgressBar = ({ step }: { step: number }) => {
const getStepClass = (active: boolean) =>
- active ? "w-4 h-2 bg-gray-400" : "w-1.5 h-1.5 bg-gray-300";
+ active ? "w-4 h-2 bg-neutral-400" : "w-1.5 h-1.5 bg-neutral-300";
return (
<div className="flex items-center gap-1.5">
diff --git a/apps/web/ui/folders/folder-actions.tsx b/apps/web/ui/folders/folder-actions.tsx
index 6921893024..43f99c3e28 100644
--- a/apps/web/ui/folders/folder-actions.tsx
+++ b/apps/web/ui/folders/folder-actions.tsx
@@ -89,7 +89,7 @@ export const FolderActions = ({
{folderPermissionsPanel}
<Popover
content={
- <div className="grid w-full divide-y divide-gray-200 sm:w-52">
+ <div className="grid w-full divide-y divide-neutral-200 sm:w-52">
<div className="grid gap-px p-2">
<Button
text="Analytics"
@@ -169,10 +169,10 @@ export const FolderActions = ({
variant="secondary"
className={cn(
"h-8 px-1 outline-none transition-all duration-200",
- "border-transparent data-[state=open]:border-gray-500 sm:group-hover/card:data-[state=closed]:border-gray-200",
+ "border-transparent data-[state=open]:border-neutral-500 sm:group-hover/card:data-[state=closed]:border-neutral-200",
)}
onClick={() => setOpenPopover(true)}
- icon={<ThreeDots className="size-4 shrink-0 text-gray-500" />}
+ icon={<ThreeDots className="size-4 shrink-0 text-neutral-500" />}
/>
</Popover>
</>
diff --git a/apps/web/ui/folders/folder-card-placeholder.tsx b/apps/web/ui/folders/folder-card-placeholder.tsx
index eedfc71e4f..5c24d08188 100644
--- a/apps/web/ui/folders/folder-card-placeholder.tsx
+++ b/apps/web/ui/folders/folder-card-placeholder.tsx
@@ -1,16 +1,16 @@
export const FolderCardPlaceholder = () => {
return (
- <div className="relative h-36 rounded-xl border border-gray-200 bg-white px-5 py-4">
+ <div className="relative h-36 rounded-xl border border-neutral-200 bg-white px-5 py-4">
<div className="flex">
- <div className="h-8 w-8 rounded-full bg-gray-100" />
+ <div className="h-8 w-8 rounded-full bg-neutral-100" />
</div>
<div className="mt-6">
- <div className="h-3 w-32 rounded-full bg-gray-100" />
+ <div className="h-3 w-32 rounded-full bg-neutral-100" />
<div className="mt-1 flex items-center gap-5">
<div className="flex items-center gap-2">
- <div className="h-3 w-4 rounded-full bg-gray-100" />
- <div className="h-3 w-24 rounded-full bg-gray-100" />
+ <div className="h-3 w-4 rounded-full bg-neutral-100" />
+ <div className="h-3 w-24 rounded-full bg-neutral-100" />
</div>
</div>
</div>
diff --git a/apps/web/ui/folders/folder-card.tsx b/apps/web/ui/folders/folder-card.tsx
index 5f37f894eb..c95b08aba4 100644
--- a/apps/web/ui/folders/folder-card.tsx
+++ b/apps/web/ui/folders/folder-card.tsx
@@ -25,7 +25,7 @@ export const FolderCard = ({ folder }: { folder: Folder }) => {
const unsortedLinks = folder.id === "unsorted";
return (
- <div className="hover:drop-shadow-card-hover relative flex flex-col justify-between rounded-xl border border-gray-200 bg-white px-5 py-4 transition-all duration-200 sm:h-36">
+ <div className="hover:drop-shadow-card-hover relative flex flex-col justify-between rounded-xl border border-neutral-200 bg-white px-5 py-4 transition-all duration-200 sm:h-36">
<Link
href={`/${workspaceSlug}?folderId=${folder.id}`}
className="absolute inset-0 h-full w-full"
@@ -47,17 +47,17 @@ export const FolderCard = ({ folder }: { folder: Folder }) => {
</div>
<div>
- <span className="flex items-center justify-start gap-1.5 truncate text-sm font-medium text-gray-900">
+ <span className="flex items-center justify-start gap-1.5 truncate text-sm font-medium text-neutral-900">
<span className="truncate">{folder.name}</span>
{folder.id === "unsorted" && (
- <div className="rounded bg-gray-100 p-1">
+ <div className="rounded bg-neutral-100 p-1">
<div className="text-xs font-normal text-black">Unsorted</div>
</div>
)}
</span>
- <div className="mt-1.5 flex items-center gap-1 text-gray-500">
+ <div className="mt-1.5 flex items-center gap-1 text-neutral-500">
<Globe className="size-3.5" />
<span className="text-sm font-normal">
{nFormatter(folder.linkCount)} link{folder.linkCount !== 1 && "s"}
diff --git a/apps/web/ui/folders/folder-dropdown.tsx b/apps/web/ui/folders/folder-dropdown.tsx
index 8b03d0ac53..471969a3c8 100644
--- a/apps/web/ui/folders/folder-dropdown.tsx
+++ b/apps/web/ui/folders/folder-dropdown.tsx
@@ -63,12 +63,12 @@ export const FolderDropdown = ({
folders && (
<div className="relative mt-1 max-h-80 w-full space-y-0.5 overflow-auto rounded-md bg-white p-2 text-base sm:w-60 sm:text-sm sm:shadow-lg">
<div className="flex items-center justify-between px-2 pb-1">
- <p className="text-xs font-medium text-gray-500">Folders</p>
+ <p className="text-xs font-medium text-neutral-500">Folders</p>
{!hideViewAll && folders.length > 0 && (
<Link
href={`/${workspaceSlug}/settings/library/folders`}
onClick={() => setOpenPopover(false)}
- className="rounded-md border border-gray-200 px-2 py-1 text-xs transition-colors hover:bg-gray-100"
+ className="rounded-md border border-neutral-200 px-2 py-1 text-xs transition-colors hover:bg-neutral-100"
>
View All
</Link>
@@ -80,7 +80,7 @@ export const FolderDropdown = ({
<button
key={folder.id}
className={cn(
- "relative flex w-full items-center gap-x-2 rounded-md px-2 py-1.5 transition-all duration-75 hover:bg-gray-100 active:bg-gray-200",
+ "relative flex w-full items-center gap-x-2 rounded-md px-2 py-1.5 transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200",
{
"font-medium": selectedFolder?.id === folder.id,
},
@@ -102,7 +102,7 @@ export const FolderDropdown = ({
<span className="truncate">{folder.name}</span>
{folder.id === "unsorted" && (
- <div className="rounded bg-gray-100 p-1">
+ <div className="rounded bg-neutral-100 p-1">
<div className="text-xs font-normal text-black">
Unsorted
</div>
@@ -121,7 +121,7 @@ export const FolderDropdown = ({
<button
key="add-folder"
- className="relative flex w-full items-center gap-x-2 rounded-md px-2 py-1.5 transition-all duration-75 hover:bg-gray-100 active:bg-gray-200"
+ className="relative flex w-full items-center gap-x-2 rounded-md px-2 py-1.5 transition-all duration-75 hover:bg-neutral-100 active:bg-neutral-200"
onClick={() => {
setOpenPopover(false);
setShowAddFolderModal(true);
diff --git a/apps/web/ui/folders/folder-icon.tsx b/apps/web/ui/folders/folder-icon.tsx
index 77a8f6f168..7433b2933f 100644
--- a/apps/web/ui/folders/folder-icon.tsx
+++ b/apps/web/ui/folders/folder-icon.tsx
@@ -36,8 +36,8 @@ const folderIconsMap: Record<
icon: FolderLock,
},
new: {
- borderColor: "border-gray-200",
- bgColor: "bg-gray-100",
+ borderColor: "border-neutral-200",
+ bgColor: "bg-neutral-100",
icon: FolderPlus,
},
unsorted: {
diff --git a/apps/web/ui/folders/folder-permissions-panel.tsx b/apps/web/ui/folders/folder-permissions-panel.tsx
index 9d2aa8b67d..115e8480b8 100644
--- a/apps/web/ui/folders/folder-permissions-panel.tsx
+++ b/apps/web/ui/folders/folder-permissions-panel.tsx
@@ -122,7 +122,7 @@ const FolderPermissionsPanel = ({
</Drawer.Close>
</div>
<div className="px-8 py-6">
- <div className="flex flex-col justify-between rounded-xl border border-gray-200 bg-white px-5 py-4 sm:h-36">
+ <div className="flex flex-col justify-between rounded-xl border border-neutral-200 bg-white px-5 py-4 sm:h-36">
<div className="flex items-start justify-between">
<FolderIcon folder={folder} />
{!isLoadingPermissions && !canCreateLinks && (
@@ -133,10 +133,10 @@ const FolderPermissionsPanel = ({
)}
</div>
<div>
- <span className="flex items-center justify-start gap-1.5 text-sm font-medium text-gray-900">
+ <span className="flex items-center justify-start gap-1.5 text-sm font-medium text-neutral-900">
<span className="truncate">{folder.name}</span>
{folder.id === "unsorted" && (
- <div className="rounded bg-gray-100 p-1">
+ <div className="rounded bg-neutral-100 p-1">
<div className="text-xs font-normal text-black">
Unsorted
</div>
@@ -144,7 +144,7 @@ const FolderPermissionsPanel = ({
)}
</span>
- <div className="mt-1.5 flex items-center gap-1 text-gray-500">
+ <div className="mt-1.5 flex items-center gap-1 text-neutral-500">
<Globe className="size-3.5" />
<span className="text-sm font-normal">
{nFormatter(folder.linkCount)} link
@@ -178,8 +178,8 @@ const FolderPermissionsPanel = ({
<select
className={cn(
- "appearance-none rounded-md border border-gray-200 bg-white pl-3 pr-8 text-sm text-gray-900 focus:border-gray-300 focus:ring-gray-300",
- !canUpdateFolder && "cursor-not-allowed bg-gray-100",
+ "appearance-none rounded-md border border-neutral-200 bg-white pl-3 pr-8 text-sm text-neutral-900 focus:border-neutral-300 focus:ring-neutral-300",
+ !canUpdateFolder && "cursor-not-allowed bg-neutral-100",
)}
value={workspaceAccessLevel || folder?.accessLevel || ""}
disabled={
@@ -260,10 +260,10 @@ const FolderUserRow = ({
<div className="flex min-w-12 items-center gap-3">
<Avatar user={user} className="size-8" />
<div className="min-w-0">
- <h3 className="truncate text-xs font-medium text-gray-800">
+ <h3 className="truncate text-xs font-medium text-neutral-800">
{user.name || user.email}
</h3>
- <p className="truncate text-xs font-normal text-gray-400">
+ <p className="truncate text-xs font-normal text-neutral-400">
{user.email}
</p>
</div>
@@ -272,8 +272,8 @@ const FolderUserRow = ({
<div className="flex items-center gap-3">
<select
className={cn(
- "cursor-pointer appearance-none rounded-md border border-gray-200 bg-white pl-3 pr-8 text-sm text-gray-900 focus:border-gray-300 focus:ring-gray-300",
- disableRoleUpdate && "cursor-not-allowed bg-gray-100",
+ "cursor-pointer appearance-none rounded-md border border-neutral-200 bg-white pl-3 pr-8 text-sm text-neutral-900 focus:border-neutral-300 focus:ring-neutral-300",
+ disableRoleUpdate && "cursor-not-allowed bg-neutral-100",
)}
value={role === null ? "" : role}
disabled={disableRoleUpdate}
@@ -312,13 +312,13 @@ const FolderUserRow = ({
const FolderUserPlaceholder = () => (
<div className="flex items-center justify-between gap-3">
<div className="flex items-center gap-3">
- <div className="size-8 animate-pulse rounded-full bg-gray-200" />
+ <div className="size-8 animate-pulse rounded-full bg-neutral-200" />
<div className="flex flex-col">
- <div className="h-4 w-24 animate-pulse rounded bg-gray-200" />
- <div className="mt-1 h-3 w-32 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-24 animate-pulse rounded bg-neutral-200" />
+ <div className="mt-1 h-3 w-32 animate-pulse rounded bg-neutral-200" />
</div>
</div>
- <div className="my-px h-9 w-24 animate-pulse rounded bg-gray-200" />
+ <div className="my-px h-9 w-24 animate-pulse rounded bg-neutral-200" />
</div>
);
diff --git a/apps/web/ui/folders/move-link-form.tsx b/apps/web/ui/folders/move-link-form.tsx
index 196ea403ed..d3651092e2 100644
--- a/apps/web/ui/folders/move-link-form.tsx
+++ b/apps/web/ui/folders/move-link-form.tsx
@@ -97,19 +97,19 @@ export const MoveLinkForm = ({
return (
<>
- <div className="space-y-2 border-b border-gray-200 px-4 py-4 sm:px-6">
+ <div className="space-y-2 border-b border-neutral-200 px-4 py-4 sm:px-6">
<LinkLogo apexDomain={apexDomain} />
<h3 className="text-lg font-medium">Move {shortlink}</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Select a folder below to move the link to.
</p>
</div>
- <div className="bg-gray-50 sm:rounded-b-2xl">
+ <div className="bg-neutral-50 sm:rounded-b-2xl">
<form onSubmit={onSubmit}>
<div className="flex flex-col gap-y-6 px-4 text-left sm:px-6">
<div className="mt-6">
- <label className="text-sm font-normal text-gray-500">
+ <label className="text-sm font-normal text-neutral-500">
Folders
</label>
<div className="mt-2">
@@ -127,7 +127,7 @@ export const MoveLinkForm = ({
</div>
</div>
- <div className="mt-8 flex justify-end gap-2 border-t border-gray-200 px-4 py-4 sm:px-6">
+ <div className="mt-8 flex justify-end gap-2 border-t border-neutral-200 px-4 py-4 sm:px-6">
<Button
type="button"
variant="secondary"
diff --git a/apps/web/ui/folders/rename-folder-form.tsx b/apps/web/ui/folders/rename-folder-form.tsx
index 605ba9a7e0..08ed5b008c 100644
--- a/apps/web/ui/folders/rename-folder-form.tsx
+++ b/apps/web/ui/folders/rename-folder-form.tsx
@@ -46,17 +46,17 @@ export const RenameFolderForm = ({
};
return (
- <form onSubmit={onSubmit} className="bg-gray-50">
+ <form onSubmit={onSubmit} className="bg-neutral-50">
<div className="flex flex-col gap-6 px-4 text-left sm:px-6">
<div className="mt-6">
- <label className="text-sm font-normal text-gray-500">Name</label>
+ <label className="text-sm font-normal text-neutral-500">Name</label>
<div className="mt-2">
- <div className="flex rounded-md border border-gray-300 bg-white">
+ <div className="flex rounded-md border border-neutral-300 bg-white">
<input
type="text"
required
autoComplete="off"
- className="block w-full rounded-md border-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"
+ className="block w-full rounded-md border-0 text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-sm"
aria-invalid="true"
placeholder="Marketing"
autoFocus={!isMobile}
@@ -70,7 +70,7 @@ export const RenameFolderForm = ({
</div>
</div>
- <div className="mt-8 flex justify-end gap-2 border-t border-gray-200 px-4 py-4 sm:px-6">
+ <div className="mt-8 flex justify-end gap-2 border-t border-neutral-200 px-4 py-4 sm:px-6">
<Button
type="button"
variant="secondary"
diff --git a/apps/web/ui/folders/request-edit-button.tsx b/apps/web/ui/folders/request-edit-button.tsx
index d68e19b8b6..ef1febdc19 100644
--- a/apps/web/ui/folders/request-edit-button.tsx
+++ b/apps/web/ui/folders/request-edit-button.tsx
@@ -57,7 +57,7 @@ export const RequestFolderEditAccessButton = ({
variant={variant}
className={cn(
variant === "outline" &&
- "h-8 w-fit rounded-md border border-gray-200 text-gray-900",
+ "h-8 w-fit rounded-md border border-neutral-200 text-neutral-900",
)}
disabled={isRequested || requestSent}
loading={isExecuting}
diff --git a/apps/web/ui/integrations/integration-card.tsx b/apps/web/ui/integrations/integration-card.tsx
index 9c9641b264..76b25c0e5e 100644
--- a/apps/web/ui/integrations/integration-card.tsx
+++ b/apps/web/ui/integrations/integration-card.tsx
@@ -35,7 +35,7 @@ export default function IntegrationCard(
</Badge>
) : undefined}
<IntegrationLogo src={integration.logo ?? null} alt={integration.name} />
- <h3 className="mt-4 flex items-center gap-1.5 text-sm font-semibold text-gray-800">
+ <h3 className="mt-4 flex items-center gap-1.5 text-sm font-semibold text-neutral-800">
{integration.name}
{dubCrafted && (
<Tooltip content="Dub Crafted">
@@ -62,7 +62,7 @@ function Wrapper({
const { slug } = useWorkspace();
const className = cn(
- "group relative rounded-lg border border-gray-200 bg-white p-4 transition-[filter]",
+ "group relative rounded-lg border border-neutral-200 bg-white p-4 transition-[filter]",
integration.comingSoon ? "cursor-default" : "hover:drop-shadow-card-hover",
);
diff --git a/apps/web/ui/layout/auth-layout.tsx b/apps/web/ui/layout/auth-layout.tsx
index 750e05c648..ca43e0e5fc 100644
--- a/apps/web/ui/layout/auth-layout.tsx
+++ b/apps/web/ui/layout/auth-layout.tsx
@@ -23,7 +23,7 @@ interface AuthLayoutProps {
export const AuthLayout = ({ children }: AuthLayoutProps) => {
return (
<div className="grid w-full grid-cols-1 md:grid-cols-5">
- <div className="col-span-1 flex min-h-screen flex-col items-center justify-between border-r border-gray-200 bg-white/10 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur sm:col-span-3">
+ <div className="col-span-1 flex min-h-screen flex-col items-center justify-between border-r border-neutral-200 bg-white/10 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur sm:col-span-3">
<div className="flex h-full w-full flex-col items-center justify-center">
<ClientOnly className="relative flex w-full flex-col items-center justify-center">
<Suspense>{children}</Suspense>
@@ -31,21 +31,21 @@ export const AuthLayout = ({ children }: AuthLayoutProps) => {
</div>
<div className="grid gap-2 pb-8 pt-4">
- <p className="text-xs text-gray-600">
+ <p className="text-xs text-neutral-600">
© {new Date().getFullYear()} Dub Technologies, Inc.
</p>
- <div className="flex gap-3 text-center text-xs text-gray-500 underline underline-offset-2">
+ <div className="flex gap-3 text-center text-xs text-neutral-500 underline underline-offset-2">
<a
href="https://dub.co/legal/privacy"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Privacy Policy
</a>
<a
href="https://dub.co/legal/terms"
target="_blank"
- className="hover:text-gray-800"
+ className="hover:text-neutral-800"
>
Terms of Service
</a>
@@ -54,13 +54,13 @@ export const AuthLayout = ({ children }: AuthLayoutProps) => {
</div>
<div className="hidden h-full flex-col justify-center space-y-12 overflow-hidden md:col-span-2 md:flex">
- <div className="ml-12 h-1/2 w-[140%] rounded-xl border border-gray-200 p-2 shadow-xl">
+ <div className="ml-12 h-1/2 w-[140%] rounded-xl border border-neutral-200 p-2 shadow-xl">
<BlurImage
alt="Dub.co Analytics"
src="https://assets.dub.co/changelog/new-dashboard.jpg"
width={2400}
height={1260}
- className="aspect-[2400/1260] h-full rounded-lg border border-gray-200 object-cover object-left-top"
+ className="aspect-[2400/1260] h-full rounded-lg border border-neutral-200 object-cover object-left-top"
/>
</div>
<a
diff --git a/apps/web/ui/layout/changelog-popup.tsx b/apps/web/ui/layout/changelog-popup.tsx
index 62083c0f18..67c76973c6 100644
--- a/apps/web/ui/layout/changelog-popup.tsx
+++ b/apps/web/ui/layout/changelog-popup.tsx
@@ -32,13 +32,13 @@ export function ChangelogPopupInner() {
translateY: 0,
}}
exit={{ opacity: 0, y: "100%" }}
- className="group fixed bottom-4 z-40 mx-2 overflow-hidden rounded-lg border border-gray-200 bg-white shadow-md sm:left-4 sm:mx-auto sm:max-w-sm"
+ className="group fixed bottom-4 z-40 mx-2 overflow-hidden rounded-lg border border-neutral-200 bg-white shadow-md sm:left-4 sm:mx-auto sm:max-w-sm"
>
<button
- className="absolute right-2.5 top-2.5 z-10 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90"
+ className="absolute right-2.5 top-2.5 z-10 rounded-full p-1 transition-colors hover:bg-neutral-100 active:scale-90"
onClick={hidePopup}
>
- <X className="h-4 w-4 text-gray-500" />
+ <X className="h-4 w-4 text-neutral-500" />
</button>
<Link
href={CHANGELOG_URL}
@@ -46,7 +46,7 @@ export function ChangelogPopupInner() {
className="flex max-w-sm flex-col items-center justify-center"
onClick={() => hidePopup()}
>
- <div className="border-b border-gray-200">
+ <div className="border-b border-neutral-200">
<BlurImage
src={CHANGELOG_IMAGE_URL}
alt="Root Domain Links"
@@ -56,10 +56,10 @@ export function ChangelogPopupInner() {
/>
</div>
<div className="grid max-w-sm gap-1.5 p-4 text-center">
- <p className="text-center font-semibold text-gray-800 underline-offset-4 group-hover:underline">
+ <p className="text-center font-semibold text-neutral-800 underline-offset-4 group-hover:underline">
{CHANGELOG_TITLE}
</p>
- <p className="text-pretty text-sm text-gray-500">
+ <p className="text-pretty text-sm text-neutral-500">
{CHANGELOG_DESCRIPTION}
</p>
</div>
diff --git a/apps/web/ui/layout/help/contact-form.tsx b/apps/web/ui/layout/help/contact-form.tsx
index b806bdab81..083030ca8e 100644
--- a/apps/web/ui/layout/help/contact-form.tsx
+++ b/apps/web/ui/layout/help/contact-form.tsx
@@ -93,7 +93,9 @@ export function ContactForm({
onClick={() => setScreen("main")}
>
<ChevronLeft className="h-5 w-5" />
- <h3 className="text-lg font-semibold text-gray-700">Contact support</h3>
+ <h3 className="text-lg font-semibold text-neutral-700">
+ Contact support
+ </h3>
</button>
<AnimatePresence>
@@ -104,7 +106,7 @@ export function ContactForm({
animate={{ opacity: 1, y: 0 }}
>
<CheckCircleFill className="h-8 w-8 text-green-500" />
- <p className="text-gray-500">
+ <p className="text-neutral-500">
Thanks for reaching out! <br /> We'll get back to you as soon as
possible.
</p>
@@ -132,7 +134,7 @@ export function ContactForm({
exit={{ opacity: 0, y: -10 }}
>
<label>
- <span className="text-sm font-medium text-gray-700">
+ <span className="text-sm font-medium text-neutral-700">
Describe the issue
</span>
<TextareaAutosize
@@ -150,7 +152,7 @@ export function ContactForm({
className={`${
false
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-300 focus:border-neutral-500 focus:ring-neutral-500"
} mt-1 block w-full resize-none rounded-md focus:outline-none sm:text-sm`}
/>
</label>
@@ -159,20 +161,20 @@ export function ContactForm({
{uploads.map((upload) => (
<div
key={upload.attachmentId}
- className="flex w-full items-center justify-between rounded-md border border-gray-200"
+ className="flex w-full items-center justify-between rounded-md border border-neutral-200"
>
<div className="flex flex-1 items-center space-x-2 p-2">
{upload.uploading ? (
<LoadingSpinner className="h-4 w-4" />
) : (
- <Paperclip className="h-4 w-4 text-gray-500" />
+ <Paperclip className="h-4 w-4 text-neutral-500" />
)}
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
{upload.file.name}
</p>
</div>
<button
- className="h-full rounded-r-md border-l border-gray-200 p-2"
+ className="h-full rounded-r-md border-l border-neutral-200 p-2"
onClick={() => {
setUploads((prev) =>
prev.filter((i) => i.file.name !== upload.file.name),
@@ -185,14 +187,14 @@ export function ContactForm({
}));
}}
>
- <Trash2 className="h-4 w-4 text-gray-500" />
+ <Trash2 className="h-4 w-4 text-neutral-500" />
</button>
</div>
))}
</div>
<FileUpload
accept="any"
- className="aspect-[5/1] w-full rounded-md border border-dashed border-gray-300"
+ className="aspect-[5/1] w-full rounded-md border border-dashed border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
onChange={async ({ file }) => await handleUpload(file)}
diff --git a/apps/web/ui/layout/help/help-articles.tsx b/apps/web/ui/layout/help/help-articles.tsx
index c65a10baf3..b5efcd8f11 100644
--- a/apps/web/ui/layout/help/help-articles.tsx
+++ b/apps/web/ui/layout/help/help-articles.tsx
@@ -27,7 +27,7 @@ export function HelpArticles({
<div>
<div className="p-2 sm:p-4">
<div className="p-2">
- <h3 className="text-lg font-semibold text-gray-700">
+ <h3 className="text-lg font-semibold text-neutral-700">
👋 How can we help?
</h3>
</div>
@@ -42,22 +42,22 @@ export function HelpArticles({
debouncedTrackSearch(e.currentTarget.value);
}}
placeholder="Search articles, guides, and more..."
- className="w-full border-none p-2 text-sm placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-base"
+ className="w-full border-none p-2 text-sm placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-base"
/>
<Command.List
ref={commandListRef}
- className="scrollbar-hide h-[22rem] overflow-scroll border-t border-gray-200 py-2 transition-all"
+ className="scrollbar-hide h-[22rem] overflow-scroll border-t border-neutral-200 py-2 transition-all"
>
<Command.Empty
onClick={() => setScreen("contact")}
- className="flex cursor-pointer items-center space-x-2 rounded-md bg-gray-100 px-4 py-2 text-sm text-gray-600"
+ className="flex cursor-pointer items-center space-x-2 rounded-md bg-neutral-100 px-4 py-2 text-sm text-neutral-600"
>
- <MessageSquareText className="h-4 w-4 text-gray-400" />
+ <MessageSquareText className="h-4 w-4 text-neutral-400" />
<div className="flex flex-col space-y-1">
<p className="text-sm font-medium text-blue-600">
Can't find what you're looking for?
</p>
- <p className="text-xs text-gray-400">
+ <p className="text-xs text-neutral-400">
Send us a message and we'll get back to you as soon as
possible.
</p>
@@ -67,7 +67,7 @@ export function HelpArticles({
</Command.List>
</Command>
</div>
- <div className="flex justify-between border-t border-gray-200 px-3 py-4 sm:px-6">
+ <div className="flex justify-between border-t border-neutral-200 px-3 py-4 sm:px-6">
{session ? (
<button
onClick={() => setScreen("contact")}
@@ -126,7 +126,7 @@ const CommandResults = () => {
});
window.open(`https://dub.co/help/article/${slug}`);
}}
- className="group flex cursor-pointer items-center justify-between space-x-2 rounded-md px-4 py-2 hover:bg-gray-100 active:bg-gray-200 aria-selected:bg-gray-100"
+ className="group flex cursor-pointer items-center justify-between space-x-2 rounded-md px-4 py-2 hover:bg-neutral-100 active:bg-neutral-200 aria-selected:bg-neutral-100"
>
<div className="flex flex-col space-y-1">
<Highlighter
@@ -134,14 +134,14 @@ const CommandResults = () => {
searchWords={search.split(" ")}
autoEscape={true}
textToHighlight={title}
- className="text-sm font-medium text-gray-600 group-aria-selected:text-blue-600 sm:group-hover:text-blue-600"
+ className="text-sm font-medium text-neutral-600 group-aria-selected:text-blue-600 sm:group-hover:text-blue-600"
/>
<Highlighter
highlightClassName="underline bg-transparent text-blue-600"
searchWords={search.split(" ")}
autoEscape={true}
textToHighlight={summary}
- className="line-clamp-1 text-xs text-gray-400"
+ className="line-clamp-1 text-xs text-neutral-400"
/>
</div>
<ExpandingArrow className="invisible -ml-4 h-4 w-4 text-blue-600 group-aria-selected:visible sm:group-hover:visible" />
diff --git a/apps/web/ui/layout/sidebar/conversions/conversions-onboarding-modal.tsx b/apps/web/ui/layout/sidebar/conversions/conversions-onboarding-modal.tsx
index c569370a1f..bd1aef55c7 100644
--- a/apps/web/ui/layout/sidebar/conversions/conversions-onboarding-modal.tsx
+++ b/apps/web/ui/layout/sidebar/conversions/conversions-onboarding-modal.tsx
@@ -147,7 +147,7 @@ function ConversionOnboardingModalInner({
<button
type="button"
onClick={() => setShowConversionOnboardingModal(false)}
- className="group absolute right-4 top-4 z-[1] hidden rounded-full p-2 text-gray-500 transition-all duration-75 hover:bg-gray-100 focus:outline-none active:bg-gray-200 md:block"
+ className="group absolute right-4 top-4 z-[1] hidden rounded-full p-2 text-neutral-500 transition-all duration-75 hover:bg-neutral-100 focus:outline-none active:bg-neutral-200 md:block"
>
<X className="size-5" />
</button>
diff --git a/apps/web/ui/layout/sidebar/help-button.tsx b/apps/web/ui/layout/sidebar/help-button.tsx
index 1c467b8572..911479f0be 100644
--- a/apps/web/ui/layout/sidebar/help-button.tsx
+++ b/apps/web/ui/layout/sidebar/help-button.tsx
@@ -35,7 +35,7 @@ export function HelpButton({
setIsOpen((o) => !o);
}}
className={cn(
- "font-lg relative size-4 shrink-0 overflow-hidden rounded-full active:bg-gray-50",
+ "font-lg relative size-4 shrink-0 overflow-hidden rounded-full active:bg-neutral-50",
"outline-none ring-offset-2 ring-offset-neutral-100 focus-visible:ring-2 focus-visible:ring-black/50",
)}
>
diff --git a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx
index 9f1800bcd9..3b90868d24 100644
--- a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx
+++ b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx
@@ -173,7 +173,7 @@ export function PartnerProgramDropdown() {
</div>
</div>
<ChevronsUpDown
- className="size-4 shrink-0 text-gray-400"
+ className="size-4 shrink-0 text-neutral-400"
aria-hidden="true"
/>
</button>
@@ -185,9 +185,9 @@ export function PartnerProgramDropdown() {
function PartnerDropdownPlaceholder() {
return (
<div className="flex w-full animate-pulse items-center gap-x-1.5 rounded-lg p-1.5">
- <div className="size-7 animate-pulse rounded-full bg-gray-200" />
- <div className="mb-px mt-0.5 h-8 w-28 grow animate-pulse rounded-md bg-gray-200" />
- <ChevronsUpDown className="h-4 w-4 text-gray-400" aria-hidden="true" />
+ <div className="size-7 animate-pulse rounded-full bg-neutral-200" />
+ <div className="mb-px mt-0.5 h-8 w-28 grow animate-pulse rounded-md bg-neutral-200" />
+ <ChevronsUpDown className="h-4 w-4 text-neutral-400" aria-hidden="true" />
</div>
);
}
diff --git a/apps/web/ui/layout/sidebar/sidebar-nav.tsx b/apps/web/ui/layout/sidebar/sidebar-nav.tsx
index 2bc2a21a65..c711ebeab1 100644
--- a/apps/web/ui/layout/sidebar/sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/sidebar-nav.tsx
@@ -60,7 +60,7 @@ export function SidebarNav<T extends Record<any, any>>({
}) {
return (
<ClientOnly className="scrollbar-hide relative flex h-full w-full flex-col overflow-y-auto overflow-x-hidden">
- <nav className="relative flex grow flex-col p-3 text-gray-500">
+ <nav className="relative flex grow flex-col p-3 text-neutral-500">
<div className="relative flex items-start justify-between gap-1 pb-3">
{Object.entries(areas).map(([area, areaConfig]) => {
const { title, backHref } = areaConfig(data);
diff --git a/apps/web/ui/layout/sidebar/user-dropdown.tsx b/apps/web/ui/layout/sidebar/user-dropdown.tsx
index bd105b01d9..edefb3f4cc 100644
--- a/apps/web/ui/layout/sidebar/user-dropdown.tsx
+++ b/apps/web/ui/layout/sidebar/user-dropdown.tsx
@@ -76,7 +76,7 @@ export default function UserDropdown() {
className="size-6 border-none duration-75 sm:size-6"
/>
) : (
- <div className="size-6 animate-pulse rounded-full bg-gray-100 sm:size-6" />
+ <div className="size-6 animate-pulse rounded-full bg-neutral-100 sm:size-6" />
)}
</button>
</Popover>
diff --git a/apps/web/ui/layout/sidebar/workspace-dropdown.tsx b/apps/web/ui/layout/sidebar/workspace-dropdown.tsx
index cd73769b0f..88196d1bed 100644
--- a/apps/web/ui/layout/sidebar/workspace-dropdown.tsx
+++ b/apps/web/ui/layout/sidebar/workspace-dropdown.tsx
@@ -121,7 +121,7 @@ export function WorkspaceDropdown() {
</div>
</div>
<ChevronsUpDown
- className="size-4 shrink-0 text-gray-400"
+ className="size-4 shrink-0 text-neutral-400"
aria-hidden="true"
/>
</button>
@@ -133,9 +133,9 @@ export function WorkspaceDropdown() {
function WorkspaceDropdownPlaceholder() {
return (
<div className="flex w-full animate-pulse items-center gap-x-1.5 rounded-lg p-1.5">
- <div className="size-7 animate-pulse rounded-full bg-gray-200" />
- <div className="mb-px mt-0.5 h-8 w-28 grow animate-pulse rounded-md bg-gray-200" />
- <ChevronsUpDown className="h-4 w-4 text-gray-400" aria-hidden="true" />
+ <div className="size-7 animate-pulse rounded-full bg-neutral-200" />
+ <div className="mb-px mt-0.5 h-8 w-28 grow animate-pulse rounded-md bg-neutral-200" />
+ <ChevronsUpDown className="h-4 w-4 text-neutral-400" aria-hidden="true" />
</div>
);
}
diff --git a/apps/web/ui/layout/toolbar/help-button.tsx b/apps/web/ui/layout/toolbar/help-button.tsx
index 69a7c6866e..404ab210ea 100644
--- a/apps/web/ui/layout/toolbar/help-button.tsx
+++ b/apps/web/ui/layout/toolbar/help-button.tsx
@@ -33,12 +33,12 @@ export function HelpButton({
}
setIsOpen((o) => !o);
}}
- className="animate-fade-in font-lg relative h-12 w-12 overflow-hidden rounded-full border border-gray-200 bg-white shadow-md active:bg-gray-50"
+ className="animate-fade-in font-lg relative h-12 w-12 overflow-hidden rounded-full border border-neutral-200 bg-white shadow-md active:bg-neutral-50"
>
<AnimatePresence>
<motion.div
key={isOpen ? "open" : "closed"}
- className="absolute inset-0 flex items-center justify-center font-medium text-gray-700 hover:text-gray-700"
+ className="absolute inset-0 flex items-center justify-center font-medium text-neutral-700 hover:text-neutral-700"
initial={{ opacity: 0, scale: 0 }}
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0 }}
diff --git a/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx b/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx
index 9e774a05b6..14c192026c 100644
--- a/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx
+++ b/apps/web/ui/layout/toolbar/onboarding/onboarding-button.tsx
@@ -78,7 +78,7 @@ function OnboardingButtonInner({
<div className="flex items-start justify-between gap-2">
<div>
<span className="text-base font-medium">Getting Started</span>
- <p className="mt-1 text-sm text-gray-300">
+ <p className="mt-1 text-sm text-neutral-300">
Get familiar with Dub by completing the{" "}
<br className="hidden sm:block" />
following tasks
@@ -98,7 +98,7 @@ function OnboardingButtonInner({
</div>
</div>
<div className="p-3">
- <div className="grid divide-y divide-gray-200 rounded-lg border border-gray-200 bg-white">
+ <div className="grid divide-y divide-neutral-200 rounded-lg border border-neutral-200 bg-white">
{tasks.map(({ display, cta, checked }) => {
return (
<Link
@@ -111,12 +111,12 @@ function OnboardingButtonInner({
{checked ? (
<CheckCircleFill className="size-5 text-green-500" />
) : (
- <CircleDotted className="size-5 text-gray-400" />
+ <CircleDotted className="size-5 text-neutral-400" />
)}
- <p className="text-sm text-gray-800">{display}</p>
+ <p className="text-sm text-neutral-800">{display}</p>
</div>
<div className="mr-5">
- <ExpandingArrow className="text-gray-500" />
+ <ExpandingArrow className="text-neutral-500" />
</div>
</div>
</Link>
@@ -131,10 +131,10 @@ function OnboardingButtonInner({
>
<button
type="button"
- className="animate-slide-up-fade -mt-1 flex h-12 flex-col items-center justify-center rounded-full border border-gray-950 bg-gray-950 px-6 text-xs font-medium leading-tight text-white shadow-md transition-all [--offset:10px] hover:bg-gray-800 hover:ring-4 hover:ring-gray-200"
+ className="animate-slide-up-fade -mt-1 flex h-12 flex-col items-center justify-center rounded-full border border-neutral-950 bg-neutral-950 px-6 text-xs font-medium leading-tight text-white shadow-md transition-all [--offset:10px] hover:bg-neutral-800 hover:ring-4 hover:ring-neutral-200"
>
<span>Getting Started</span>
- <span className="text-gray-400">
+ <span className="text-neutral-400">
{Math.round((completedTasks / tasks.length) * 100)}% complete
</span>
</button>
@@ -149,7 +149,7 @@ const MiniButton = forwardRef(
ref={ref}
type="button"
{...props}
- className="rounded-md px-1 py-1 text-gray-400 transition-colors hover:bg-white/20 active:text-white"
+ className="rounded-md px-1 py-1 text-neutral-400 transition-colors hover:bg-white/20 active:text-white"
/>
);
},
diff --git a/apps/web/ui/layout/user-survey/index.tsx b/apps/web/ui/layout/user-survey/index.tsx
index a02f5e64f8..5efcad67f6 100644
--- a/apps/web/ui/layout/user-survey/index.tsx
+++ b/apps/web/ui/layout/user-survey/index.tsx
@@ -73,10 +73,10 @@ export function UserSurveyPopupInner({ hide }: { hide: () => void }) {
<AnimatedSizeContainer height>
<div className="p-4">
<button
- className="absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90"
+ className="absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-neutral-100 active:scale-90"
onClick={hide}
>
- <X className="h-4 w-4 text-gray-500" />
+ <X className="h-4 w-4 text-neutral-500" />
</button>
<UserSurveyContext.Provider value={{ status }}>
<SurveyForm
@@ -109,7 +109,7 @@ export function UserSurveyPopupInner({ hide }: { hide: () => void }) {
className="absolute inset-0 flex flex-col items-center justify-center space-y-3 rounded-lg bg-white text-sm"
>
<CheckCircleFill className="h-8 w-8 text-green-500" />
- <p className="text-gray-500">Thank you for your response!</p>
+ <p className="text-neutral-500">Thank you for your response!</p>
</motion.div>
)}
</AnimatePresence>
diff --git a/apps/web/ui/layout/user-survey/survey-form.tsx b/apps/web/ui/layout/user-survey/survey-form.tsx
index dca17bda33..26f227ca31 100644
--- a/apps/web/ui/layout/user-survey/survey-form.tsx
+++ b/apps/web/ui/layout/user-survey/survey-form.tsx
@@ -65,7 +65,7 @@ export default function SurveyForm({
return (
<div className="grid gap-4">
<Wordmark className="h-8" />
- <p className="text-sm font-medium text-gray-800">
+ <p className="text-sm font-medium text-neutral-800">
Where did you hear about Dub?
</p>
<form
@@ -88,10 +88,10 @@ export default function SurveyForm({
<div
key={option.value}
className={cn(
- "group flex flex-col rounded-md border border-gray-200 bg-white transition-all active:scale-[0.98]",
+ "group flex flex-col rounded-md border border-neutral-200 bg-white transition-all active:scale-[0.98]",
source === option.value
- ? "border-white ring-2 ring-gray-600"
- : "hover:border-gray-500 hover:ring hover:ring-gray-200 active:ring-2",
+ ? "border-white ring-2 ring-neutral-600"
+ : "hover:border-neutral-500 hover:ring hover:ring-neutral-200 active:ring-2",
)}
>
<RadioGroupItem
@@ -101,7 +101,7 @@ export default function SurveyForm({
/>
<Label
htmlFor={option.value}
- className="flex h-full cursor-pointer select-none items-center gap-2 px-4 py-2 text-gray-600"
+ className="flex h-full cursor-pointer select-none items-center gap-2 px-4 py-2 text-neutral-600"
>
<option.icon
className={cn(
@@ -109,7 +109,7 @@ export default function SurveyForm({
{
grayscale: source !== option.value,
"h-4 w-4": option.value === "twitter",
- "text-gray-600": option.value === "other",
+ "text-neutral-600": option.value === "other",
},
)}
/>
@@ -138,7 +138,7 @@ export default function SurveyForm({
maxLength={32}
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Reddit, Indie Hackers, etc."
value={otherSource}
onChange={(e) => setOtherSource(e.target.value)}
diff --git a/apps/web/ui/links/archived-links-hint.tsx b/apps/web/ui/links/archived-links-hint.tsx
index 2c76592a86..aceaa5b23a 100644
--- a/apps/web/ui/links/archived-links-hint.tsx
+++ b/apps/web/ui/links/archived-links-hint.tsx
@@ -26,11 +26,11 @@ function ArchivedLinksHintHelper() {
<Tooltip
side="top"
content={
- <div className="px-3 py-2 text-sm text-gray-500">
+ <div className="px-3 py-2 text-sm text-neutral-500">
<div className="flex items-center gap-4">
<span>
You have{" "}
- <span className="font-medium text-gray-950">
+ <span className="font-medium text-neutral-950">
{archivedCount}
</span>{" "}
archived {pluralize("link", archivedCount)} that match
@@ -48,7 +48,7 @@ function ArchivedLinksHintHelper() {
</div>
}
>
- <div className="flex cursor-default items-center gap-1.5 rounded-md bg-gray-100 px-2 py-0.5 text-sm font-medium text-gray-950 hover:bg-gray-200">
+ <div className="flex cursor-default items-center gap-1.5 rounded-md bg-neutral-100 px-2 py-0.5 text-sm font-medium text-neutral-950 hover:bg-neutral-200">
<BoxArchive className="h-3 w-3" />
{archivedCount}
</div>
diff --git a/apps/web/ui/links/comments-badge.tsx b/apps/web/ui/links/comments-badge.tsx
index 297d268eb5..617a538773 100644
--- a/apps/web/ui/links/comments-badge.tsx
+++ b/apps/web/ui/links/comments-badge.tsx
@@ -12,12 +12,12 @@ export function CommentsBadge({ comments }: { comments: string }) {
<HoverCard.Content
side="bottom"
sideOffset={8}
- className="animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm"
+ className="animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-neutral-200 bg-white shadow-sm"
>
- <div className="divide-y-gray-200 divide-y text-sm">
+ <div className="divide-y-neutral-200 divide-y text-sm">
<div className="flex items-center gap-2 px-4 py-3">
<Page2 className="size-3.5" />
- <span className="text-gray-500">Link comments</span>
+ <span className="text-neutral-500">Link comments</span>
</div>
<Markdown className="max-w-[300px] whitespace-normal break-words px-5 py-3">
{comments}
@@ -26,7 +26,7 @@ export function CommentsBadge({ comments }: { comments: string }) {
</HoverCard.Content>
</HoverCard.Portal>
<HoverCard.Trigger asChild>
- <div className="rounded-full p-1.5 hover:bg-gray-100">
+ <div className="rounded-full p-1.5 hover:bg-neutral-100">
<Page2 className="size-3.5" />
</div>
</HoverCard.Trigger>
diff --git a/apps/web/ui/links/destination-url-input.tsx b/apps/web/ui/links/destination-url-input.tsx
index 580f0fd507..063d0d7661 100644
--- a/apps/web/ui/links/destination-url-input.tsx
+++ b/apps/web/ui/links/destination-url-input.tsx
@@ -48,7 +48,7 @@ export const DestinationUrlInput = forwardRef<
<div className="flex items-center gap-2">
<label
htmlFor={inputId}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Destination URL
</label>
@@ -90,7 +90,7 @@ export const DestinationUrlInput = forwardRef<
className={`${
error
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500"
} block w-full rounded-md focus:outline-none sm:text-sm`}
aria-invalid="true"
{...inputProps}
diff --git a/apps/web/ui/links/link-card-placeholder.tsx b/apps/web/ui/links/link-card-placeholder.tsx
index dd8fe21520..77e1b71479 100644
--- a/apps/web/ui/links/link-card-placeholder.tsx
+++ b/apps/web/ui/links/link-card-placeholder.tsx
@@ -8,7 +8,7 @@ export default function LinkCardPlaceholder() {
return (
<>
<div className="flex grow items-center gap-3">
- <div className="hidden h-8 w-8 animate-pulse rounded-full bg-gray-200 sm:block" />
+ <div className="hidden h-8 w-8 animate-pulse rounded-full bg-neutral-200 sm:block" />
<div
className={cn(
"flex h-[60px] gap-x-2 gap-y-1 transition-[height]",
@@ -17,18 +17,18 @@ export default function LinkCardPlaceholder() {
: "h-[32px] flex-row items-center",
)}
>
- <div className="h-5 w-32 animate-pulse rounded-md bg-gray-200 sm:w-44" />
+ <div className="h-5 w-32 animate-pulse rounded-md bg-neutral-200 sm:w-44" />
<div
className={cn(
- "h-4 w-28 animate-pulse rounded-md bg-gray-200",
+ "h-4 w-28 animate-pulse rounded-md bg-neutral-200",
variant === "compact" && "hidden sm:block",
)}
/>
</div>
</div>
<div className="flex items-center gap-5">
- <div className="h-6 w-16 animate-pulse rounded-md bg-gray-200" />
- <div className="hidden h-6 w-11 animate-pulse rounded-md bg-gray-200 sm:block" />
+ <div className="h-6 w-16 animate-pulse rounded-md bg-neutral-200" />
+ <div className="hidden h-6 w-11 animate-pulse rounded-md bg-neutral-200 sm:block" />
<div className="hidden h-6 w-10 sm:block" />
</div>
</>
diff --git a/apps/web/ui/links/link-controls.tsx b/apps/web/ui/links/link-controls.tsx
index c52c2b6bf4..34d776e1cd 100644
--- a/apps/web/ui/links/link-controls.tsx
+++ b/apps/web/ui/links/link-controls.tsx
@@ -230,7 +230,7 @@ export function LinkControls({ link }: { link: ResponseLink }) {
className="h-9 px-2 font-medium"
/>
</div>
- <div className="border-t border-gray-200" />
+ <div className="border-t border-neutral-200" />
<div className="grid gap-px p-2">
{flags?.linkFolders && folders && folders.length > 0 && (
<Button
@@ -335,7 +335,7 @@ export function LinkControls({ link }: { link: ResponseLink }) {
variant="secondary"
className={cn(
"h-8 px-1.5 outline-none transition-all duration-200",
- "border-transparent data-[state=open]:border-gray-500 sm:group-hover/card:data-[state=closed]:border-gray-200",
+ "border-transparent data-[state=open]:border-neutral-500 sm:group-hover/card:data-[state=closed]:border-neutral-200",
)}
icon={<ThreeDots className="h-5 w-5 shrink-0" />}
onClick={() => {
diff --git a/apps/web/ui/links/link-details-column.tsx b/apps/web/ui/links/link-details-column.tsx
index 73c5585bfe..6bcba3c7b3 100644
--- a/apps/web/ui/links/link-details-column.tsx
+++ b/apps/web/ui/links/link-details-column.tsx
@@ -190,9 +190,9 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
return isMobile ? (
<Link
href={`/${slug}/analytics?domain=${domain}&key=${key}&interval=${plan === "free" ? "30d" : plan === "pro" ? "1y" : "all"}`}
- className="flex items-center gap-1 rounded-md border border-gray-200 bg-gray-50 px-2 py-0.5 text-sm text-gray-800"
+ className="flex items-center gap-1 rounded-md border border-neutral-200 bg-neutral-50 px-2 py-0.5 text-sm text-neutral-800"
>
- <CursorRays className="h-4 w-4 text-gray-600" />
+ <CursorRays className="h-4 w-4 text-neutral-600" />
{nFormatter(link.clicks)}
</Link>
) : (
@@ -202,10 +202,10 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
key={modalShowCount}
side="top"
content={
- <div className="flex flex-col gap-2.5 whitespace-nowrap p-3 text-gray-600">
+ <div className="flex flex-col gap-2.5 whitespace-nowrap p-3 text-neutral-600">
{stats.map(({ id: tab, value }) => (
<div key={tab} className="text-sm leading-none">
- <span className="font-medium text-gray-950">
+ <span className="font-medium text-neutral-950">
{tab === "sales"
? currencyFormatter(value / 100)
: nFormatter(value, { full: value < INFINITY_NUMBER })}
@@ -214,7 +214,7 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
{pluralize(tab.slice(0, -1), value)}
</div>
))}
- <p className="text-xs leading-none text-gray-400">
+ <p className="text-xs leading-none text-neutral-400">
{link.lastClicked
? `Last clicked ${timeAgo(link.lastClicked, {
withAgo: true,
@@ -237,7 +237,7 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
<CopyButton
value={`${APP_DOMAIN}/share/${link.dashboardId}`}
variant="neutral"
- className="h-7 items-center justify-center rounded-md border border-neutral-300 bg-white p-1.5 hover:bg-gray-50 active:bg-gray-100"
+ className="h-7 items-center justify-center rounded-md border border-neutral-300 bg-white p-1.5 hover:bg-neutral-50 active:bg-neutral-100"
/>
)}
</div>
@@ -247,8 +247,8 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
<Link
href={`/${slug}/analytics?domain=${domain}&key=${key}&interval=${plan === "free" ? "30d" : plan === "pro" ? "1y" : "all"}`}
className={cn(
- "overflow-hidden rounded-md border border-gray-200 bg-gray-50 p-0.5 text-sm text-gray-600 transition-colors",
- variant === "loose" ? "hover:bg-gray-100" : "hover:bg-white",
+ "overflow-hidden rounded-md border border-neutral-200 bg-neutral-50 p-0.5 text-sm text-neutral-600 transition-colors",
+ variant === "loose" ? "hover:bg-neutral-100" : "hover:bg-white",
)}
>
<div className="hidden items-center gap-0.5 sm:flex">
@@ -275,8 +275,8 @@ function AnalyticsBadge({ link }: { link: ResponseLink }) {
),
)}
{link.dashboardId && (
- <div className="border-l border-gray-200 px-1.5">
- <ReferredVia className="h-4 w-4 shrink-0 text-gray-600" />
+ <div className="border-l border-neutral-200 px-1.5">
+ <ReferredVia className="h-4 w-4 shrink-0 text-neutral-600" />
</div>
)}
</div>
diff --git a/apps/web/ui/links/link-display.tsx b/apps/web/ui/links/link-display.tsx
index eff4b5a888..39ad7f1adc 100644
--- a/apps/web/ui/links/link-display.tsx
+++ b/apps/web/ui/links/link-display.tsx
@@ -44,7 +44,7 @@ export default function LinkDisplay() {
return (
<Popover
content={
- <div className="w-full divide-y divide-gray-200 text-sm md:w-80">
+ <div className="w-full divide-y divide-neutral-200 text-sm md:w-80">
<div className="grid grid-cols-2 gap-2 p-3">
{[
{ id: "cards", label: "Cards", icon: GridLayoutRows },
@@ -57,16 +57,16 @@ export default function LinkDisplay() {
className={cn(
"flex h-16 flex-col items-center justify-center gap-1 rounded-md border border-transparent transition-colors",
selected
- ? "border-gray-300 bg-gray-100 text-gray-950"
- : "text-gray-800 hover:bg-gray-100 hover:text-gray-950",
+ ? "border-neutral-300 bg-neutral-100 text-neutral-950"
+ : "text-neutral-800 hover:bg-neutral-100 hover:text-neutral-950",
)}
onClick={() => setViewMode(id as LinksViewMode)}
aria-pressed={selected}
>
<Icon
className={cn(
- "h-5 w-5 text-gray-600",
- selected && "text-gray-800",
+ "h-5 w-5 text-neutral-600",
+ selected && "text-neutral-800",
)}
/>
{label}
@@ -76,7 +76,7 @@ export default function LinkDisplay() {
</div>
<div className="flex h-16 items-center justify-between gap-2 px-4">
<span className="flex items-center gap-2">
- <ArrowsOppositeDirectionY className="h-4 w-4 text-gray-800" />
+ <ArrowsOppositeDirectionY className="h-4 w-4 text-neutral-800" />
Ordering
</span>
<div>
@@ -86,8 +86,8 @@ export default function LinkDisplay() {
<div className="group flex h-16 items-center justify-between gap-2 px-4">
<div className="flex items-center gap-2">
<div className="flex w-6 items-center justify-center">
- <BoxArchive className="size-4 text-gray-800 group-hover:hidden" />
- <kbd className="hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 group-hover:block">
+ <BoxArchive className="size-4 text-neutral-800 group-hover:hidden" />
+ <kbd className="hidden rounded border border-neutral-200 bg-neutral-100 px-2 py-0.5 text-xs font-light text-neutral-500 group-hover:block">
A
</kbd>
</div>
@@ -109,7 +109,7 @@ export default function LinkDisplay() {
</div>
</div>
<div className="p-4">
- <span className="text-xs uppercase text-gray-500">
+ <span className="text-xs uppercase text-neutral-500">
Display Properties
</span>
<div className="mt-4 flex flex-wrap gap-2">
@@ -140,8 +140,8 @@ export default function LinkDisplay() {
"rounded-md border px-2 py-0.5 text-sm",
property.mobile === false && "hidden sm:block",
active
- ? "border-gray-300 bg-gray-100 text-gray-950"
- : "border-transparent text-gray-600 hover:bg-gray-100 hover:text-gray-950",
+ ? "border-neutral-300 bg-neutral-100 text-neutral-950"
+ : "border-transparent text-neutral-600 hover:bg-neutral-100 hover:text-neutral-950",
)}
>
{property.label}
@@ -197,7 +197,7 @@ export default function LinkDisplay() {
</div>
<span className="grow text-left">Display</span>
<ChevronDown
- className={cn("h-4 w-4 text-gray-400 transition-transform", {
+ className={cn("h-4 w-4 text-neutral-400 transition-transform", {
"rotate-180": openPopover,
})}
/>
diff --git a/apps/web/ui/links/link-not-found.tsx b/apps/web/ui/links/link-not-found.tsx
index b192540c7f..ad492fe845 100644
--- a/apps/web/ui/links/link-not-found.tsx
+++ b/apps/web/ui/links/link-not-found.tsx
@@ -2,14 +2,14 @@ import { FileX2 } from "lucide-react";
export default function LinkNotFound() {
return (
- <div className="flex flex-col items-center justify-center rounded-md border border-gray-200 bg-white py-12">
- <div className="rounded-full bg-gray-100 p-3">
- <FileX2 className="h-6 w-6 text-gray-600" />
+ <div className="flex flex-col items-center justify-center rounded-md border border-neutral-200 bg-white py-12">
+ <div className="rounded-full bg-neutral-100 p-3">
+ <FileX2 className="h-6 w-6 text-neutral-600" />
</div>
- <h1 className="my-3 text-xl font-semibold text-gray-700">
+ <h1 className="my-3 text-xl font-semibold text-neutral-700">
Link Not Found
</h1>
- <p className="z-10 max-w-sm text-center text-sm text-gray-600">
+ <p className="z-10 max-w-sm text-center text-sm text-neutral-600">
Bummer! The link you are looking for does not exist. You either typed in
the wrong URL or don't have access to this link.
</p>
diff --git a/apps/web/ui/links/link-sort.tsx b/apps/web/ui/links/link-sort.tsx
index 7e6a7f3b35..36cad30d7a 100644
--- a/apps/web/ui/links/link-sort.tsx
+++ b/apps/web/ui/links/link-sort.tsx
@@ -30,7 +30,7 @@ export default function LinkSort() {
});
setOpenPopover(false);
}}
- className="flex w-full items-center justify-between space-x-2 rounded-md px-1 py-2 hover:bg-gray-100 active:bg-gray-200"
+ className="flex w-full items-center justify-between space-x-2 rounded-md px-1 py-2 hover:bg-neutral-100 active:bg-neutral-200"
>
<IconMenu
text={display}
@@ -50,15 +50,15 @@ export default function LinkSort() {
onClick={() => setOpenPopover(!openPopover)}
className={cn(
"group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all",
- "border-gray-200 bg-white text-gray-900 placeholder-gray-400",
- "focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
+ "border-neutral-200 bg-white text-neutral-900 placeholder-neutral-400",
+ "focus-visible:border-neutral-500 data-[state=open]:border-neutral-500 data-[state=open]:ring-4 data-[state=open]:ring-neutral-200",
)}
>
<SortDesc className="h-4 w-4" />
- <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900">
+ <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-neutral-900">
{selectedSort.display || "Sort by"}
</span>
- <ChevronDown className="h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180" />
+ <ChevronDown className="h-4 w-4 flex-shrink-0 text-neutral-400 transition-transform duration-75 group-data-[state=open]:rotate-180" />
</button>
</Popover>
);
diff --git a/apps/web/ui/links/link-title-column.tsx b/apps/web/ui/links/link-title-column.tsx
index 1047f9f2eb..462a29eb7f 100644
--- a/apps/web/ui/links/link-title-column.tsx
+++ b/apps/web/ui/links/link-title-column.tsx
@@ -74,14 +74,14 @@ export function LinkTitleColumn({ link }: { link: ResponseLink }) {
)}
>
{/* Link logo background circle */}
- <div className="absolute inset-0 shrink-0 rounded-full border border-gray-200 opacity-0 transition-opacity group-data-[variant=loose]/card-list:sm:opacity-100">
- <div className="h-full w-full rounded-full border border-white bg-gradient-to-t from-gray-100" />
+ <div className="absolute inset-0 shrink-0 rounded-full border border-neutral-200 opacity-0 transition-opacity group-data-[variant=loose]/card-list:sm:opacity-100">
+ <div className="h-full w-full rounded-full border border-white bg-gradient-to-t from-neutral-100" />
</div>
<div className="relative pr-0.5 transition-[padding] group-data-[variant=loose]/card-list:sm:p-2">
{link.archived ? (
<Tooltip content="Archived">
<div>
- <BoxArchive className="size-4 shrink-0 p-0.5 text-gray-600 transition-[width,height] sm:h-6 sm:w-6 group-data-[variant=loose]/card-list:sm:h-5 group-data-[variant=loose]/card-list:sm:w-5" />
+ <BoxArchive className="size-4 shrink-0 p-0.5 text-neutral-600 transition-[width,height] sm:h-6 sm:w-6 group-data-[variant=loose]/card-list:sm:h-5 group-data-[variant=loose]/card-list:sm:w-5" />
</div>
</Tooltip>
) : (
@@ -97,13 +97,13 @@ export function LinkTitleColumn({ link }: { link: ResponseLink }) {
</div>
<div className="h-[24px] min-w-0 overflow-hidden transition-[height] group-data-[variant=loose]/card-list:h-[46px]">
<div className="flex items-center gap-2">
- <div className="min-w-0 shrink grow-0 text-gray-950">
+ <div className="min-w-0 shrink grow-0 text-neutral-950">
<div className="flex items-center gap-2">
{displayProperties.includes("title") && link.title ? (
<span
className={cn(
- "truncate font-semibold leading-6 text-gray-800",
- link.archived && "text-gray-600",
+ "truncate font-semibold leading-6 text-neutral-800",
+ link.archived && "text-neutral-600",
)}
>
{link.title}
@@ -116,8 +116,8 @@ export function LinkTitleColumn({ link }: { link: ResponseLink }) {
rel="noopener noreferrer"
title={linkConstructor({ domain, key, pretty: true })}
className={cn(
- "truncate font-semibold leading-6 text-gray-800 transition-colors hover:text-black",
- link.archived && "text-gray-600",
+ "truncate font-semibold leading-6 text-neutral-800 transition-colors hover:text-black",
+ link.archived && "text-neutral-600",
)}
>
{linkConstructor({ domain, key, pretty: true })}
@@ -170,7 +170,7 @@ function UnverifiedTooltip({
/>
}
>
- <p className="cursor-default truncate font-semibold leading-6 text-gray-500 line-through">
+ <p className="cursor-default truncate font-semibold leading-6 text-neutral-500 line-through">
{linkConstructor({ domain, key: _key, pretty: true })}
</p>
</Tooltip>
@@ -198,7 +198,7 @@ function SettingsBadge({ link }: { link: ResponseLink }) {
<HoverCard.Content
side="bottom"
sideOffset={8}
- className="animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm"
+ className="animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-neutral-200 bg-white shadow-sm"
>
<div className="flex w-[340px] flex-col p-3 text-sm">
{settings.map(({ label, icon: Icon }) => (
@@ -209,11 +209,11 @@ function SettingsBadge({ link }: { link: ResponseLink }) {
setOpen(false);
setShowLinkBuilder(true);
}}
- className="flex items-center justify-between gap-4 rounded-lg p-3 transition-colors hover:bg-gray-100"
+ className="flex items-center justify-between gap-4 rounded-lg p-3 transition-colors hover:bg-neutral-100"
>
<div className="flex items-center gap-3">
- <Icon className="size-4 text-gray-600" />
- <span className="text-gray-950">{label}</span>
+ <Icon className="size-4 text-neutral-600" />
+ <span className="text-neutral-950">{label}</span>
</div>
<Switch checked />
</button>
@@ -222,7 +222,7 @@ function SettingsBadge({ link }: { link: ResponseLink }) {
</HoverCard.Content>
</HoverCard.Portal>
<HoverCard.Trigger asChild>
- <div className="rounded-full p-1.5 hover:bg-gray-100">
+ <div className="rounded-full p-1.5 hover:bg-neutral-100">
<Bolt className="size-3.5" />
</div>
</HoverCard.Trigger>
@@ -252,9 +252,9 @@ const Details = memo(
<div className="flex min-w-0 items-center gap-1">
{displayProperties.includes("url") &&
(compact ? (
- <ArrowRight className="mr-1 h-3 w-3 shrink-0 text-gray-400" />
+ <ArrowRight className="mr-1 h-3 w-3 shrink-0 text-neutral-400" />
) : (
- <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-gray-400" />
+ <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-neutral-400" />
))}
{displayProperties.includes("url") ? (
url ? (
@@ -263,15 +263,19 @@ const Details = memo(
target="_blank"
rel="noopener noreferrer"
title={url}
- className="truncate text-gray-500 transition-colors hover:text-gray-700 hover:underline hover:underline-offset-2"
+ className="truncate text-neutral-500 transition-colors hover:text-neutral-700 hover:underline hover:underline-offset-2"
>
{getPrettyUrl(url)}
</a>
) : (
- <span className="truncate text-gray-400">No URL configured</span>
+ <span className="truncate text-neutral-400">
+ No URL configured
+ </span>
)
) : (
- <span className="truncate text-gray-500">{link.description}</span>
+ <span className="truncate text-neutral-500">
+ {link.description}
+ </span>
)}
</div>
<div
@@ -289,7 +293,7 @@ const Details = memo(
)}
>
<Tooltip content={formatDateTime(createdAt)} delayDuration={150}>
- <span className="text-gray-400">{timeAgo(createdAt)}</span>
+ <span className="text-neutral-400">{timeAgo(createdAt)}</span>
</Tooltip>
</div>
</div>
@@ -307,7 +311,7 @@ function UserAvatar({ link }: { link: ResponseLink }) {
<div className="w-full p-3">
<Avatar user={user} className="h-8 w-8" />
<div className="mt-2 flex items-center gap-1.5">
- <p className="text-sm font-semibold text-gray-700">
+ <p className="text-sm font-semibold text-neutral-700">
{user?.name || user?.email || "Anonymous User"}
</p>
{!slug && // this is only shown in admin mode (where there's no slug)
@@ -319,7 +323,7 @@ function UserAvatar({ link }: { link: ResponseLink }) {
/>
)}
</div>
- <div className="flex flex-col gap-1 text-xs text-gray-500">
+ <div className="flex flex-col gap-1 text-xs text-neutral-500">
{user?.name && user.email && <p>{user.email}</p>}
</div>
</div>
diff --git a/apps/web/ui/links/links-container.tsx b/apps/web/ui/links/links-container.tsx
index b0887a1f27..712bc59a13 100644
--- a/apps/web/ui/links/links-container.tsx
+++ b/apps/web/ui/links/links-container.tsx
@@ -121,7 +121,7 @@ function LinksList({
<>
<Hyperlink className="size-4 text-neutral-700" />
<div className="h-2.5 w-24 min-w-0 rounded-sm bg-neutral-200" />
- <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-gray-500">
+ <div className="xs:flex hidden grow items-center justify-end gap-1.5 text-neutral-500">
<CursorRays className="size-3.5" />
</div>
</>
@@ -147,7 +147,7 @@ function LinksList({
"max-[1330px]:left-0 max-[1330px]:translate-x-0",
)}
>
- <div className="rounded-xl border border-gray-200 bg-white px-4 py-3.5 [filter:drop-shadow(0_5px_8px_#222A351d)]">
+ <div className="rounded-xl border border-neutral-200 bg-white px-4 py-3.5 [filter:drop-shadow(0_5px_8px_#222A351d)]">
<PaginationControls
pagination={pagination}
setPagination={setPagination}
diff --git a/apps/web/ui/links/short-link-input.tsx b/apps/web/ui/links/short-link-input.tsx
index 8b1f8b0d77..47d31f0c48 100644
--- a/apps/web/ui/links/short-link-input.tsx
+++ b/apps/web/ui/links/short-link-input.tsx
@@ -204,13 +204,13 @@ export const ShortLinkInput = forwardRef<HTMLInputElement, ShortLinkInputProps>(
<div className="flex items-center justify-between">
<label
htmlFor={inputId}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Short Link
</label>
{lockKey ? (
<button
- className="flex h-6 items-center space-x-2 text-sm text-gray-500 transition-all duration-75 hover:text-black active:scale-95"
+ className="flex h-6 items-center space-x-2 text-sm text-neutral-500 transition-all duration-75 hover:text-black active:scale-95"
type="button"
onClick={() => {
window.confirm(
@@ -291,14 +291,14 @@ export const ShortLinkInput = forwardRef<HTMLInputElement, ShortLinkInputProps>(
autoComplete="off"
autoCapitalize="none"
className={cn(
- "block w-full rounded-r-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-r-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
"z-0 focus:z-[1]",
{
"border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500":
error,
"border-amber-300 pr-10 text-amber-900 placeholder-amber-300 focus:border-amber-500 focus:ring-amber-500":
shortLink.length > 25,
- "cursor-not-allowed border border-gray-300 bg-gray-100 text-gray-500":
+ "cursor-not-allowed border border-neutral-300 bg-neutral-100 text-neutral-500":
lockKey,
},
)}
@@ -320,7 +320,7 @@ export const ShortLinkInput = forwardRef<HTMLInputElement, ShortLinkInputProps>(
<div className="flex max-w-xs items-start space-x-2 bg-white p-4">
<TriangleAlert className="mt-0.5 h-4 w-4 flex-none text-amber-500" />
<div>
- <p className="text-sm text-gray-700">
+ <p className="text-sm text-neutral-700">
Short links longer than 25 characters will show up
differently on some platforms.
</p>
@@ -427,7 +427,7 @@ function DefaultDomainPrompt({
return (
<button
- className="flex items-center gap-1 p-2 text-xs text-gray-500 transition-all duration-75 hover:text-gray-700 active:scale-[0.98]"
+ className="flex items-center gap-1 p-2 text-xs text-neutral-500 transition-all duration-75 hover:text-neutral-700 active:scale-[0.98]"
onClick={() => onChange(domainSlug)}
type="button"
>
@@ -504,15 +504,15 @@ function DomainCombobox({
options={options}
caret={true}
placeholder={
- <div className="h-4 w-3/4 animate-pulse rounded bg-gray-200" />
+ <div className="h-4 w-3/4 animate-pulse rounded bg-neutral-200" />
}
searchPlaceholder="Search domains..."
shortcutHint="D"
buttonProps={{
className: cn(
"w-32 sm:w-40 h-full rounded-r-none border-r-transparent justify-start px-2.5",
- "data-[state=open]:ring-1 data-[state=open]:ring-gray-500 data-[state=open]:border-gray-500",
- "focus:ring-1 focus:ring-gray-500 focus:border-gray-500 transition-none",
+ "data-[state=open]:ring-1 data-[state=open]:ring-neutral-500 data-[state=open]:border-neutral-500",
+ "focus:ring-1 focus:ring-neutral-500 focus:border-neutral-500 transition-none",
),
}}
optionClassName="sm:max-w-[225px]"
diff --git a/apps/web/ui/modals/accept-invite-modal.tsx b/apps/web/ui/modals/accept-invite-modal.tsx
index 3bc0e83530..8f24f56c42 100644
--- a/apps/web/ui/modals/accept-invite-modal.tsx
+++ b/apps/web/ui/modals/accept-invite-modal.tsx
@@ -33,10 +33,10 @@ function AcceptInviteModal({
>
{error?.status === 409 ? (
<>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Workspace Invitation</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
You've been invited to join and collaborate on the{" "}
<span className="font-mono text-purple-600">
{slug || "......"}
@@ -44,7 +44,7 @@ function AcceptInviteModal({
workspace on {process.env.NEXT_PUBLIC_APP_NAME}
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
onClick={() => {
setAccepting(true);
@@ -74,16 +74,16 @@ function AcceptInviteModal({
</>
) : (
<>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">
Workspace Invitation Expired
</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This invite has expired or is no longer valid.
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
text="Back to dashboard"
onClick={() => {
diff --git a/apps/web/ui/modals/add-edit-tag-modal.tsx b/apps/web/ui/modals/add-edit-tag-modal.tsx
index 1c64269f10..69b390cdce 100644
--- a/apps/web/ui/modals/add-edit-tag-modal.tsx
+++ b/apps/web/ui/modals/add-edit-tag-modal.tsx
@@ -80,19 +80,19 @@ function AddEditTagModal({
showModal={showAddEditTagModal}
setShowModal={setShowAddEditTagModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<div className="flex flex-col space-y-1 text-center">
<h3 className="text-lg font-medium">
{props ? "Edit" : "Create"} tag
</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Use tags to organize your links.{" "}
<a
href="https://dub.co/help/article/how-to-use-tags#what-is-a-tag"
target="_blank"
rel="noopener noreferrer"
- className="underline underline-offset-4 hover:text-gray-800"
+ className="underline underline-offset-4 hover:text-neutral-800"
>
Learn more
</a>
@@ -132,11 +132,13 @@ function AddEditTagModal({
setSaving(false);
});
}}
- className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:rounded-b-2xl sm:px-16"
+ className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:rounded-b-2xl sm:px-16"
>
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <p className="block text-sm font-medium text-gray-700">Tag Name</p>
+ <p className="block text-sm font-medium text-neutral-700">
+ Tag Name
+ </p>
</label>
<div className="mt-2 flex rounded-md shadow-sm">
<input
@@ -146,7 +148,7 @@ function AddEditTagModal({
required
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="New Tag"
value={name}
onChange={(e) => {
@@ -158,7 +160,9 @@ function AddEditTagModal({
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <p className="block text-sm font-medium text-gray-700">Tag Color</p>
+ <p className="block text-sm font-medium text-neutral-700">
+ Tag Color
+ </p>
<InfoTooltip content={`A color to make your tag stand out.`} />
</label>
<RadioGroup
diff --git a/apps/web/ui/modals/add-edit-token-modal.tsx b/apps/web/ui/modals/add-edit-token-modal.tsx
index 08e68fcbe2..2f9ad2a7f7 100644
--- a/apps/web/ui/modals/add-edit-token-modal.tsx
+++ b/apps/web/ui/modals/add-edit-token-modal.tsx
@@ -160,12 +160,12 @@ function AddEditTokenModal({
>
<div>
<label htmlFor="name">
- <h2 className="text-sm font-medium text-gray-900">Name</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Name</h2>
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
id="name"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
required
value={name}
onChange={(e) => setData({ ...data, name: e.target.value })}
@@ -178,7 +178,7 @@ function AddEditTokenModal({
{/* Can't change the type of the token */}
{!token && (
<div>
- <h2 className="text-sm font-medium text-gray-900">Type</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Type</h2>
<RadioGroup
className="mt-2 flex"
defaultValue="user"
@@ -187,13 +187,13 @@ function AddEditTokenModal({
setData({ ...data, isMachine: value === "machine" })
}
>
- <div className="flex w-1/2 items-center space-x-2 rounded-md border border-gray-300 bg-white transition-all hover:bg-gray-50 active:bg-gray-100">
+ <div className="flex w-1/2 items-center space-x-2 rounded-md border border-neutral-300 bg-white transition-all hover:bg-neutral-50 active:bg-neutral-100">
<RadioGroupItem value="user" id="user" className="ml-3" />
<Label
htmlFor="user"
className="flex flex-1 cursor-pointer items-center justify-between space-x-1 p-3 pl-0"
>
- <p className="text-gray-600">You</p>
+ <p className="text-neutral-600">You</p>
<InfoTooltip
content={
<SimpleTooltipContent
@@ -207,7 +207,7 @@ function AddEditTokenModal({
</div>
<div
className={cn(
- "flex w-1/2 items-center space-x-2 rounded-md border border-gray-300 bg-white transition-all hover:bg-gray-50 active:bg-gray-100",
+ "flex w-1/2 items-center space-x-2 rounded-md border border-neutral-300 bg-white transition-all hover:bg-neutral-50 active:bg-neutral-100",
{
"cursor-not-allowed opacity-75": !isOwner,
},
@@ -228,7 +228,7 @@ function AddEditTokenModal({
},
)}
>
- <p className="text-gray-600">Machine</p>
+ <p className="text-neutral-600">Machine</p>
<InfoTooltip
content={
<SimpleTooltipContent
@@ -249,7 +249,9 @@ function AddEditTokenModal({
)}
<div className="flex flex-col gap-2">
- <h2 className="text-sm font-medium text-gray-900">Permissions</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Permissions
+ </h2>
<ToggleGroup
options={scopePresets}
diff --git a/apps/web/ui/modals/add-edit-utm-template.modal.tsx b/apps/web/ui/modals/add-edit-utm-template.modal.tsx
index 8c043d5313..3084bfa43c 100644
--- a/apps/web/ui/modals/add-edit-utm-template.modal.tsx
+++ b/apps/web/ui/modals/add-edit-utm-template.modal.tsx
@@ -113,7 +113,7 @@ function AddEditUtmTemplateModal({
</div>
<div className="mt-6">
<label htmlFor="name">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
Template Name
</span>
<div className="mt-2 flex rounded-md shadow-sm">
@@ -121,7 +121,7 @@ function AddEditUtmTemplateModal({
type="text"
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="New Template"
{...register("name", { required: true })}
/>
@@ -130,7 +130,7 @@ function AddEditUtmTemplateModal({
</div>
<div className="mt-6">
- <span className="mb-2 block text-sm font-medium text-gray-700">
+ <span className="mb-2 block text-sm font-medium text-neutral-700">
Parameters
</span>
<UTMBuilder
diff --git a/apps/web/ui/modals/add-workspace-modal.tsx b/apps/web/ui/modals/add-workspace-modal.tsx
index 9d20fffe04..8f88823b7a 100644
--- a/apps/web/ui/modals/add-workspace-modal.tsx
+++ b/apps/web/ui/modals/add-workspace-modal.tsx
@@ -37,20 +37,20 @@ function AddWorkspaceModalHelper({
}
}}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Create a new workspace</h3>
<a
href="https://dub.co/help/article/what-is-a-workspace"
target="_blank"
- className="-translate-y-2 text-center text-xs text-gray-500 underline underline-offset-4 hover:text-gray-800"
+ className="-translate-y-2 text-center text-xs text-neutral-500 underline underline-offset-4 hover:text-neutral-800"
>
What is a workspace?
</a>
</div>
<CreateWorkspaceForm
- className="bg-gray-50 px-4 py-8 sm:px-16"
+ className="bg-neutral-50 px-4 py-8 sm:px-16"
onSuccess={({ slug }) => {
if (oauthFlow) {
router.refresh();
diff --git a/apps/web/ui/modals/archive-domain-modal.tsx b/apps/web/ui/modals/archive-domain-modal.tsx
index 2132647213..52b7fcab3b 100644
--- a/apps/web/ui/modals/archive-domain-modal.tsx
+++ b/apps/web/ui/modals/archive-domain-modal.tsx
@@ -96,26 +96,26 @@ function ArchiveDomainModal({
showModal={showArchiveDomainModal}
setShowModal={setShowArchiveDomainModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={domain} />
<h3 className="text-lg font-medium">
{props.archived ? "Unarchive" : "Archive"} {domain}
</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
{props.archived
? "By unarchiving this domain, it will show up in the link builder. "
: "Archiving a domain will hide it from the link builder. "}
<a
href="https://dub.co/help/article/archiving-domains"
target="_blank"
- className="text-sm text-gray-500 underline"
+ className="text-sm text-neutral-500 underline"
>
Learn more
</a>
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
onClick={handleArchiveRequest}
autoFocus
diff --git a/apps/web/ui/modals/archive-link-modal.tsx b/apps/web/ui/modals/archive-link-modal.tsx
index 75f613c0d7..00b1f88a8f 100644
--- a/apps/web/ui/modals/archive-link-modal.tsx
+++ b/apps/web/ui/modals/archive-link-modal.tsx
@@ -115,19 +115,19 @@ function ArchiveLinkModalInner({
return (
<>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={apexDomain} />
<h3 className="text-lg font-medium">
{props.archived ? "Unarchive" : "Archive"} {shortlink}
</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
{props.archived
? "By unarchiving this link, it will show up on your main dashboard again."
: "Archived links will still work - they just won't show up on your main dashboard."}
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
onClick={handleArchiveRequest}
autoFocus
diff --git a/apps/web/ui/modals/delete-account-modal.tsx b/apps/web/ui/modals/delete-account-modal.tsx
index a2370b4524..d8e74e8580 100644
--- a/apps/web/ui/modals/delete-account-modal.tsx
+++ b/apps/web/ui/modals/delete-account-modal.tsx
@@ -51,10 +51,10 @@ function DeleteAccountModal({
showModal={showDeleteAccountModal}
setShowModal={setShowDeleteAccountModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Avatar user={session?.user} />
<h3 className="text-lg font-medium">Delete Account</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Warning: This will permanently delete your account, all your
workspaces, and all your short links.
</p>
@@ -69,10 +69,13 @@ function DeleteAccountModal({
error: (err) => err,
});
}}
- className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type{" "}
<span className="font-semibold text-black">
confirm delete account
@@ -88,7 +91,7 @@ function DeleteAccountModal({
required
autoFocus={false}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
</div>
diff --git a/apps/web/ui/modals/delete-domain-modal.tsx b/apps/web/ui/modals/delete-domain-modal.tsx
index ace31a696a..d350669dd3 100644
--- a/apps/web/ui/modals/delete-domain-modal.tsx
+++ b/apps/web/ui/modals/delete-domain-modal.tsx
@@ -31,10 +31,10 @@ function DeleteDomainModal({
showModal={showDeleteDomainModal}
setShowModal={setShowDeleteDomainModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={domain} />
<h3 className="text-lg font-medium">Delete {domain}</h3>
- <div className="space-y-2 text-sm text-gray-500">
+ <div className="space-y-2 text-sm text-neutral-500">
<p>
Deleting this domain will delete all associated links as well as
their anaytics, permanently.
@@ -43,7 +43,7 @@ function DeleteDomainModal({
<p>The domain will also be provisioned back to Dub.</p>
)}
<p>
- <strong className="font-semibold text-gray-700">
+ <strong className="font-semibold text-neutral-700">
This action can't be undone
</strong>{" "}
– proceed with caution.
@@ -69,10 +69,13 @@ function DeleteDomainModal({
setDeleting(false);
});
}}
- className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-3 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type{" "}
<span className="font-semibold">confirm delete {domain}</span> below
</label>
@@ -85,7 +88,7 @@ function DeleteDomainModal({
required
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-300 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
</div>
diff --git a/apps/web/ui/modals/delete-folder-modal.tsx b/apps/web/ui/modals/delete-folder-modal.tsx
index 83fdfa3bdd..a1658228d8 100644
--- a/apps/web/ui/modals/delete-folder-modal.tsx
+++ b/apps/web/ui/modals/delete-folder-modal.tsx
@@ -52,26 +52,26 @@ const DeleteFolderModal = ({
return (
<Modal showModal={showModal} setShowModal={setShowModal}>
- <div className="space-y-2 border-b border-gray-200 px-4 py-4 sm:px-6">
+ <div className="space-y-2 border-b border-neutral-200 px-4 py-4 sm:px-6">
<h3 className="text-lg font-medium">Delete {folder.name}</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
All links within this folder will return to the main folder and will
not be deleted.{" "}
- <strong className="font-semibold text-gray-700">
+ <strong className="font-semibold text-neutral-700">
This action cannot be undone
</strong>{" "}
- proceed with caution.
</p>
</div>
- <div className="bg-gray-50">
+ <div className="bg-neutral-50">
<form onSubmit={onSubmit}>
<div className="flex flex-col gap-y-6 px-4 text-left sm:px-6">
<div className="mt-6">
<div className="flex items-center gap-2">
- <p className="block text-sm text-gray-500">
+ <p className="block text-sm text-neutral-500">
To verify, type{" "}
- <span className="font-medium text-gray-700">
+ <span className="font-medium text-neutral-700">
{folder.name}
</span>{" "}
below
@@ -80,12 +80,12 @@ const DeleteFolderModal = ({
<div className="mt-2">
<div className="-m-1 rounded-[0.625rem] p-1">
- <div className="flex rounded-md border border-gray-300 bg-white">
+ <div className="flex rounded-md border border-neutral-300 bg-white">
<input
type="text"
required
autoComplete="off"
- className="block w-full rounded-md border-0 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"
+ className="block w-full rounded-md border-0 text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-sm"
aria-invalid="true"
autoFocus={!isMobile}
pattern={folder.name}
@@ -96,7 +96,7 @@ const DeleteFolderModal = ({
</div>
</div>
- <div className="mt-8 flex justify-end gap-2 border-t border-gray-200 px-4 py-4 sm:px-6">
+ <div className="mt-8 flex justify-end gap-2 border-t border-neutral-200 px-4 py-4 sm:px-6">
<Button
type="button"
variant="secondary"
diff --git a/apps/web/ui/modals/delete-link-modal.tsx b/apps/web/ui/modals/delete-link-modal.tsx
index 656eb0a4ac..2913c0b5ee 100644
--- a/apps/web/ui/modals/delete-link-modal.tsx
+++ b/apps/web/ui/modals/delete-link-modal.tsx
@@ -51,10 +51,10 @@ function DeleteLinkModalInner({
return (
<>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={apexDomain} />
<h3 className="text-lg font-medium">Delete {shortlink}</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Warning: Deleting this link will remove all of its analytics. This
action cannot be undone – proceed with caution.
</p>
@@ -78,10 +78,13 @@ function DeleteLinkModalInner({
setDeleting(false);
});
}}
- className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-3 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type <span className="font-semibold">{shortlink}</span>{" "}
below
</label>
@@ -94,7 +97,7 @@ function DeleteLinkModalInner({
required
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
</div>
diff --git a/apps/web/ui/modals/delete-token-modal.tsx b/apps/web/ui/modals/delete-token-modal.tsx
index d4b9007ebb..62e8398a38 100644
--- a/apps/web/ui/modals/delete-token-modal.tsx
+++ b/apps/web/ui/modals/delete-token-modal.tsx
@@ -50,15 +50,15 @@ function DeleteTokenModal({
>
<div className="space-y-2 border-b border-neutral-200 px-4 py-4 sm:px-6">
<h3 className="text-lg font-medium">Delete API Key</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
This will permanently delete the API key for and revoke all access to
your account. Are you sure you want to continue?
</p>
</div>
<div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-4 sm:px-6">
- <div className="relative flex items-center gap-2 space-x-3 rounded-md border border-gray-300 bg-white px-4 py-2">
- <Key className="size-5 text-gray-500" />
+ <div className="relative flex items-center gap-2 space-x-3 rounded-md border border-neutral-300 bg-white px-4 py-2">
+ <Key className="size-5 text-neutral-500" />
<div className="flex flex-1 flex-col gap-0.5">
<h3 className="line-clamp-1 text-sm font-medium text-neutral-600">
diff --git a/apps/web/ui/modals/delete-webhook-modal.tsx b/apps/web/ui/modals/delete-webhook-modal.tsx
index e7c8a398f1..ec2ece7238 100644
--- a/apps/web/ui/modals/delete-webhook-modal.tsx
+++ b/apps/web/ui/modals/delete-webhook-modal.tsx
@@ -58,7 +58,7 @@ function DeleteWebhookModal({
showModal={showDeleteWebhookModal}
setShowModal={setShowDeleteWebhookModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -71,7 +71,7 @@ function DeleteWebhookModal({
<Logo />
)}
<h3 className="text-lg font-medium">Delete {webhook.name}</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This will stop all events from being sent to the endpoint and remove
all webhook logs
</p>
@@ -87,10 +87,13 @@ function DeleteWebhookModal({
error: (err) => err,
});
}}
- className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type{" "}
<span className="font-semibold text-black">{webhook.name}</span>{" "}
below
@@ -104,7 +107,7 @@ function DeleteWebhookModal({
required
autoFocus={false}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
</div>
diff --git a/apps/web/ui/modals/delete-workspace-modal.tsx b/apps/web/ui/modals/delete-workspace-modal.tsx
index fbee8ae389..fb50d62d6f 100644
--- a/apps/web/ui/modals/delete-workspace-modal.tsx
+++ b/apps/web/ui/modals/delete-workspace-modal.tsx
@@ -56,10 +56,10 @@ function DeleteWorkspaceModal({
showModal={showDeleteWorkspaceModal}
setShowModal={setShowDeleteWorkspaceModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Delete Workspace</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Warning: This will permanently delete your workspace, custom domain,
and all associated links and their respective stats.
</p>
@@ -74,12 +74,12 @@ function DeleteWorkspaceModal({
error: (err) => err,
});
}}
- className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
<label
htmlFor="workspace-slug"
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Enter the workspace slug{" "}
<span className="font-semibold text-black">{slug}</span> to
@@ -95,9 +95,9 @@ function DeleteWorkspaceModal({
pattern={slug}
disabled={!isOwner}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-100": !isOwner,
+ "cursor-not-allowed bg-neutral-100": !isOwner,
},
)}
/>
@@ -105,7 +105,10 @@ function DeleteWorkspaceModal({
</div>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type{" "}
<span className="font-semibold text-black">
confirm delete workspace
@@ -122,9 +125,9 @@ function DeleteWorkspaceModal({
autoComplete="off"
disabled={!isOwner}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-100": !isOwner,
+ "cursor-not-allowed bg-neutral-100": !isOwner,
},
)}
/>
diff --git a/apps/web/ui/modals/edit-role-modal.tsx b/apps/web/ui/modals/edit-role-modal.tsx
index c96ff449d0..f5f0f69e00 100644
--- a/apps/web/ui/modals/edit-role-modal.tsx
+++ b/apps/web/ui/modals/edit-role-modal.tsx
@@ -28,7 +28,7 @@ function EditRoleModal({
return (
<Modal showModal={showEditRoleModal} setShowModal={setShowEditRoleModal}>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -41,20 +41,20 @@ function EditRoleModal({
<Logo />
)}
<h3 className="text-lg font-medium">Change Teammate Role</h3>
- <p className="text-center text-sm text-gray-500">
- This will change <b className="text-gray-800">{name || email}</b>'s
- role in <b className="text-gray-800">{workspaceName}</b> to{" "}
- <b className="text-gray-800">{role}</b>. Are you sure you want to
+ <p className="text-center text-sm text-neutral-500">
+ This will change <b className="text-neutral-800">{name || email}</b>'s
+ role in <b className="text-neutral-800">{workspaceName}</b> to{" "}
+ <b className="text-neutral-800">{role}</b>. Are you sure you want to
continue?
</p>
</div>
- <div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center space-x-3 rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center space-x-3 rounded-md border border-neutral-300 bg-white p-3">
<Avatar user={user} />
<div className="flex flex-col">
<h3 className="text-sm font-medium">{name || email}</h3>
- <p className="text-xs text-gray-500">{email}</p>
+ <p className="text-xs text-neutral-500">{email}</p>
</div>
</div>
<Button
diff --git a/apps/web/ui/modals/export-links-modal.tsx b/apps/web/ui/modals/export-links-modal.tsx
index b184686a4b..c7c930b805 100644
--- a/apps/web/ui/modals/export-links-modal.tsx
+++ b/apps/web/ui/modals/export-links-modal.tsx
@@ -128,11 +128,11 @@ function ExportLinksModal({
showModal={showExportLinksModal}
setShowModal={setShowExportLinksModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<div className="flex flex-col space-y-1 text-center">
<h3 className="text-lg font-medium">Export links</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Export this workspace's links to a CSV file
</p>
</div>
@@ -140,7 +140,7 @@ function ExportLinksModal({
<form
onSubmit={onSubmit}
- className="flex flex-col gap-6 bg-gray-50 px-4 py-8 text-left sm:rounded-b-2xl sm:px-16"
+ className="flex flex-col gap-6 bg-neutral-50 px-4 py-8 text-left sm:rounded-b-2xl sm:px-16"
>
<Controller
name="dateRange"
@@ -149,7 +149,7 @@ function ExportLinksModal({
<div className="flex flex-col gap-2">
<label
htmlFor={dateRangePickerId}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Date Range
</label>
@@ -185,7 +185,7 @@ function ExportLinksModal({
/>
<div>
- <p className="block text-sm font-medium text-gray-700">Columns</p>
+ <p className="block text-sm font-medium text-neutral-700">Columns</p>
<Controller
name="columns"
control={control}
@@ -207,7 +207,7 @@ function ExportLinksModal({
/>
<label
htmlFor={`${columnCheckboxId}-${id}`}
- className="select-none text-sm font-medium text-gray-600 group-hover:text-gray-800"
+ className="select-none text-sm font-medium text-neutral-600 group-hover:text-neutral-800"
>
{label}
</label>
@@ -218,14 +218,14 @@ function ExportLinksModal({
/>
</div>
- <div className="border-t border-gray-200" />
+ <div className="border-t border-neutral-200" />
<Controller
name="useFilters"
control={control}
render={({ field }) => (
<div className="flex items-center justify-between gap-2">
- <span className="flex select-none items-center gap-2 text-sm font-medium text-gray-600 group-hover:text-gray-800">
+ <span className="flex select-none items-center gap-2 text-sm font-medium text-neutral-600 group-hover:text-neutral-800">
Apply current filters
<InfoTooltip content="Filter exported links by your currently selected filters" />
</span>
diff --git a/apps/web/ui/modals/google-oauth-modal.tsx b/apps/web/ui/modals/google-oauth-modal.tsx
index 13e1865de5..4aef2a7b59 100644
--- a/apps/web/ui/modals/google-oauth-modal.tsx
+++ b/apps/web/ui/modals/google-oauth-modal.tsx
@@ -23,10 +23,10 @@ function GoogleOauthModal({
showModal={showGoogleOauthModal}
setShowModal={setShowGoogleOauthModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Connect your Google Account</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This allows you to sign in to your {process.env.NEXT_PUBLIC_APP_NAME}{" "}
account with Google.{" "}
<a
@@ -39,7 +39,7 @@ function GoogleOauthModal({
</a>
</p>
</div>
- <div className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-3 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
text="Connect Google Account"
onClick={() => {
@@ -56,7 +56,7 @@ function GoogleOauthModal({
setShowGoogleOauthModal(false);
Cookies.set("hideGoogleOauthModal", true, { expires: 14 });
}}
- className="text-sm text-gray-400 underline underline-offset-4 transition-colors hover:text-gray-800 active:text-gray-400"
+ className="text-sm text-neutral-400 underline underline-offset-4 transition-colors hover:text-neutral-800 active:text-neutral-400"
>
Don't show this again
</button>
diff --git a/apps/web/ui/modals/import-bitly-modal.tsx b/apps/web/ui/modals/import-bitly-modal.tsx
index 4a8a0d46d6..67ecbb999a 100644
--- a/apps/web/ui/modals/import-bitly-modal.tsx
+++ b/apps/web/ui/modals/import-bitly-modal.tsx
@@ -92,28 +92,28 @@ function ImportBitlyModal({
})
}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
<div className="flex items-center space-x-3 py-4">
<img
src="https://assets.dub.co/misc/icons/bitly.svg"
alt="Bitly logo"
className="h-10 w-10 rounded-full"
/>
- <ArrowRight className="h-5 w-5 text-gray-600" />
+ <ArrowRight className="h-5 w-5 text-neutral-600" />
<Logo />
</div>
<h3 className="text-lg font-medium">Import Your Bitly Links</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Easily import all your existing Bitly links into{" "}
{process.env.NEXT_PUBLIC_APP_NAME} with just a few clicks.
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
{isLoading || !workspaceId ? (
<div className="flex flex-col items-center justify-center space-y-4 bg-none">
<LoadingSpinner />
- <p className="text-sm text-gray-500">Connecting to Bitly</p>
+ <p className="text-sm text-neutral-500">Connecting to Bitly</p>
</div>
) : groups ? (
<form
@@ -149,16 +149,16 @@ function ImportBitlyModal({
}}
className="flex flex-col space-y-4"
>
- <div className="divide-y divide-gray-200">
+ <div className="divide-y divide-neutral-200">
{groups.length > 0 ? (
groups.map(({ guid, bsds, tags }) => (
<div key={guid} className="flex flex-col space-y-2">
<div className="flex items-center justify-between">
- <p className="text-sm font-medium text-gray-700">
+ <p className="text-sm font-medium text-neutral-700">
Domains
</p>
<Tooltip content="Your Bitly group ID">
- <p className="cursor-default text-xs uppercase text-gray-400 transition-colors hover:text-gray-700">
+ <p className="cursor-default text-xs uppercase text-neutral-400 transition-colors hover:text-neutral-700">
{guid}
</p>
</Tooltip>
@@ -166,9 +166,9 @@ function ImportBitlyModal({
{bsds.map((bsd) => (
<div
key={bsd}
- className="flex items-center justify-between space-x-2 rounded-md border border-gray-200 bg-white px-4 py-2"
+ className="flex items-center justify-between space-x-2 rounded-md border border-neutral-200 bg-white px-4 py-2"
>
- <p className="font-medium text-gray-800">{bsd}</p>
+ <p className="font-medium text-neutral-800">{bsd}</p>
<Switch
fn={() => {
const selected = isSelected(bsd);
@@ -192,7 +192,7 @@ function ImportBitlyModal({
))}
{tags?.length > 0 && (
<div className="flex items-center justify-between space-x-2 rounded-md py-1 pl-2 pr-4">
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{tags.length} tags found. Import all?
</p>
<Switch
@@ -213,8 +213,8 @@ function ImportBitlyModal({
))
) : (
<div className="flex flex-col items-center justify-center gap-2 pb-2">
- <ServerOff className="h-6 w-6 text-gray-500" />
- <p className="text-center text-sm text-gray-500">
+ <ServerOff className="h-6 w-6 text-neutral-500" />
+ <p className="text-center text-sm text-neutral-500">
It looks like you don't have any Bitly groups with custom
domains (non bit.ly domains).
</p>
@@ -228,7 +228,7 @@ function ImportBitlyModal({
/>
<a
href={bitlyOAuthURL}
- className="text-center text-xs text-gray-500 underline underline-offset-4 transition-colors hover:text-gray-800"
+ className="text-center text-xs text-neutral-500 underline underline-offset-4 transition-colors hover:text-neutral-800"
>
Sign in to a different Bitly account?
</a>
@@ -243,7 +243,7 @@ function ImportBitlyModal({
<img
src="https://assets.dub.co/misc/icons/bitly.svg"
alt="Bitly logo"
- className="h-5 w-5 rounded-full border border-gray-200"
+ className="h-5 w-5 rounded-full border border-neutral-200"
/>
}
onClick={() => {
@@ -254,7 +254,7 @@ function ImportBitlyModal({
<a
href="https://dub.co/help/article/migrating-from-bitly"
target="_blank"
- className="text-center text-xs text-gray-500 underline underline-offset-4 transition-colors hover:text-gray-800"
+ className="text-center text-xs text-neutral-500 underline underline-offset-4 transition-colors hover:text-neutral-800"
>
Read the guide
</a>
diff --git a/apps/web/ui/modals/import-csv-modal/field-mapping.tsx b/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
index b41aad3f66..88a97d49a4 100644
--- a/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
+++ b/apps/web/ui/modals/import-csv-modal/field-mapping.tsx
@@ -140,8 +140,8 @@ function FieldRow({
setIsOpen(false);
}}
className={cn(
- "flex w-full items-center justify-between space-x-2 rounded-md px-1 py-2 hover:bg-gray-100 active:bg-gray-200",
- column === "None" && "text-gray-400",
+ "flex w-full items-center justify-between space-x-2 rounded-md px-1 py-2 hover:bg-neutral-100 active:bg-neutral-200",
+ column === "None" && "text-neutral-400",
)}
>
<IconMenu
@@ -167,15 +167,17 @@ function FieldRow({
disabled={isLoading}
text={
<div className="flex w-full grow items-center justify-between gap-1">
- <span className="flex-1 truncate whitespace-nowrap text-left text-gray-800">
+ <span className="flex-1 truncate whitespace-nowrap text-left text-neutral-800">
{field.value || (
- <span className="text-gray-600">Select column...</span>
+ <span className="text-neutral-600">
+ Select column...
+ </span>
)}
</span>
{isLoading ? (
<LoadingSpinner className="size-4 shrink-0" />
) : (
- <ChevronDown className="size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180" />
+ <ChevronDown className="size-4 shrink-0 text-neutral-400 transition-transform duration-75 group-data-[state=open]:rotate-180" />
)}
</div>
}
@@ -188,14 +190,16 @@ function FieldRow({
<Tooltip
content={
<div className="block px-4 py-3 text-sm">
- <span className="font-medium text-gray-950">Example values:</span>
+ <span className="font-medium text-neutral-950">
+ Example values:
+ </span>
<ul className="mt-0.5">
{examples?.map((example, idx) => (
<li
key={example + idx}
- className="block text-xs leading-tight text-gray-500"
+ className="block text-xs leading-tight text-neutral-500"
>
- <span className="translate-y-1 text-base text-gray-600">
+ <span className="translate-y-1 text-base text-neutral-600">
&bull;
</span>{" "}
{example}
@@ -206,16 +210,16 @@ function FieldRow({
}
>
<div className="flex items-center justify-end">
- <ArrowRight className="size-4 text-gray-500" />
+ <ArrowRight className="size-4 text-neutral-500" />
</div>
</Tooltip>
) : (
<div className="flex items-center justify-end">
- <ArrowRight className="size-4 text-gray-500" />
+ <ArrowRight className="size-4 text-neutral-500" />
</div>
)}
- <span className="flex h-9 items-center gap-1 rounded-md border border-gray-200 bg-gray-100 px-3">
- <span className="grow whitespace-nowrap text-sm font-normal text-gray-700">
+ <span className="flex h-9 items-center gap-1 rounded-md border border-neutral-200 bg-neutral-100 px-3">
+ <span className="grow whitespace-nowrap text-sm font-normal text-neutral-700">
{label} {required && <span className="text-red-700">*</span>}
</span>
{field === "tags" && (
diff --git a/apps/web/ui/modals/import-csv-modal/index.tsx b/apps/web/ui/modals/import-csv-modal/index.tsx
index 04f09cbe70..dec2646090 100644
--- a/apps/web/ui/modals/import-csv-modal/index.tsx
+++ b/apps/web/ui/modals/import-csv-modal/index.tsx
@@ -143,16 +143,16 @@ function ImportCsvModal({
})
}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
<div className="flex items-center gap-x-3 py-4">
- <div className="flex size-10 items-center justify-center rounded-xl border border-gray-200 bg-gray-50">
+ <div className="flex size-10 items-center justify-center rounded-xl border border-neutral-200 bg-neutral-50">
<TableIcon className="size-5" />
</div>
- <ArrowRight className="size-5 text-gray-600" />
+ <ArrowRight className="size-5 text-neutral-600" />
<Logo className="size-10" />
</div>
<h3 className="text-lg font-medium">Import Links From a CSV File</h3>
- <p className="text-balance text-center text-sm text-gray-500">
+ <p className="text-balance text-center text-sm text-neutral-500">
Easily import all your links into {process.env.NEXT_PUBLIC_APP_NAME}{" "}
with just a few clicks.
</p>
@@ -160,9 +160,9 @@ function ImportCsvModal({
<div className="relative">
{page === "confirm-import" && (
- <div className="absolute inset-x-0 -top-6 mx-4 grid grid-cols-[1fr_min-content_1fr] items-center gap-x-4 gap-y-2 rounded-md border border-gray-200 bg-white p-2 text-center text-sm font-medium uppercase text-gray-600 sm:mx-12">
+ <div className="absolute inset-x-0 -top-6 mx-4 grid grid-cols-[1fr_min-content_1fr] items-center gap-x-4 gap-y-2 rounded-md border border-neutral-200 bg-white p-2 text-center text-sm font-medium uppercase text-neutral-600 sm:mx-12">
<p>CSV data column</p>
- <ArrowRight className="size-4 text-gray-500" />
+ <ArrowRight className="size-4 text-neutral-500" />
<p>Dub data field</p>
</div>
)}
@@ -179,7 +179,7 @@ function ImportCsvModal({
setValue,
}}
>
- <div className="flex flex-col gap-y-6 bg-gray-50 px-4 py-8 text-left sm:px-12">
+ <div className="flex flex-col gap-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-12">
<form
onSubmit={handleSubmit(async (data) => {
const loadingId = toast.loading(
@@ -257,7 +257,7 @@ function ImportCsvModal({
/>
<button
type="button"
- className="-mt-1 text-center text-xs text-gray-600 underline underline-offset-2 transition-colors hover:text-gray-800"
+ className="-mt-1 text-center text-xs text-neutral-600 underline underline-offset-2 transition-colors hover:text-neutral-800"
onClick={() => {
setPageNumber(0);
reset();
diff --git a/apps/web/ui/modals/import-csv-modal/select-file.tsx b/apps/web/ui/modals/import-csv-modal/select-file.tsx
index 59bb76e71d..a37dcfb32f 100644
--- a/apps/web/ui/modals/import-csv-modal/select-file.tsx
+++ b/apps/web/ui/modals/import-csv-modal/select-file.tsx
@@ -75,7 +75,7 @@ export function SelectFile() {
{error ? (
<p className="text-center text-sm text-red-600">{error}</p>
) : fileColumns ? (
- <p className="text-sm text-gray-600">
+ <p className="text-sm text-neutral-600">
Columns found: {listColumns(fileColumns)}
</p>
) : file ? (
diff --git a/apps/web/ui/modals/import-rebrandly-modal.tsx b/apps/web/ui/modals/import-rebrandly-modal.tsx
index 356319fd1b..cf42b44f11 100644
--- a/apps/web/ui/modals/import-rebrandly-modal.tsx
+++ b/apps/web/ui/modals/import-rebrandly-modal.tsx
@@ -96,28 +96,28 @@ function ImportRebrandlyModal({
})
}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
<div className="flex items-center space-x-3 py-4">
<img
src="https://assets.dub.co/misc/icons/rebrandly.svg"
alt="Rebrandly logo"
className="h-12 w-12"
/>
- <ArrowRight className="h-5 w-5 text-gray-600" />
+ <ArrowRight className="h-5 w-5 text-neutral-600" />
<Logo />
</div>
<h3 className="text-lg font-medium">Import Your Rebrandly Links</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Easily import all your existing Rebrandly links into{" "}
{process.env.NEXT_PUBLIC_APP_NAME} with just a few clicks.
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
{isLoading || !workspaceId ? (
<div className="flex flex-col items-center justify-center space-y-4 bg-none">
<LoadingSpinner />
- <p className="text-sm text-gray-500">Connecting to Rebrandly</p>
+ <p className="text-sm text-neutral-500">Connecting to Rebrandly</p>
</div>
) : domains ? (
<form
@@ -154,13 +154,13 @@ function ImportRebrandlyModal({
className="flex flex-col space-y-4"
>
<div className="flex flex-col space-y-2">
- <p className="text-sm font-medium text-gray-700">Domains</p>
+ <p className="text-sm font-medium text-neutral-700">Domains</p>
{domains.map(({ id, domain, links }) => (
- <div className="flex items-center justify-between space-x-2 rounded-md border border-gray-200 bg-white px-4 py-2">
+ <div className="flex items-center justify-between space-x-2 rounded-md border border-neutral-200 bg-white px-4 py-2">
<div>
- <p className="font-medium text-gray-800">{domain}</p>
+ <p className="font-medium text-neutral-800">{domain}</p>
{links > 0 && (
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{nFormatter(links)} links found
</p>
)}
@@ -189,7 +189,7 @@ function ImportRebrandlyModal({
))}
{tagsCount && (
<div className="flex items-center justify-between space-x-2 rounded-md py-1 pl-2 pr-4">
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{tagsCount} tags found. Import all?
</p>
<Switch
@@ -233,7 +233,7 @@ function ImportRebrandlyModal({
>
<div>
<div className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Rebrandly API Key
</h2>
<InfoTooltip
@@ -254,7 +254,7 @@ function ImportRebrandlyModal({
placeholder="93467061146a64622df83c12bcc0bffb"
autoComplete="off"
required
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
<Button text="Confirm API Key" loading={submitting} />
diff --git a/apps/web/ui/modals/import-short-modal.tsx b/apps/web/ui/modals/import-short-modal.tsx
index be0e1b91dd..0fdbf7e72c 100644
--- a/apps/web/ui/modals/import-short-modal.tsx
+++ b/apps/web/ui/modals/import-short-modal.tsx
@@ -91,28 +91,28 @@ function ImportShortModal({
})
}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
<div className="flex items-center space-x-3 py-4">
<img
src="https://assets.dub.co/misc/icons/short.svg"
alt="Short.io logo"
className="h-10 w-10"
/>
- <ArrowRight className="h-5 w-5 text-gray-600" />
+ <ArrowRight className="h-5 w-5 text-neutral-600" />
<Logo />
</div>
<h3 className="text-lg font-medium">Import Your Short.io Links</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Easily import all your existing Short.io links into{" "}
{process.env.NEXT_PUBLIC_APP_NAME} with just a few clicks.
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
{isLoading || !workspaceId ? (
<div className="flex flex-col items-center justify-center space-y-4 bg-none">
<LoadingSpinner />
- <p className="text-sm text-gray-500">Connecting to Short.io</p>
+ <p className="text-sm text-neutral-500">Connecting to Short.io</p>
</div>
) : domains ? (
domains.length > 0 ? (
@@ -150,13 +150,13 @@ function ImportShortModal({
className="flex flex-col space-y-4"
>
<div className="flex flex-col space-y-2">
- <p className="text-sm font-medium text-gray-700">Domains</p>
+ <p className="text-sm font-medium text-neutral-700">Domains</p>
{domains.map(({ id, domain, links }) => (
- <div className="flex items-center justify-between space-x-2 rounded-md border border-gray-200 bg-white px-4 py-2">
+ <div className="flex items-center justify-between space-x-2 rounded-md border border-neutral-200 bg-white px-4 py-2">
<div>
- <p className="font-medium text-gray-800">{domain}</p>
+ <p className="font-medium text-neutral-800">{domain}</p>
{links > 0 && (
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{nFormatter(links)} links found
</p>
)}
@@ -184,7 +184,7 @@ function ImportShortModal({
</div>
))}
<div className="flex items-center justify-between space-x-2 rounded-md py-1 pl-2 pr-4">
- <p className="text-xs text-gray-500">Import all tags?</p>
+ <p className="text-xs text-neutral-500">Import all tags?</p>
<Switch
fn={() => setImportTags(!importTags)}
checked={importTags}
@@ -199,8 +199,8 @@ function ImportShortModal({
</form>
) : (
<div className="flex flex-col items-center justify-center gap-2">
- <ServerOff className="h-6 w-6 text-gray-500" />
- <p className="max-w-md text-center text-sm text-gray-500">
+ <ServerOff className="h-6 w-6 text-neutral-500" />
+ <p className="max-w-md text-center text-sm text-neutral-500">
We weren't able to retrieve any links from your Short.io
account.
</p>
@@ -243,7 +243,7 @@ function ImportShortModal({
>
<div>
<div className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Short.io API Key
</h2>
<InfoTooltip
@@ -264,7 +264,7 @@ function ImportShortModal({
placeholder="sk_xxxxxxxxxxxxxxxx"
autoComplete="off"
required
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
<Button text="Confirm API Key" loading={submitting} />
diff --git a/apps/web/ui/modals/invite-code-modal.tsx b/apps/web/ui/modals/invite-code-modal.tsx
index 02c7d6117b..27c9dae5fa 100644
--- a/apps/web/ui/modals/invite-code-modal.tsx
+++ b/apps/web/ui/modals/invite-code-modal.tsx
@@ -29,17 +29,17 @@ function InviteCodeModal({
showModal={showInviteCodeModal}
setShowModal={setShowInviteCodeModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Invite Link</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Allow other people to join your workspace through the link below.
</p>
</div>
- <div className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-1.5">
- <p className="scrollbar-hide w-[88%] overflow-scroll font-mono text-xs text-gray-500">
+ <div className="flex flex-col space-y-3 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center justify-between rounded-md border border-neutral-300 bg-white px-3 py-1.5">
+ <p className="scrollbar-hide w-[88%] overflow-scroll font-mono text-xs text-neutral-500">
{inviteLink}
</p>
<CopyButton value={inviteLink} className="rounded-md" />
diff --git a/apps/web/ui/modals/invite-referral-modal.tsx b/apps/web/ui/modals/invite-referral-modal.tsx
index a99a7f9f9f..71739087f3 100644
--- a/apps/web/ui/modals/invite-referral-modal.tsx
+++ b/apps/web/ui/modals/invite-referral-modal.tsx
@@ -39,10 +39,10 @@ function InviteReferralModal({
showModal={showInviteReferralModal}
setShowModal={setShowInviteReferralModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Invite via Email</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Invite a friend or colleague to use Dub with your referral link.
</p>
</div>
@@ -51,10 +51,10 @@ function InviteReferralModal({
e.preventDefault();
execute({ email, workspaceId: workspaceId! });
}}
- className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="email" className="block text-sm text-gray-700">
+ <label htmlFor="email" className="block text-sm text-neutral-700">
Email
</label>
<div className="relative mt-1 rounded-md shadow-sm">
@@ -68,10 +68,10 @@ function InviteReferralModal({
required
value={email}
onChange={(e) => setEmail(e.target.value)}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
- <p className="mt-2 text-xs text-gray-500">
+ <p className="mt-2 text-xs text-neutral-500">
Your name and email address will be shared in this invitation.
</p>
</div>
diff --git a/apps/web/ui/modals/invite-teammate-modal.tsx b/apps/web/ui/modals/invite-teammate-modal.tsx
index a441fb8b06..368a48b89f 100644
--- a/apps/web/ui/modals/invite-teammate-modal.tsx
+++ b/apps/web/ui/modals/invite-teammate-modal.tsx
@@ -41,7 +41,7 @@ function InviteTeammateModal({
setShowModal={setShowInviteTeammateModal}
className="max-h-[95dvh]"
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -54,12 +54,12 @@ function InviteTeammateModal({
<Logo />
)}
<h3 className="text-lg font-medium">Invite Teammates</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Invite teammates with{" "}
<a
href="https://dub.co/help/article/workspace-roles"
target="_blank"
- className="underline hover:text-gray-900"
+ className="underline hover:text-neutral-900"
>
different roles and permissions
</a>
@@ -73,7 +73,7 @@ function InviteTeammateModal({
) : (
<InviteTeammatesForm
onSuccess={() => setShowInviteTeammateModal(false)}
- className="bg-gray-50 px-4 py-8 sm:px-16"
+ className="bg-neutral-50 px-4 py-8 sm:px-16"
invites={invites}
/>
)}
diff --git a/apps/web/ui/modals/link-builder/advanced-modal.tsx b/apps/web/ui/modals/link-builder/advanced-modal.tsx
index 52a97e678c..48cdd0bd4e 100644
--- a/apps/web/ui/modals/link-builder/advanced-modal.tsx
+++ b/apps/web/ui/modals/link-builder/advanced-modal.tsx
@@ -80,14 +80,15 @@ function AdvancedModal({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
- Press <strong className="font-medium text-gray-950">A</strong>{" "}
- to open this quickly
+ <div className="px-2 py-1 text-xs text-neutral-700">
+ Press{" "}
+ <strong className="font-medium text-neutral-950">A</strong> to
+ open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center gap-1 rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center gap-1 rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
A
</kbd>
</Tooltip>
@@ -100,7 +101,7 @@ function AdvancedModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-external-id`}
- className="flex items-center gap-2 text-sm font-medium text-gray-700"
+ className="flex items-center gap-2 text-sm font-medium text-neutral-700"
>
External ID{" "}
<InfoTooltip
@@ -128,7 +129,7 @@ function AdvancedModal({
id={`${id}-external-id`}
type="text"
placeholder="Eg: 123456"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register("externalId")}
/>
</div>
@@ -139,7 +140,7 @@ function AdvancedModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-tenant-id`}
- className="flex items-center gap-2 text-sm font-medium text-gray-700"
+ className="flex items-center gap-2 text-sm font-medium text-neutral-700"
>
Tenant ID{" "}
<InfoTooltip content="The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant." />
@@ -151,7 +152,7 @@ function AdvancedModal({
id={`${id}-tenant-id`}
type="text"
placeholder="Eg: user_123"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register("tenantId")}
/>
</div>
@@ -163,7 +164,7 @@ function AdvancedModal({
{parentEnabled && (
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValueParent("externalId", null, { shouldDirty: true });
setShowAdvancedModal(false);
diff --git a/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx b/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx
index 11cfc8afa2..5c2d3a592d 100644
--- a/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx
+++ b/apps/web/ui/modals/link-builder/conversion-tracking-toggle.tsx
@@ -36,7 +36,7 @@ export function ConversionTrackingToggle() {
New
</div>
)}
- <span className="flex select-none items-center gap-1 text-sm font-medium text-gray-700">
+ <span className="flex select-none items-center gap-1 text-sm font-medium text-neutral-700">
Conversion Tracking
<InfoTooltip
content={
diff --git a/apps/web/ui/modals/link-builder/draft-controls.tsx b/apps/web/ui/modals/link-builder/draft-controls.tsx
index acd1bb4bcb..39e3fe8537 100644
--- a/apps/web/ui/modals/link-builder/draft-controls.tsx
+++ b/apps/web/ui/modals/link-builder/draft-controls.tsx
@@ -101,11 +101,11 @@ export const DraftControls = forwardRef<
content={
<div className="w-full min-w-36 px-1 py-1 sm:w-auto">
{drafts.length > 0 ? (
- <span className="block pb-2 pl-2.5 pt-2 text-xs font-medium text-gray-500">
+ <span className="block pb-2 pl-2.5 pt-2 text-xs font-medium text-neutral-500">
Restore drafts
</span>
) : (
- <span className="flex gap-1 px-2.5 pb-2 pt-2 text-xs text-gray-500">
+ <span className="flex gap-1 px-2.5 pb-2 pt-2 text-xs text-neutral-500">
<CircleInfo className="size-3.5" />
Your drafts will appear here
</span>
@@ -145,10 +145,10 @@ export const DraftControls = forwardRef<
type="button"
variant="outline"
className={cn(
- "animate-fade-in group h-9 text-sm transition-colors data-[state=open]:bg-gray-100",
+ "animate-fade-in group h-9 text-sm transition-colors data-[state=open]:bg-neutral-100",
isDirty && hasSaved
- ? "pl-3 pr-4 text-gray-400 hover:text-gray-600"
- : "pl-4 pr-3 text-gray-500 hover:text-gray-700",
+ ? "pl-3 pr-4 text-neutral-400 hover:text-neutral-600"
+ : "pl-4 pr-3 text-neutral-500 hover:text-neutral-700",
)}
text={
isDirty && hasSaved ? (
@@ -193,24 +193,26 @@ function DraftOption({
<li
key={draft.id}
role="button"
- className="group flex items-center justify-between gap-2 overflow-hidden rounded py-1.5 pl-2 pr-1.5 text-sm transition-colors hover:bg-gray-100 sm:gap-1"
+ className="group flex items-center justify-between gap-2 overflow-hidden rounded py-1.5 pl-2 pr-1.5 text-sm transition-colors hover:bg-neutral-100 sm:gap-1"
onClick={() => {
onSelect();
}}
>
<div className="flex min-w-0 grow items-center justify-between gap-4 sm:gap-8">
<div className="flex min-w-0 items-center gap-1.5 sm:gap-2.5">
- <RestoreDraftIcon className="size-3.5 shrink-0 text-gray-400" />
- <span className="min-w-0 max-w-40 truncate text-gray-800">
+ <RestoreDraftIcon className="size-3.5 shrink-0 text-neutral-400" />
+ <span className="min-w-0 max-w-40 truncate text-neutral-800">
{truncate(punycode(draft.link.domain), 16)}/
{draft.link.key ? (
punycode(draft.link.key)
) : (
- <span className="text-gray-400">(link)</span>
+ <span className="text-neutral-400">(link)</span>
)}
</span>
</div>
- <span className="whitespace-nowrap text-xs text-gray-500">{time}</span>
+ <span className="whitespace-nowrap text-xs text-neutral-500">
+ {time}
+ </span>
</div>
<button
type="button"
@@ -219,7 +221,7 @@ function DraftOption({
window.confirm("Are you sure you want to delete this draft?") &&
onDelete();
}}
- className="p-1 text-gray-400 transition-colors hover:text-gray-500"
+ className="p-1 text-neutral-400 transition-colors hover:text-neutral-500"
title="Delete draft"
>
<Xmark className="size-3.5" />
diff --git a/apps/web/ui/modals/link-builder/expiration-modal.tsx b/apps/web/ui/modals/link-builder/expiration-modal.tsx
index 08cec972a0..ceb69d6102 100644
--- a/apps/web/ui/modals/link-builder/expiration-modal.tsx
+++ b/apps/web/ui/modals/link-builder/expiration-modal.tsx
@@ -109,14 +109,15 @@ function ExpirationModal({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
- Press <strong className="font-medium text-gray-950">E</strong>{" "}
- to open this quickly
+ <div className="px-2 py-1 text-xs text-neutral-700">
+ Press{" "}
+ <strong className="font-medium text-neutral-950">E</strong> to
+ open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
E
</kbd>
</Tooltip>
@@ -128,12 +129,12 @@ function ExpirationModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-expiresAt`}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Date and Time
</label>
</div>
- <div className="mt-2 flex w-full items-center justify-between rounded-md border border-gray-300 bg-white shadow-sm transition-all focus-within:border-gray-800 focus-within:outline-none focus-within:ring-1 focus-within:ring-gray-500">
+ <div className="mt-2 flex w-full items-center justify-between rounded-md border border-neutral-300 bg-white shadow-sm transition-all focus-within:border-neutral-800 focus-within:outline-none focus-within:ring-1 focus-within:ring-neutral-500">
<input
ref={inputRef}
id={`${id}-expiresAt`}
@@ -163,7 +164,7 @@ function ExpirationModal({
}
}
}}
- className="flex-1 border-none bg-transparent text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0 sm:text-sm"
+ className="flex-1 border-none bg-transparent text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-0 sm:text-sm"
/>
<input
type="datetime-local"
@@ -177,7 +178,7 @@ function ExpirationModal({
inputRef.current.value = formatDateTime(expiryDate);
}
}}
- className="w-[40px] border-none bg-transparent text-gray-500 focus:outline-none focus:ring-0 sm:text-sm"
+ className="w-[40px] border-none bg-transparent text-neutral-500 focus:outline-none focus:ring-0 sm:text-sm"
/>
</div>
</div>
@@ -187,7 +188,7 @@ function ExpirationModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-expiredUrl`}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Expiration URL
</label>
@@ -210,7 +211,7 @@ function ExpirationModal({
className={`${
errors.expiredUrl
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500"
} block w-full rounded-md focus:outline-none sm:text-sm`}
{...register("expiredUrl")}
/>
@@ -220,7 +221,7 @@ function ExpirationModal({
<a
href="https://dub.co/help/article/link-expiration#setting-a-default-expiration-url-for-all-links-under-a-domain"
target="_blank"
- className="group mt-2 flex items-center text-xs text-gray-500 hover:text-gray-700"
+ className="group mt-2 flex items-center text-xs text-neutral-500 hover:text-neutral-700"
>
Set a default expiration URL for your domain
</a>
@@ -230,7 +231,7 @@ function ExpirationModal({
{Boolean(expiresAtParent) && (
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValueParent("expiresAt", null, { shouldDirty: true });
setValueParent("expiredUrl", null, { shouldDirty: true });
@@ -295,7 +296,7 @@ function ExpirationButton({
className={cn("size-4", expiresAt && "text-blue-500")}
/>
}
- className="h-9 w-fit px-2.5 font-medium text-gray-700"
+ className="h-9 w-fit px-2.5 font-medium text-neutral-700"
onClick={() => setShowExpirationModal(true)}
/>
);
diff --git a/apps/web/ui/modals/link-builder/index.tsx b/apps/web/ui/modals/link-builder/index.tsx
index a71ac104fa..1f874f48c4 100644
--- a/apps/web/ui/modals/link-builder/index.tsx
+++ b/apps/web/ui/modals/link-builder/index.tsx
@@ -378,7 +378,7 @@ function LinkBuilderInner({
}
draftControlsRef.current?.onClose();
}}
- className="group hidden rounded-full p-2 text-gray-500 transition-all duration-75 hover:bg-gray-100 focus:outline-none active:bg-gray-200 md:block"
+ className="group hidden rounded-full p-2 text-neutral-500 transition-all duration-75 hover:bg-neutral-100 focus:outline-none active:bg-neutral-200 md:block"
>
<X className="h-5 w-5" />
</button>
@@ -457,7 +457,7 @@ function LinkBuilderInner({
<div className="flex items-center gap-2">
<label
htmlFor="comments"
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Comments
</label>
@@ -479,7 +479,7 @@ function LinkBuilderInner({
id="comments"
name="comments"
minRows={3}
- className="mt-2 block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="mt-2 block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Add comments"
value={field.value ?? ""}
onChange={(e) => field.onChange(e.target.value)}
@@ -498,7 +498,7 @@ function LinkBuilderInner({
</div>
<div className="scrollbar-hide px-6 md:overflow-auto md:pl-0 md:pr-4">
<div className="relative">
- <div className="absolute inset-0 rounded-xl border border-gray-200 bg-gray-50 [mask-image:linear-gradient(to_bottom,black,transparent)]"></div>
+ <div className="absolute inset-0 rounded-xl border border-neutral-200 bg-neutral-50 [mask-image:linear-gradient(to_bottom,black,transparent)]"></div>
<div className="relative flex flex-col gap-6 p-4">
<QRCodePreview />
<LinkPreview />
@@ -506,7 +506,7 @@ function LinkBuilderInner({
</div>
</div>
</div>
- <div className="flex items-center justify-between gap-2 border-t border-gray-100 bg-gray-50 p-4">
+ <div className="flex items-center justify-between gap-2 border-t border-neutral-100 bg-neutral-50 p-4">
<div className="flex min-w-0 items-center gap-2">
<UTMButton />
<div className="flex items-center gap-2 max-sm:hidden">
diff --git a/apps/web/ui/modals/link-builder/link-preview.tsx b/apps/web/ui/modals/link-builder/link-preview.tsx
index a1584edc21..fce3373e4b 100644
--- a/apps/web/ui/modals/link-builder/link-preview.tsx
+++ b/apps/web/ui/modals/link-builder/link-preview.tsx
@@ -100,7 +100,7 @@ export function LinkPreview() {
<OGModal />
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
- <h2 className="text-sm font-medium text-gray-700">
+ <h2 className="text-sm font-medium text-neutral-700">
Custom Link Preview
</h2>
<InfoTooltip
@@ -152,10 +152,10 @@ export function LinkPreview() {
<Icon className="size-4 text-current" fill="currentColor" />
}
className={cn(
- "h-7 text-gray-800",
+ "h-7 text-neutral-800",
tab === selectedTab
- ? "border-gray-400 bg-white drop-shadow-sm"
- : "border-gray-300 bg-transparent hover:bg-white",
+ ? "border-neutral-400 bg-white drop-shadow-sm"
+ : "border-neutral-300 bg-transparent hover:bg-white",
)}
title={tabTitles[tab]}
/>
@@ -222,7 +222,7 @@ export const ImagePreview = ({
const previewImage = useMemo(() => {
if (generatingMetatags || resizing) {
return (
- <div className="flex aspect-[var(--aspect,1200/630)] w-full flex-col items-center justify-center bg-gray-100">
+ <div className="flex aspect-[var(--aspect,1200/630)] w-full flex-col items-center justify-center bg-neutral-100">
<LoadingCircle />
</div>
);
@@ -273,8 +273,8 @@ export const ImagePreview = ({
<ShimmerDots className="pointer-events-none opacity-30 [mask-image:radial-gradient(40%_80%,transparent_50%,black)]" />
)}
<div className="pointer-events-none relative flex size-full flex-col items-center justify-center gap-2">
- <NucleoPhoto className="size-5 text-gray-700" />
- <p className="max-w-32 text-center text-xs text-gray-700">
+ <NucleoPhoto className="size-5 text-neutral-700" />
+ <p className="max-w-32 text-center text-xs text-neutral-700">
Enter a link to generate a preview
</p>
</div>
@@ -304,11 +304,11 @@ function DefaultOGPreview({ title, description, children }: OGPreviewProps) {
return (
<div>
- <div className="group relative overflow-hidden rounded-md border border-gray-300">
+ <div className="group relative overflow-hidden rounded-md border border-neutral-300">
{children}
</div>
<ReactTextareaAutosize
- className="mt-4 line-clamp-2 w-full resize-none border-none p-0 text-xs font-medium text-gray-700 outline-none focus:ring-0"
+ className="mt-4 line-clamp-2 w-full resize-none border-none p-0 text-xs font-medium text-neutral-700 outline-none focus:ring-0"
value={title || "Add a title..."}
maxRows={2}
onChange={(e) => {
@@ -319,7 +319,7 @@ function DefaultOGPreview({ title, description, children }: OGPreviewProps) {
}}
/>
<ReactTextareaAutosize
- className="mt-1.5 line-clamp-2 w-full resize-none border-none p-0 text-xs text-gray-700/80 outline-none focus:ring-0"
+ className="mt-1.5 line-clamp-2 w-full resize-none border-none p-0 text-xs text-neutral-700/80 outline-none focus:ring-0"
value={description || "Add a description..."}
maxRows={2}
onChange={(e) => {
@@ -346,10 +346,10 @@ function FacebookOGPreview({
return (
<div>
- <div className="relative border border-gray-300">
+ <div className="relative border border-neutral-300">
{children}
{(hostname || title || description) && (
- <div className="grid gap-1 border-t border-gray-300 bg-[#f2f3f5] p-2">
+ <div className="grid gap-1 border-t border-neutral-300 bg-[#f2f3f5] p-2">
{hostname && (
<p className="text-xs uppercase text-[#606770]">{hostname}</p>
)}
@@ -366,7 +366,7 @@ function FacebookOGPreview({
}}
/>
<ReactTextareaAutosize
- className="mb-1 line-clamp-2 w-full resize-none rounded-md border-none bg-gray-200 bg-transparent p-0 text-xs text-[#606770] outline-none focus:ring-0"
+ className="mb-1 line-clamp-2 w-full resize-none rounded-md border-none bg-neutral-200 bg-transparent p-0 text-xs text-[#606770] outline-none focus:ring-0"
value={description || "Add a description..."}
maxRows={2}
onChange={(e) => {
@@ -420,7 +420,7 @@ function LinkedInOGPreview({ title, hostname, children }: OGPreviewProps) {
function XOGPreview({ title, hostname, children }: OGPreviewProps) {
return (
<div>
- <div className="group relative overflow-hidden rounded-2xl border border-gray-300">
+ <div className="group relative overflow-hidden rounded-2xl border border-neutral-300">
{children}
<div className="absolute bottom-2 left-0 w-full px-2">
<div className="w-fit max-w-full rounded bg-black/[0.77] px-1.5 py-px">
diff --git a/apps/web/ui/modals/link-builder/more-dropdown.tsx b/apps/web/ui/modals/link-builder/more-dropdown.tsx
index e237099f24..a3bf0d7300 100644
--- a/apps/web/ui/modals/link-builder/more-dropdown.tsx
+++ b/apps/web/ui/modals/link-builder/more-dropdown.tsx
@@ -82,12 +82,12 @@ export function MoreDropdown() {
shouldDirty: true,
});
}}
- className="h-9 w-full justify-start px-2 text-sm text-gray-700"
+ className="h-9 w-full justify-start px-2 text-sm text-neutral-700"
textWrapperClassName="grow"
text={
<div className="flex items-center justify-between gap-2">
<div className="flex items-center gap-1">
- <option.icon className="mr-1 size-4 text-gray-950" />
+ <option.icon className="mr-1 size-4 text-neutral-950" />
{option.type === "modal"
? enabled
? ""
@@ -106,7 +106,7 @@ export function MoreDropdown() {
}
/>
</div>
- <kbd className="hidden size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-800 sm:flex">
+ <kbd className="hidden size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-800 sm:flex">
{option.shortcutKey.toUpperCase()}
</kbd>
</div>
@@ -117,7 +117,7 @@ export function MoreDropdown() {
<Button
variant="outline"
- className="h-9 justify-start px-2 text-sm text-gray-700"
+ className="h-9 justify-start px-2 text-sm text-neutral-700"
textWrapperClassName="grow"
onClick={() => {
setOpenPopover(false);
@@ -128,13 +128,13 @@ export function MoreDropdown() {
<div className="flex items-center gap-1">
<Settings
className={cn(
- "mr-1 size-4 text-gray-950",
+ "mr-1 size-4 text-neutral-950",
data.externalId && "text-blue-500",
)}
/>
Advanced Settings
</div>
- <kbd className="hidden size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-800 sm:flex">
+ <kbd className="hidden size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-800 sm:flex">
A
</kbd>
</div>
diff --git a/apps/web/ui/modals/link-builder/og-modal.tsx b/apps/web/ui/modals/link-builder/og-modal.tsx
index 23bf4de8ac..c18214d2b9 100644
--- a/apps/web/ui/modals/link-builder/og-modal.tsx
+++ b/apps/web/ui/modals/link-builder/og-modal.tsx
@@ -233,15 +233,15 @@ function OGModalInner({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
+ <div className="px-2 py-1 text-xs text-neutral-700">
Press{" "}
- <strong className="font-medium text-gray-950">L</strong> to
- open this quickly
+ <strong className="font-medium text-neutral-950">L</strong>{" "}
+ to open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
L
</kbd>
</Tooltip>
@@ -251,14 +251,14 @@ function OGModalInner({
<div className="scrollbar-hide -m-1 mt-6 flex max-h-[calc(100dvh-250px)] flex-col gap-6 overflow-y-auto p-1">
<div>
<div className="flex items-center justify-between">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
Image
</span>
<div className="flex items-center gap-2">
{image && (
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValue("image", null, { shouldDirty: true });
setValue("proxy", false, { shouldDirty: true });
@@ -297,7 +297,7 @@ function OGModalInner({
content: "Choose an image from Unsplash",
}}
>
- <Unsplash className="size-3 text-gray-500" />
+ <Unsplash className="size-3 text-neutral-500" />
</ButtonTooltip>
</div>
</Popover>
@@ -336,9 +336,11 @@ function OGModalInner({
{/* Title */}
<div>
<div className="flex items-center justify-between">
- <p className="block text-sm font-medium text-gray-700">Title</p>
+ <p className="block text-sm font-medium text-neutral-700">
+ Title
+ </p>
<div className="flex items-center gap-2">
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
{title?.length || 0}/120
</p>
<ButtonTooltip
@@ -362,7 +364,7 @@ function OGModalInner({
</div>
<div className="relative mt-1 flex rounded-md shadow-sm">
{generatingMetatags && (
- <div className="absolute flex h-full w-full items-center justify-center rounded-md border border-gray-300 bg-white">
+ <div className="absolute flex h-full w-full items-center justify-center rounded-md border border-neutral-300 bg-white">
<LoadingCircle />
</div>
)}
@@ -371,7 +373,7 @@ function OGModalInner({
id="title"
minRows={2}
maxLength={120}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Add a title..."
value={title || ""}
onChange={(e) => {
@@ -388,11 +390,11 @@ function OGModalInner({
{/* Description */}
<div>
<div className="flex items-center justify-between">
- <p className="block text-sm font-medium text-gray-700">
+ <p className="block text-sm font-medium text-neutral-700">
Description
</p>
<div className="flex items-center gap-2">
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
{description?.length || 0}/240
</p>
<ButtonTooltip
@@ -418,7 +420,7 @@ function OGModalInner({
</div>
<div className="relative mt-1 flex rounded-md shadow-sm">
{generatingMetatags && (
- <div className="absolute flex h-full w-full items-center justify-center rounded-md border border-gray-300 bg-white">
+ <div className="absolute flex h-full w-full items-center justify-center rounded-md border border-neutral-300 bg-white">
<LoadingCircle />
</div>
)}
@@ -427,7 +429,7 @@ function OGModalInner({
id="description"
minRows={3}
maxLength={240}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Add a description..."
value={description || ""}
onChange={(e) => {
@@ -447,7 +449,7 @@ function OGModalInner({
<div className="mt-6 flex items-center justify-between">
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValueParent("proxy", false, { shouldDirty: true });
["title", "description", "image"].forEach(
diff --git a/apps/web/ui/modals/link-builder/options-list.tsx b/apps/web/ui/modals/link-builder/options-list.tsx
index bb6c8ee6f9..47fbb82a9a 100644
--- a/apps/web/ui/modals/link-builder/options-list.tsx
+++ b/apps/web/ui/modals/link-builder/options-list.tsx
@@ -78,13 +78,13 @@ function ToggleBadge({
icon?: ReactNode;
}) {
return (
- <span className="group flex cursor-default items-center gap-1.5 rounded-md border border-gray-200 bg-gray-50 pl-1.5 text-xs text-gray-600">
+ <span className="group flex cursor-default items-center gap-1.5 rounded-md border border-neutral-200 bg-neutral-50 pl-1.5 text-xs text-neutral-600">
{icon}
{toggle.label}
<button
type="button"
onClick={onRemove}
- className="-ml-1 p-1 text-gray-400 hover:text-gray-500"
+ className="-ml-1 p-1 text-neutral-400 hover:text-neutral-500"
>
<X className="size-3.5" />
</button>
@@ -137,8 +137,8 @@ function LinkCloakingToggleBadge({
<Tooltip
content={
data.iframeable ? (
- <div className="grid max-w-lg gap-2 text-pretty p-4 text-center text-sm text-gray-700">
- <div className="h-[250px] w-[444px] overflow-hidden rounded-lg border border-gray-200">
+ <div className="grid max-w-lg gap-2 text-pretty p-4 text-center text-sm text-neutral-700">
+ <div className="h-[250px] w-[444px] overflow-hidden rounded-lg border border-neutral-200">
<iframe
src={url}
style={{
diff --git a/apps/web/ui/modals/link-builder/password-modal.tsx b/apps/web/ui/modals/link-builder/password-modal.tsx
index 1233598ce8..ff9a334f3f 100644
--- a/apps/web/ui/modals/link-builder/password-modal.tsx
+++ b/apps/web/ui/modals/link-builder/password-modal.tsx
@@ -107,14 +107,15 @@ function PasswordModalInner({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
- Press <strong className="font-medium text-gray-950">P</strong>{" "}
- to open this quickly
+ <div className="px-2 py-1 text-xs text-neutral-700">
+ Press{" "}
+ <strong className="font-medium text-neutral-950">P</strong> to
+ open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
P
</kbd>
</Tooltip>
@@ -123,12 +124,12 @@ function PasswordModalInner({
<div className="mt-6">
<div className="flex items-center justify-between">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
Password
</span>
<div className="flex items-center gap-2">
<ButtonTooltip
- className="text-gray-500 transition-colors hover:text-gray-800"
+ className="text-neutral-500 transition-colors hover:text-neutral-800"
tooltipProps={{
content: showPassword ? "Hide password" : "Reveal password",
}}
@@ -160,7 +161,7 @@ function PasswordModalInner({
className={`${
errors.password
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500"
} block w-full rounded-md focus:outline-none sm:text-sm`}
{...rest}
ref={(e) => {
@@ -176,7 +177,7 @@ function PasswordModalInner({
{Boolean(passwordParent) && (
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValueParent("password", null, { shouldDirty: true });
["title", "description", "image"].forEach(
@@ -237,7 +238,7 @@ function PasswordButton({
icon={
<InputPassword className={cn("size-4", password && "text-blue-500")} />
}
- className="h-9 w-fit px-2.5 font-medium text-gray-700"
+ className="h-9 w-fit px-2.5 font-medium text-neutral-700"
onClick={() => setShowPasswordModal(true)}
/>
);
diff --git a/apps/web/ui/modals/link-builder/qr-code-preview.tsx b/apps/web/ui/modals/link-builder/qr-code-preview.tsx
index 472df9ca49..7b53b0c95d 100644
--- a/apps/web/ui/modals/link-builder/qr-code-preview.tsx
+++ b/apps/web/ui/modals/link-builder/qr-code-preview.tsx
@@ -77,7 +77,7 @@ export function QRCodePreview() {
<LinkQRModal />
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
- <h2 className="text-sm font-medium text-gray-700">QR Code</h2>
+ <h2 className="text-sm font-medium text-neutral-700">QR Code</h2>
<InfoTooltip
content={
<SimpleTooltipContent
@@ -89,7 +89,7 @@ export function QRCodePreview() {
/>
</div>
</div>
- <div className="relative mt-2 h-24 overflow-hidden rounded-md border border-gray-300">
+ <div className="relative mt-2 h-24 overflow-hidden rounded-md border border-neutral-300">
<Button
type="button"
variant="secondary"
@@ -121,8 +121,8 @@ export function QRCodePreview() {
</AnimatePresence>
) : (
<div className="flex size-full flex-col items-center justify-center gap-2">
- <QRCodeIcon className="size-5 text-gray-700" />
- <p className="max-w-32 text-center text-xs text-gray-700">
+ <QRCodeIcon className="size-5 text-neutral-700" />
+ <p className="max-w-32 text-center text-xs text-neutral-700">
Enter a short link to generate a QR code
</p>
</div>
diff --git a/apps/web/ui/modals/link-builder/tag-select.tsx b/apps/web/ui/modals/link-builder/tag-select.tsx
index be04f8abf6..27987ffcee 100644
--- a/apps/web/ui/modals/link-builder/tag-select.tsx
+++ b/apps/web/ui/modals/link-builder/tag-select.tsx
@@ -152,7 +152,7 @@ export function TagSelect() {
<div>
<div className="mb-1 flex items-center justify-between">
<div className="flex items-center gap-2">
- <p className="text-sm font-medium text-gray-700">Tags</p>
+ <p className="text-sm font-medium text-neutral-700">Tags</p>
<InfoTooltip
content={
<SimpleTooltipContent
@@ -166,7 +166,7 @@ export function TagSelect() {
<a
href={`/${slug}/settings/library/tags`}
target="_blank"
- className="text-sm text-gray-400 underline-offset-2 transition-all hover:text-gray-600 hover:underline"
+ className="text-sm text-neutral-400 underline-offset-2 transition-all hover:text-neutral-600 hover:underline"
>
Manage
</a>
@@ -187,13 +187,13 @@ export function TagSelect() {
);
}}
options={loadingTags ? undefined : options}
- icon={<Tag className="mt-[5px] size-4 text-gray-500" />}
+ icon={<Tag className="mt-[5px] size-4 text-neutral-500" />}
searchPlaceholder="Search or add tags..."
shortcutHint="T"
buttonProps={{
className: cn(
- "h-auto py-1.5 px-2.5 w-full text-gray-700 border-gray-300 items-start",
- selectedTags.length === 0 && "text-gray-400",
+ "h-auto py-1.5 px-2.5 w-full text-neutral-700 border-neutral-300 items-start",
+ selectedTags.length === 0 && "text-neutral-400",
),
}}
onCreate={(search) => createTag(search)}
@@ -215,7 +215,7 @@ export function TagSelect() {
))}
</div>
) : loadingTags && availableTags === undefined && tags.length ? (
- <div className="my-px h-6 w-1/4 animate-pulse rounded bg-gray-200" />
+ <div className="my-px h-6 w-1/4 animate-pulse rounded bg-neutral-200" />
) : (
<span className="my-px block py-0.5">Select tags...</span>
)}
@@ -228,7 +228,7 @@ export function TagSelect() {
<div className="animate-fade-in flex flex-wrap items-center gap-2 pt-3">
<Tooltip content="AI-suggested tags based on the content of the link. Click a suggested tag to add it.">
<div className="group">
- <Magic className="size-4 text-gray-600 transition-colors group-hover:text-gray-500" />
+ <Magic className="size-4 text-neutral-600 transition-colors group-hover:text-neutral-500" />
</div>
</Tooltip>
{suggestedTags.map((tag) => (
diff --git a/apps/web/ui/modals/link-builder/targeting-modal.tsx b/apps/web/ui/modals/link-builder/targeting-modal.tsx
index c2b700efe8..30b55d4354 100644
--- a/apps/web/ui/modals/link-builder/targeting-modal.tsx
+++ b/apps/web/ui/modals/link-builder/targeting-modal.tsx
@@ -123,15 +123,15 @@ function TargetingModal({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
+ <div className="px-2 py-1 text-xs text-neutral-700">
Press{" "}
- <strong className="font-medium text-gray-950">G</strong> to
- open this quickly
+ <strong className="font-medium text-neutral-950">G</strong>{" "}
+ to open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center gap-1 rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center gap-1 rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
G
</kbd>
</Tooltip>
@@ -142,7 +142,7 @@ function TargetingModal({
{/* Geo */}
<div>
<div className="flex items-center gap-2">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
Geo Targeting
</span>
<ProBadgeTooltip
@@ -204,9 +204,9 @@ function TargetingModal({
buttonProps={{
className: cn(
"w-32 sm:w-40 rounded-r-none border-r-transparent justify-start px-2.5",
- "data-[state=open]:ring-1 data-[state=open]:ring-gray-500 data-[state=open]:border-gray-500",
- "focus:ring-1 focus:ring-gray-500 focus:border-gray-500 transition-none",
- !key && "text-gray-600",
+ "data-[state=open]:ring-1 data-[state=open]:ring-neutral-500 data-[state=open]:border-neutral-500",
+ "focus:ring-1 focus:ring-neutral-500 focus:border-neutral-500 transition-none",
+ !key && "text-neutral-600",
),
}}
optionClassName="sm:max-w-[200px]"
@@ -216,7 +216,7 @@ function TargetingModal({
type="text"
id={`${id}-${key}`}
placeholder="https://example.com"
- className="z-0 h-full grow rounded-r-md border border-gray-300 text-sm placeholder-gray-400 focus:z-[1] focus:border-gray-500 focus:ring-gray-500"
+ className="z-0 h-full grow rounded-r-md border border-neutral-300 text-sm placeholder-neutral-400 focus:z-[1] focus:border-neutral-500 focus:ring-neutral-500"
value={value}
onChange={(e) => {
setValue(
@@ -283,7 +283,7 @@ function TargetingModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-ios-url`}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
iOS Targeting
</label>
@@ -301,7 +301,7 @@ function TargetingModal({
<input
id={`${id}-ios-url`}
placeholder="https://apps.apple.com/app/1611158928"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register("ios", {
onBlur: (e) => {
const newParams = getNewParams(e.target.value);
@@ -323,7 +323,7 @@ function TargetingModal({
<div className="flex items-center gap-2">
<label
htmlFor={`${id}-android-url`}
- className="block text-sm font-medium text-gray-700"
+ className="block text-sm font-medium text-neutral-700"
>
Android Targeting
</label>
@@ -341,7 +341,7 @@ function TargetingModal({
<input
id={`${id}-android-url`}
placeholder="https://play.google.com/store/apps/details?id=com.disney.disneyplus"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register("android", {
onBlur: (e) => {
const newParams = getNewParams(e.target.value);
@@ -364,7 +364,7 @@ function TargetingModal({
{parentEnabled && (
<button
type="button"
- className="text-xs font-medium text-gray-700 transition-colors hover:text-gray-950"
+ className="text-xs font-medium text-neutral-700 transition-colors hover:text-neutral-950"
onClick={() => {
setValueParent("ios", null, { shouldDirty: true });
setValueParent("android", null, { shouldDirty: true });
@@ -454,7 +454,7 @@ function TargetingButton({
icon={
<Crosshairs3 className={cn("size-4", enabled && "text-blue-500")} />
}
- className="h-9 w-fit px-2.5 font-medium text-gray-700"
+ className="h-9 w-fit px-2.5 font-medium text-neutral-700"
onClick={() => setShowTargetingModal(true)}
/>
);
diff --git a/apps/web/ui/modals/link-builder/unsplash-search.tsx b/apps/web/ui/modals/link-builder/unsplash-search.tsx
index 9543041e8e..0427e5eaa6 100644
--- a/apps/web/ui/modals/link-builder/unsplash-search.tsx
+++ b/apps/web/ui/modals/link-builder/unsplash-search.tsx
@@ -44,7 +44,7 @@ export default function UnsplashSearch({
autoComplete="off"
value={search}
onChange={(e) => setSearch(e.target.value)}
- className="block w-full rounded-md border-gray-300 py-1 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 py-1 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
{data ? (
@@ -67,7 +67,7 @@ export default function UnsplashSearch({
}),
});
}}
- className="relative flex h-24 w-full items-center justify-center overflow-hidden rounded-md bg-gray-100 transition-all hover:brightness-75"
+ className="relative flex h-24 w-full items-center justify-center overflow-hidden rounded-md bg-neutral-100 transition-all hover:brightness-75"
>
<img
src={photo.urls.small}
@@ -90,7 +90,7 @@ export default function UnsplashSearch({
</div>
) : (
<div className="flex h-[90%] items-center justify-center">
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
No results found. <br /> Maybe try tweaking your search query?
</p>
</div>
diff --git a/apps/web/ui/modals/link-builder/utm-modal.tsx b/apps/web/ui/modals/link-builder/utm-modal.tsx
index 6763160c17..0044e05168 100644
--- a/apps/web/ui/modals/link-builder/utm-modal.tsx
+++ b/apps/web/ui/modals/link-builder/utm-modal.tsx
@@ -183,14 +183,15 @@ function UTMModalInner({ setShowUTMModal }: UTMModalProps) {
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
- Press <strong className="font-medium text-gray-950">U</strong>{" "}
- to open this quickly
+ <div className="px-2 py-1 text-xs text-neutral-700">
+ Press{" "}
+ <strong className="font-medium text-neutral-950">U</strong> to
+ open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
U
</kbd>
</Tooltip>
@@ -223,10 +224,10 @@ function UTMModalInner({ setShowUTMModal }: UTMModalProps) {
{isValidUrl(url) && (
<div className="mt-4 grid gap-y-1">
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
URL Preview
</span>
- <div className="scrollbar-hide mt-2 overflow-scroll break-words rounded-lg border border-gray-200 bg-gray-50 px-2.5 py-2 font-mono text-xs text-gray-500">
+ <div className="scrollbar-hide mt-2 overflow-scroll break-words rounded-lg border border-neutral-200 bg-neutral-50 px-2.5 py-2 font-mono text-xs text-neutral-500">
{url}
</div>
</div>
@@ -301,7 +302,7 @@ function UTMButton({
className={cn("size-4", enabled && "text-blue-500")}
/>
}
- className="h-9 w-fit px-2.5 font-medium text-gray-700"
+ className="h-9 w-fit px-2.5 font-medium text-neutral-700"
onClick={() => setShowUTMModal(true)}
/>
);
diff --git a/apps/web/ui/modals/link-builder/utm-templates-button.tsx b/apps/web/ui/modals/link-builder/utm-templates-button.tsx
index b0013c9e1a..93e49a3f76 100644
--- a/apps/web/ui/modals/link-builder/utm-templates-button.tsx
+++ b/apps/web/ui/modals/link-builder/utm-templates-button.tsx
@@ -61,7 +61,7 @@ export function UTMTemplatesButton({
<LoadingSpinner className="size-4" />
</div>
) : (
- <div className="flex w-full items-center justify-center p-2 text-center text-xs text-gray-500 md:w-32">
+ <div className="flex w-full items-center justify-center p-2 text-center text-xs text-neutral-500 md:w-32">
Failed to load templates
</div>
)}
@@ -94,7 +94,7 @@ function UTMTemplateList({
return data.length ? (
<div className="scrollbar-hide grid max-h-64 overflow-y-auto p-1 md:min-w-48">
- <span className="block pb-2 pl-2.5 pt-2 text-xs font-medium text-gray-500">
+ <span className="block pb-2 pl-2.5 pt-2 text-xs font-medium text-neutral-500">
UTM Templates
</span>
{data.map((template) => (
@@ -116,7 +116,7 @@ function UTMTemplateList({
))}
</div>
) : (
- <div className="flex items-center justify-center p-3 text-center text-xs text-gray-500">
+ <div className="flex items-center justify-center p-3 text-center text-xs text-neutral-500">
No templates found
</div>
);
@@ -133,10 +133,10 @@ function UTMTemplateOption({
<div className="group relative">
<button
onClick={onClick}
- className="flex w-full items-center justify-between gap-2 rounded-md p-2 text-gray-700 outline-none hover:bg-gray-100 focus-visible:ring-2 focus-visible:ring-gray-500 active:bg-gray-200 group-hover:bg-gray-100"
+ className="flex w-full items-center justify-between gap-2 rounded-md p-2 text-neutral-700 outline-none hover:bg-neutral-100 focus-visible:ring-2 focus-visible:ring-neutral-500 active:bg-neutral-200 group-hover:bg-neutral-100"
>
<span className="flex items-center gap-2">
- <Note className="size-4 text-gray-500" />
+ <Note className="size-4 text-neutral-500" />
{template.name}
</span>
</button>
diff --git a/apps/web/ui/modals/link-builder/utm-templates-combo.tsx b/apps/web/ui/modals/link-builder/utm-templates-combo.tsx
index c353d97bd2..7cf1e04976 100644
--- a/apps/web/ui/modals/link-builder/utm-templates-combo.tsx
+++ b/apps/web/ui/modals/link-builder/utm-templates-combo.tsx
@@ -71,8 +71,10 @@ export function UTMTemplatesCombo({
<div className="grid max-w-[225px] grid-cols-[1fr,minmax(0,min-content)] gap-x-2 gap-y-1 whitespace-nowrap p-2 text-sm sm:min-w-[150px]">
{includedParams.map(({ key, label, icon: Icon }) => (
<Fragment key={key}>
- <span className="font-medium text-gray-600">{label}</span>
- <span className="truncate text-gray-500">
+ <span className="font-medium text-neutral-600">
+ {label}
+ </span>
+ <span className="truncate text-neutral-500">
{template[key]}
</span>
</Fragment>
@@ -80,7 +82,7 @@ export function UTMTemplatesCombo({
</div>
}
>
- <div className="ml-4 flex shrink-0 items-center gap-1 text-gray-500">
+ <div className="ml-4 flex shrink-0 items-center gap-1 text-neutral-500">
{includedParams.map(({ icon: Icon }) => (
<Icon className="size-3.5" />
))}
@@ -132,11 +134,13 @@ const NoUTMTemplatesFound = () => {
return (
<div className="flex h-full flex-col items-center justify-center gap-2 px-2 py-4 text-center text-sm">
- <div className="flex items-center justify-center rounded-2xl border border-gray-200 bg-gray-50 p-3">
- <DiamondTurnRight className="size-6 text-gray-700" />
+ <div className="flex items-center justify-center rounded-2xl border border-neutral-200 bg-neutral-50 p-3">
+ <DiamondTurnRight className="size-6 text-neutral-700" />
</div>
- <p className="mt-2 font-medium text-gray-950">No UTM templates found</p>
- <p className="mx-auto mt-1 w-full max-w-[180px] text-gray-700">
+ <p className="mt-2 font-medium text-neutral-950">
+ No UTM templates found
+ </p>
+ <p className="mx-auto mt-1 w-full max-w-[180px] text-neutral-700">
Add a UTM template to easily create links with the same UTM parameters.
</p>
<div>
diff --git a/apps/web/ui/modals/link-builder/webhook-select.tsx b/apps/web/ui/modals/link-builder/webhook-select.tsx
index 84a90d5987..9c076f2bb5 100644
--- a/apps/web/ui/modals/link-builder/webhook-select.tsx
+++ b/apps/web/ui/modals/link-builder/webhook-select.tsx
@@ -58,7 +58,7 @@ export function WebhookSelect() {
shortcutHint="W"
buttonProps={{
className:
- "h-9 px-2.5 w-fit font-medium text-gray-700 max-w-48 min-w-0",
+ "h-9 px-2.5 w-fit font-medium text-neutral-700 max-w-48 min-w-0",
}}
open={isOpen}
onOpenChange={setIsOpen}
@@ -78,11 +78,11 @@ const NoWebhooksFound = () => {
return (
<div className="flex h-full flex-col items-center justify-center gap-2 px-2 py-4 text-center text-sm">
- <div className="flex items-center justify-center rounded-2xl border border-gray-200 bg-gray-50 p-3">
- <Webhook className="size-6 text-gray-700" />
+ <div className="flex items-center justify-center rounded-2xl border border-neutral-200 bg-neutral-50 p-3">
+ <Webhook className="size-6 text-neutral-700" />
</div>
- <p className="mt-2 font-medium text-gray-950">No webhooks found</p>
- <p className="mx-auto mt-1 w-full max-w-[180px] text-gray-700">
+ <p className="mt-2 font-medium text-neutral-950">No webhooks found</p>
+ <p className="mx-auto mt-1 w-full max-w-[180px] text-neutral-700">
Add a webhook to receive a click event when someone clicks your link.
</p>
<div>
diff --git a/apps/web/ui/modals/link-qr-modal.tsx b/apps/web/ui/modals/link-qr-modal.tsx
index f2140c85be..565a762730 100644
--- a/apps/web/ui/modals/link-qr-modal.tsx
+++ b/apps/web/ui/modals/link-qr-modal.tsx
@@ -166,14 +166,15 @@ function LinkQRModalInner({
<div className="max-md:hidden">
<Tooltip
content={
- <div className="px-2 py-1 text-xs text-gray-700">
- Press <strong className="font-medium text-gray-950">Q</strong>{" "}
- to open this quickly
+ <div className="px-2 py-1 text-xs text-neutral-700">
+ Press{" "}
+ <strong className="font-medium text-neutral-950">Q</strong> to
+ open this quickly
</div>
}
side="right"
>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
Q
</kbd>
</Tooltip>
@@ -183,7 +184,7 @@ function LinkQRModalInner({
<div>
<div className="flex items-center justify-between gap-2">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium text-gray-700">
+ <span className="text-sm font-medium text-neutral-700">
QR Code Preview
</span>
<InfoTooltip
@@ -205,7 +206,7 @@ function LinkQRModalInner({
content: "Download QR code",
}}
>
- <Download className="h-4 w-4 text-gray-500" />
+ <Download className="h-4 w-4 text-neutral-500" />
</ButtonTooltip>
</div>
</DownloadPopover>
@@ -216,14 +217,14 @@ function LinkQRModalInner({
content: "Copy QR code",
}}
>
- <Copy className="h-4 w-4 text-gray-500" />
+ <Copy className="h-4 w-4 text-neutral-500" />
</ButtonTooltip>
</div>
</CopyPopover>
</div>
)}
</div>
- <div className="relative mt-2 flex h-44 items-center justify-center overflow-hidden rounded-md border border-gray-300">
+ <div className="relative mt-2 flex h-44 items-center justify-center overflow-hidden rounded-md border border-neutral-300">
{!isMobile && (
<ShimmerDots className="opacity-30 [mask-image:radial-gradient(40%_80%,transparent_50%,black)]" />
)}
@@ -254,7 +255,7 @@ function LinkQRModalInner({
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
<label
- className="text-sm font-medium text-gray-700"
+ className="text-sm font-medium text-neutral-700"
htmlFor={`${id}-show-logo`}
>
Logo
@@ -299,7 +300,7 @@ function LinkQRModalInner({
{/* Color selector */}
<div>
- <span className="block text-sm font-medium text-gray-700">
+ <span className="block text-sm font-medium text-neutral-700">
QR Code Color
</span>
<div className="mt-2 flex gap-6">
@@ -329,7 +330,7 @@ function LinkQRModalInner({
onChange={onColorChange}
prefixed
style={{ borderColor: data.fgColor }}
- className="block w-full rounded-r-md border-2 border-l-0 pl-3 text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-black sm:text-sm"
+ className="block w-full rounded-r-md border-2 border-l-0 pl-3 text-neutral-900 placeholder-neutral-400 focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
<div className="mt-1 flex flex-wrap items-center gap-3">
@@ -408,7 +409,7 @@ function DownloadPopover({
onClick={async () => {
download(await getQRAsSVGDataUri(qrData), "svg");
}}
- className="rounded-md p-2 text-left text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-left text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="Download SVG"
@@ -423,7 +424,7 @@ function DownloadPopover({
"png",
);
}}
- className="rounded-md p-2 text-left text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-left text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="Download PNG"
@@ -438,7 +439,7 @@ function DownloadPopover({
"jpg",
);
}}
- className="rounded-md p-2 text-left text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-left text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="Download JPEG"
@@ -501,7 +502,7 @@ function CopyPopover({
error: "Failed to copy",
});
}}
- className="rounded-md p-2 text-left text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-left text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="Copy Image"
@@ -529,7 +530,7 @@ function CopyPopover({
});
setOpenPopover(false);
}}
- className="rounded-md p-2 text-left text-sm font-medium text-gray-500 transition-all duration-75 hover:bg-gray-100"
+ className="rounded-md p-2 text-left text-sm font-medium text-neutral-500 transition-all duration-75 hover:bg-neutral-100"
>
<IconMenu
text="Copy URL"
diff --git a/apps/web/ui/modals/primary-domain-modal.tsx b/apps/web/ui/modals/primary-domain-modal.tsx
index 361ec4ddff..ed65192c1a 100644
--- a/apps/web/ui/modals/primary-domain-modal.tsx
+++ b/apps/web/ui/modals/primary-domain-modal.tsx
@@ -47,23 +47,23 @@ function PrimaryDomainModal({
showModal={showPrimaryDomainModal}
setShowModal={setShowPrimaryDomainModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={domain} />
<h3 className="text-lg font-medium">Set {domain} as primary domain</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Setting this domain as primary will make it the default domain in the
link creation modal, as well as in the API.{" "}
<a
href="https://dub.co/help/article/how-to-set-primary-domain"
target="_blank"
- className="text-gray-500 underline underline-offset-4 hover:text-gray-800"
+ className="text-neutral-500 underline underline-offset-4 hover:text-neutral-800"
>
Learn more
</a>
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<Button
onClick={() =>
toast.promise(setPrimary, {
diff --git a/apps/web/ui/modals/prompt-modal.tsx b/apps/web/ui/modals/prompt-modal.tsx
index 24ee66783b..ad1dd70891 100644
--- a/apps/web/ui/modals/prompt-modal.tsx
+++ b/apps/web/ui/modals/prompt-modal.tsx
@@ -40,10 +40,12 @@ function PromptModal({
return (
<Modal showModal={showPromptModal} setShowModal={setShowPromptModal}>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo />
<h3 className="text-lg font-medium">{title}</h3>
- {description && <p className="text-sm text-gray-500">{description}</p>}
+ {description && (
+ <p className="text-sm text-neutral-500">{description}</p>
+ )}
</div>
<form
@@ -56,10 +58,10 @@ function PromptModal({
setLoading(false);
setShowPromptModal(false);
}}
- className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-3 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<label className="block">
- <p className="text-sm text-gray-700">{label}</p>
+ <p className="text-sm text-neutral-700">{label}</p>
<div className="relative mt-1 rounded-md shadow-sm">
<input
type="text"
@@ -68,7 +70,7 @@ function PromptModal({
required
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...inputProps}
/>
</div>
diff --git a/apps/web/ui/modals/register-domain-modal.tsx b/apps/web/ui/modals/register-domain-modal.tsx
index acee39a8f5..23a676573d 100644
--- a/apps/web/ui/modals/register-domain-modal.tsx
+++ b/apps/web/ui/modals/register-domain-modal.tsx
@@ -16,7 +16,7 @@ const RegisterDomain = ({ showModal, setShowModal }: RegisterDomainProps) => {
setShowModal={setShowModal}
drawerRootProps={{ repositionInputs: false }}
>
- <h3 className="border-b border-gray-200 px-4 py-4 text-lg font-medium sm:px-6">
+ <h3 className="border-b border-neutral-200 px-4 py-4 text-lg font-medium sm:px-6">
Claim .link domain
</h3>
<div className="scrollbar-hide mt-6 max-h-[calc(100dvh-200px)] overflow-auto overflow-y-scroll">
diff --git a/apps/web/ui/modals/register-domain-success-modal.tsx b/apps/web/ui/modals/register-domain-success-modal.tsx
index 54abc87255..3a817c93ad 100644
--- a/apps/web/ui/modals/register-domain-success-modal.tsx
+++ b/apps/web/ui/modals/register-domain-success-modal.tsx
@@ -27,7 +27,7 @@ const RegisterDomainSuccess = ({
<ModalHero />
<div className="px-6 py-8 sm:px-12">
<div className="relative text-center">
- <h1 className="text-base font-medium text-gray-950">
+ <h1 className="text-base font-medium text-neutral-950">
Congratulations! You've claimed
</h1>
<p
@@ -40,13 +40,13 @@ const RegisterDomainSuccess = ({
>
{registered}
</p>
- <p className="mt-4 text-sm text-gray-500">
+ <p className="mt-4 text-sm text-neutral-500">
Your domain is now registered and ready to use, though it may take
some time for the domain configuration to propagate globally.{" "}
<a
href="https://dub.co/help/article/free-dot-link-domain#claim-your-domain-and-wait-for-it-to-be-provisioned"
target="_blank"
- className="underline transition-colors hover:text-gray-700"
+ className="underline transition-colors hover:text-neutral-700"
>
Learn more.
</a>
diff --git a/apps/web/ui/modals/remove-oauth-app-modal.tsx b/apps/web/ui/modals/remove-oauth-app-modal.tsx
index ddf6e8edb2..fdcff002b2 100644
--- a/apps/web/ui/modals/remove-oauth-app-modal.tsx
+++ b/apps/web/ui/modals/remove-oauth-app-modal.tsx
@@ -61,7 +61,7 @@ function RemoveOAuthAppModal({
showModal={showRemoveOAuthAppModal}
setShowModal={setShowRemoveOAuthAppModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -74,7 +74,7 @@ function RemoveOAuthAppModal({
<Logo />
)}
<h3 className="text-lg font-medium">Delete {oAuthApp.name}</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Deleting this application will invalidate any access tokens authorized
by users. Are you sure you want to continue?
</p>
@@ -90,10 +90,13 @@ function RemoveOAuthAppModal({
error: (err) => err,
});
}}
- className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16"
+ className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16"
>
<div>
- <label htmlFor="verification" className="block text-sm text-gray-700">
+ <label
+ htmlFor="verification"
+ className="block text-sm text-neutral-700"
+ >
To verify, type{" "}
<span className="font-semibold text-black">{oAuthApp.name}</span>{" "}
below
@@ -107,7 +110,7 @@ function RemoveOAuthAppModal({
required
autoFocus={false}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
/>
</div>
</div>
diff --git a/apps/web/ui/modals/remove-saml-modal.tsx b/apps/web/ui/modals/remove-saml-modal.tsx
index fe62847e8e..163800a658 100644
--- a/apps/web/ui/modals/remove-saml-modal.tsx
+++ b/apps/web/ui/modals/remove-saml-modal.tsx
@@ -27,7 +27,7 @@ function RemoveSAMLModal({
showModal={showRemoveSAMLModal}
setShowModal={setShowRemoveSAMLModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -40,14 +40,14 @@ function RemoveSAMLModal({
<Logo />
)}
<h3 className="text-lg font-medium">Remove SAML</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This will remove SAML from your workspace. Are you sure you want to
continue?
</p>
</div>
- <div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center space-x-3 rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center space-x-3 rounded-md border border-neutral-300 bg-white p-3">
<img
src={SAML_PROVIDERS.find((p) => p.name === provider)!.logo}
alt={provider + " logo"}
@@ -55,7 +55,7 @@ function RemoveSAMLModal({
/>
<div className="flex flex-col">
<h3 className="text-sm font-medium">{provider} SAML</h3>
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{provider} SAML is configured
</p>
</div>
diff --git a/apps/web/ui/modals/remove-scim-modal.tsx b/apps/web/ui/modals/remove-scim-modal.tsx
index 183e45bede..eb47375d0e 100644
--- a/apps/web/ui/modals/remove-scim-modal.tsx
+++ b/apps/web/ui/modals/remove-scim-modal.tsx
@@ -33,7 +33,7 @@ function RemoveSCIMModal({
showModal={showRemoveSCIMModal}
setShowModal={setShowRemoveSCIMModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -46,14 +46,14 @@ function RemoveSCIMModal({
<Logo />
)}
<h3 className="text-lg font-medium">Remove SCIM Directory</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This will remove the currently configured SCIM directory from your
workspace. Are you sure you want to continue?
</p>
</div>
- <div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center space-x-3 rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center space-x-3 rounded-md border border-neutral-300 bg-white p-3">
<img
src={currentProvider.logo}
alt={currentProvider.name + " logo"}
@@ -61,7 +61,7 @@ function RemoveSCIMModal({
/>
<div className="flex flex-col">
<h3 className="text-sm font-medium">{currentProvider.name} SCIM</h3>
- <p className="text-xs text-gray-500">
+ <p className="text-xs text-neutral-500">
{currentProvider.name} SCIM is configured
</p>
</div>
diff --git a/apps/web/ui/modals/remove-teammate-modal.tsx b/apps/web/ui/modals/remove-teammate-modal.tsx
index 2945116fd2..9eaade68bf 100644
--- a/apps/web/ui/modals/remove-teammate-modal.tsx
+++ b/apps/web/ui/modals/remove-teammate-modal.tsx
@@ -36,7 +36,7 @@ function RemoveTeammateModal({
showModal={showRemoveTeammateModal}
setShowModal={setShowRemoveTeammateModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -55,7 +55,7 @@ function RemoveTeammateModal({
? "Leave Workspace"
: "Remove Teammate"}
</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
{invite
? "This will revoke "
: session?.user?.email === email
@@ -73,12 +73,12 @@ function RemoveTeammateModal({
</p>
</div>
- <div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center space-x-3 rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center space-x-3 rounded-md border border-neutral-300 bg-white p-3">
<Avatar user={user} />
<div className="flex flex-col">
<h3 className="text-sm font-medium">{name || email}</h3>
- <p className="text-xs text-gray-500">{email}</p>
+ <p className="text-xs text-neutral-500">{email}</p>
</div>
</div>
<Button
diff --git a/apps/web/ui/modals/rename-folder-modal.tsx b/apps/web/ui/modals/rename-folder-modal.tsx
index 383af350e2..03f9894d63 100644
--- a/apps/web/ui/modals/rename-folder-modal.tsx
+++ b/apps/web/ui/modals/rename-folder-modal.tsx
@@ -16,7 +16,7 @@ const RenameFolderModal = ({
}: RenameFolderModalProps) => {
return (
<Modal showModal={showModal} setShowModal={setShowModal}>
- <h3 className="border-b border-gray-200 px-4 py-4 text-lg font-medium sm:px-6">
+ <h3 className="border-b border-neutral-200 px-4 py-4 text-lg font-medium sm:px-6">
Rename folder
</h3>
<div>
diff --git a/apps/web/ui/modals/saml-modal.tsx b/apps/web/ui/modals/saml-modal.tsx
index 70ef916e5b..c6da29ca07 100644
--- a/apps/web/ui/modals/saml-modal.tsx
+++ b/apps/web/ui/modals/saml-modal.tsx
@@ -45,18 +45,18 @@ function SAMLModal({
return (
<Modal showModal={showSAMLModal} setShowModal={setShowSAMLModal}>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
- <div className="rounded-full border border-gray-200 p-3">
- <Lock className="h-5 w-5 text-gray-600" />
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
+ <div className="rounded-full border border-neutral-200 p-3">
+ <Lock className="h-5 w-5 text-neutral-600" />
</div>
<h3 className="text-lg font-medium">Configure SAML</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Select a provider to configure SAML for your{" "}
{process.env.NEXT_PUBLIC_APP_NAME} workspace.
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<form
onSubmit={async (e) => {
e.preventDefault();
@@ -88,7 +88,7 @@ function SAMLModal({
>
<div>
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
SAML Provider
</h2>
<InfoTooltip content="Your SAML provider is the service you use to manage your users." />
@@ -101,7 +101,7 @@ function SAMLModal({
onChange={(e) =>
setSelectedProvider(e.target.value as SAMLProviderProps["saml"])
}
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
>
<option disabled selected>
Select a provider
@@ -121,7 +121,7 @@ function SAMLModal({
<a
href={`https://dub.co/help/article/${selectedProvider}-saml`}
target="_blank"
- className="ml-2 mt-2 block text-sm text-gray-500 underline"
+ className="ml-2 mt-2 block text-sm text-neutral-500 underline"
>
Read the guide on {currentProvider.name} SSO
</a>
@@ -129,7 +129,7 @@ function SAMLModal({
<a
href="https://dub.co/help/category/saml-sso"
target="_blank"
- className="ml-2 mt-2 block text-sm text-gray-500 underline"
+ className="ml-2 mt-2 block text-sm text-neutral-500 underline"
>
Learn more about SAML SSO
</a>
@@ -138,9 +138,9 @@ function SAMLModal({
{currentProvider &&
(selectedProvider === "google" ? (
- <div className="border-t border-gray-200 pt-4">
+ <div className="border-t border-neutral-200 pt-4">
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
{currentProvider.samlModalCopy}
</h2>
<InfoTooltip
@@ -155,17 +155,19 @@ function SAMLModal({
</div>
<label
htmlFor="metadataRaw"
- className="group relative mt-1 flex h-24 w-full cursor-pointer flex-col items-center justify-center rounded-md border border-gray-300 bg-white shadow-sm transition-all hover:bg-gray-50"
+ className="group relative mt-1 flex h-24 w-full cursor-pointer flex-col items-center justify-center rounded-md border border-neutral-300 bg-white shadow-sm transition-all hover:bg-neutral-50"
>
{file ? (
<>
<Check className="h-5 w-5 text-green-600 transition-all duration-75 group-hover:scale-110 group-active:scale-95" />
- <p className="mt-2 text-sm text-gray-500">{file.name}</p>
+ <p className="mt-2 text-sm text-neutral-500">
+ {file.name}
+ </p>
</>
) : (
<>
- <UploadCloud className="h-5 w-5 text-gray-500 transition-all duration-75 group-hover:scale-110 group-active:scale-95" />
- <p className="mt-2 text-sm text-gray-500">
+ <UploadCloud className="h-5 w-5 text-neutral-500 transition-all duration-75 group-hover:scale-110 group-active:scale-95" />
+ <p className="mt-2 text-sm text-neutral-500">
Choose an .xml file to upload
</p>
</>
@@ -193,9 +195,9 @@ function SAMLModal({
/>
</div>
) : (
- <div className="border-t border-gray-200 pt-4">
+ <div className="border-t border-neutral-200 pt-4">
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
{currentProvider.samlModalCopy}
</h2>
<InfoTooltip
@@ -216,7 +218,7 @@ function SAMLModal({
placeholder="https://"
autoComplete="off"
required
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
/>
</div>
))}
diff --git a/apps/web/ui/modals/scim-modal.tsx b/apps/web/ui/modals/scim-modal.tsx
index a4d9d6f7d6..9f6b04c67f 100644
--- a/apps/web/ui/modals/scim-modal.tsx
+++ b/apps/web/ui/modals/scim-modal.tsx
@@ -46,7 +46,7 @@ function SCIMModal({
return (
<Modal showModal={showSCIMModal} setShowModal={setShowSCIMModal}>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-8 sm:px-16">
{currentProvider ? (
<div className="flex items-center space-x-3 py-4">
<img
@@ -54,12 +54,12 @@ function SCIMModal({
alt={`${provider} logo`}
className="h-10 w-10"
/>
- <RefreshCcw className="h-5 w-5 text-gray-600" />
+ <RefreshCcw className="h-5 w-5 text-neutral-600" />
<Logo />
</div>
) : (
- <div className="rounded-full border border-gray-200 p-3">
- <FolderSync className="h-5 w-5 text-gray-600" />
+ <div className="rounded-full border border-neutral-200 p-3">
+ <FolderSync className="h-5 w-5 text-neutral-600" />
</div>
)}
@@ -68,14 +68,14 @@ function SCIMModal({
? `${currentProvider.name} SCIM`
: "Configure Directory Sync"}
</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
{currentProvider
? "Your workspace is currently syncing with your SCIM directory."
: `Select a provider to configure directory sync for your ${process.env.NEXT_PUBLIC_APP_NAME} workspace.`}
</p>
</div>
- <div className="flex flex-col space-y-6 bg-gray-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex flex-col space-y-6 bg-neutral-50 px-4 py-8 text-left sm:px-16">
<form
onSubmit={async (e) => {
e.preventDefault();
@@ -106,7 +106,7 @@ function SCIMModal({
>
<div>
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Directory Provider
</h2>
<InfoTooltip
@@ -131,7 +131,7 @@ function SCIMModal({
onChange={(e) =>
setSelectedProvider(e.target.value as SAMLProviderProps["scim"])
}
- className="mt-1 block w-full appearance-none rounded-md border border-gray-300 px-3 py-2 placeholder-gray-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
+ className="mt-1 block w-full appearance-none rounded-md border border-neutral-300 px-3 py-2 placeholder-neutral-400 shadow-sm focus:border-black focus:outline-none focus:ring-black sm:text-sm"
>
<option disabled selected>
Select a provider
@@ -150,7 +150,7 @@ function SCIMModal({
<a
href={`https://dub.co/help/article/${currentProvider.saml}-scim`}
target="_blank"
- className="ml-2 mt-2 block text-sm text-gray-500 underline"
+ className="ml-2 mt-2 block text-sm text-neutral-500 underline"
>
Read the guide on {currentProvider.name} SCIM
</a>
@@ -159,10 +159,10 @@ function SCIMModal({
{currentProvider && selectedProvider === provider && (
<div className="mt-4 flex flex-col space-y-4">
- <div className="w-full border-t border-gray-200" />
+ <div className="w-full border-t border-neutral-200" />
<div>
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
{currentProvider.scimModalCopy.url}
</h2>
<InfoTooltip
@@ -175,9 +175,9 @@ function SCIMModal({
}
/>
</div>
- <div className="mt-1 flex w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 shadow-sm">
+ <div className="mt-1 flex w-full items-center justify-between rounded-md border border-neutral-300 bg-white px-3 py-2 shadow-sm">
<div className="scrollbar-hide overflow-auto">
- <p className="whitespace-nowrap text-gray-600 sm:text-sm">
+ <p className="whitespace-nowrap text-neutral-600 sm:text-sm">
{scim.directories[0].scim.endpoint}
</p>
</div>
@@ -192,9 +192,9 @@ function SCIMModal({
}}
>
{copiedBaseUrl ? (
- <Tick className="h-4 w-4 text-gray-500" />
+ <Tick className="h-4 w-4 text-neutral-500" />
) : (
- <Copy className="h-4 w-4 text-gray-500" />
+ <Copy className="h-4 w-4 text-neutral-500" />
)}
</button>
</div>
@@ -202,7 +202,7 @@ function SCIMModal({
<div>
<div className="flex items-center space-x-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
{currentProvider.scimModalCopy.token}
</h2>
<InfoTooltip
@@ -215,7 +215,7 @@ function SCIMModal({
}
/>
</div>
- <div className="mt-1 flex w-full items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-2 shadow-sm">
+ <div className="mt-1 flex w-full items-center justify-between rounded-md border border-neutral-300 bg-white px-3 py-2 shadow-sm">
<input
type={showBearerToken ? "text" : "password"}
contentEditable={false}
@@ -233,9 +233,9 @@ function SCIMModal({
}}
>
{copiedBearerToken ? (
- <Tick className="h-4 w-4 text-gray-500" />
+ <Tick className="h-4 w-4 text-neutral-500" />
) : (
- <Copy className="h-4 w-4 text-gray-500" />
+ <Copy className="h-4 w-4 text-neutral-500" />
)}
</button>
@@ -244,9 +244,9 @@ function SCIMModal({
onClick={() => setShowBearerToken(!showBearerToken)}
>
{showBearerToken ? (
- <Eye className="h-4 w-4 text-gray-500" />
+ <Eye className="h-4 w-4 text-neutral-500" />
) : (
- <EyeOff className="h-4 w-4 text-gray-500" />
+ <EyeOff className="h-4 w-4 text-neutral-500" />
)}
</button>
</div>
diff --git a/apps/web/ui/modals/send-test-webhook-modal.tsx b/apps/web/ui/modals/send-test-webhook-modal.tsx
index 9ff00193c8..60183ee914 100644
--- a/apps/web/ui/modals/send-test-webhook-modal.tsx
+++ b/apps/web/ui/modals/send-test-webhook-modal.tsx
@@ -54,10 +54,10 @@ function SendTestWebhookModal({
showModal={showSendTestWebhookModal}
setShowModal={setShowSendTestWebhookModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Send test webhook event</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Choose a webhook event to send to your receiver endpoint
</p>
</div>
@@ -76,7 +76,7 @@ function SendTestWebhookModal({
});
}}
>
- <div className="flex flex-col space-y-28 bg-gray-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
+ <div className="flex flex-col space-y-28 bg-neutral-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
<InputSelect
items={triggers}
selectedItem={selectedTrigger}
diff --git a/apps/web/ui/modals/share-dashboard-modal.tsx b/apps/web/ui/modals/share-dashboard-modal.tsx
index 54d345eb78..c745e338aa 100644
--- a/apps/web/ui/modals/share-dashboard-modal.tsx
+++ b/apps/web/ui/modals/share-dashboard-modal.tsx
@@ -182,10 +182,10 @@ function ShareDashboardModalInner({
return (
<>
- <h3 className="border-b border-gray-200 px-4 py-4 text-lg font-medium sm:px-6">
+ <h3 className="border-b border-neutral-200 px-4 py-4 text-lg font-medium sm:px-6">
Share dashboard
</h3>
- <div className="bg-gray-50 px-6 pb-6 pt-4">
+ <div className="bg-neutral-50 px-6 pb-6 pt-4">
<LinkCard link={link} isError={Boolean(linkError)} />
<AnimatedSizeContainer
height
@@ -194,7 +194,7 @@ function ShareDashboardModalInner({
{dashboard !== undefined ? (
<>
<label className="flex cursor-pointer items-center justify-between gap-2 pt-6">
- <span className="flex items-center gap-2 text-sm text-gray-600">
+ <span className="flex items-center gap-2 text-sm text-neutral-600">
<Globe className="size-4" />
Enable public sharing
</span>
@@ -207,14 +207,14 @@ function ShareDashboardModalInner({
{checked &&
(dashboard ? (
<div className="pt-4 text-sm">
- <div className="divide-x-200 flex items-center justify-between divide-x overflow-hidden rounded-md border border-gray-200 bg-gray-100">
+ <div className="divide-x-200 flex items-center justify-between divide-x overflow-hidden rounded-md border border-neutral-200 bg-neutral-100">
<div className="scrollbar-hide overflow-scroll pl-3">
- <p className="whitespace-nowrap text-gray-400">
+ <p className="whitespace-nowrap text-neutral-400">
{getPrettyUrl(`${APP_DOMAIN}/share/${dashboard.id}`)}
</p>
</div>
<button
- className="flex h-8 items-center gap-2 whitespace-nowrap border-l bg-white px-3 hover:bg-gray-50 active:bg-gray-100"
+ className="flex h-8 items-center gap-2 whitespace-nowrap border-l bg-white px-3 hover:bg-neutral-50 active:bg-neutral-100"
onClick={() => {
const url = `${APP_DOMAIN}/share/${dashboard.id}`;
toast.promise(copyToClipboard(url), {
@@ -223,9 +223,9 @@ function ShareDashboardModalInner({
}}
>
{copied ? (
- <Tick className="h-4 w-4 text-gray-500" />
+ <Tick className="h-4 w-4 text-neutral-500" />
) : (
- <Copy className="h-4 w-4 text-gray-500" />
+ <Copy className="h-4 w-4 text-neutral-500" />
)}
Copy link
</button>
@@ -236,7 +236,7 @@ function ShareDashboardModalInner({
>
<p className="text-base font-medium">Settings</p>
<div className="flex items-center justify-between gap-2">
- <p className="text-sm text-gray-600">
+ <p className="text-sm text-neutral-600">
Search engine indexing
</p>
<Switch
@@ -249,7 +249,7 @@ function ShareDashboardModalInner({
/>
</div>
<div className="flex items-center justify-between gap-2">
- <p className="text-sm text-gray-600">
+ <p className="text-sm text-neutral-600">
Password protection
</p>
<Switch
@@ -279,13 +279,13 @@ function ShareDashboardModalInner({
</form>
</div>
) : (
- <div className="mt-4 h-7 w-full animate-pulse rounded-md bg-gray-200" />
+ <div className="mt-4 h-7 w-full animate-pulse rounded-md bg-neutral-200" />
))}
</>
) : (
<div className="flex w-full items-center justify-between pt-6">
- <div className="h-5 w-36 animate-pulse rounded-md bg-gray-200" />
- <div className="h-5 w-12 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-5 w-36 animate-pulse rounded-md bg-neutral-200" />
+ <div className="h-5 w-12 animate-pulse rounded-md bg-neutral-200" />
</div>
)}
</AnimatedSizeContainer>
@@ -304,20 +304,20 @@ function LinkCard({
return (
<div className="flex items-center gap-3 rounded-lg border border-neutral-300 bg-white p-3">
{isError ? (
- <span className="text-sm text-gray-400">Failed to load link</span>
+ <span className="text-sm text-neutral-400">Failed to load link</span>
) : link === undefined ? (
<>
- <div className="m-px size-9 animate-pulse rounded-full bg-gray-200" />
+ <div className="m-px size-9 animate-pulse rounded-full bg-neutral-200" />
<div className="flex flex-col gap-2">
- <div className="h-5 w-24 max-w-full animate-pulse rounded-md bg-gray-200" />
- <div className="h-4 w-32 max-w-full animate-pulse rounded-md bg-gray-200" />
+ <div className="h-5 w-24 max-w-full animate-pulse rounded-md bg-neutral-200" />
+ <div className="h-4 w-32 max-w-full animate-pulse rounded-md bg-neutral-200" />
</div>
</>
) : (
<>
- <div className="relative flex shrink-0 items-center justify-center rounded-full border border-gray-200">
+ <div className="relative flex shrink-0 items-center justify-center rounded-full border border-neutral-200">
{/* Background gradient + white border */}
- <div className="absolute inset-0 rounded-full border border-white bg-gradient-to-t from-gray-100" />
+ <div className="absolute inset-0 rounded-full border border-white bg-gradient-to-t from-neutral-100" />
<div className="shrink-0 p-2">
<LinkLogo
apexDomain={link ? getApexDomain(link?.url) : ""}
@@ -330,7 +330,7 @@ function LinkCard({
</div>
<div className="flex min-w-0 flex-col text-sm">
{link && (
- <span className="truncate font-semibold leading-6 text-gray-800">
+ <span className="truncate font-semibold leading-6 text-neutral-800">
{linkConstructor({
domain: link.domain,
key: link.key,
@@ -339,19 +339,19 @@ function LinkCard({
</span>
)}
<div className="flex items-center gap-1">
- <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-gray-400" />
+ <ArrowTurnRight2 className="h-3 w-3 shrink-0 text-neutral-400" />
{link?.url ? (
<a
href={link.url}
target="_blank"
rel="noopener noreferrer"
title={link.url}
- className="truncate text-gray-500 transition-colors hover:text-gray-700 hover:underline hover:underline-offset-2"
+ className="truncate text-neutral-500 transition-colors hover:text-neutral-700 hover:underline hover:underline-offset-2"
>
{getPrettyUrl(link.url)}
</a>
) : (
- <span className="truncate text-gray-400">
+ <span className="truncate text-neutral-400">
No URL configured
</span>
)}
diff --git a/apps/web/ui/modals/submit-oauth-app-modal.tsx b/apps/web/ui/modals/submit-oauth-app-modal.tsx
index 5bfa5d0664..27f69ee519 100644
--- a/apps/web/ui/modals/submit-oauth-app-modal.tsx
+++ b/apps/web/ui/modals/submit-oauth-app-modal.tsx
@@ -49,7 +49,7 @@ function SubmitOAuthAppModal({
showModal={showSubmitOAuthAppModal}
setShowModal={setShowSubmitOAuthAppModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{oAuthApp.logo ? (
<BlurImage
src={oAuthApp.logo}
@@ -66,7 +66,7 @@ function SubmitOAuthAppModal({
Submit {oAuthApp.name} for review
</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
Please provide any additional information or comments for us to review
your app.
</p>
@@ -82,7 +82,7 @@ function SubmitOAuthAppModal({
workspaceId: workspace.id!,
});
}}
- className="flex flex-col gap-4 bg-gray-50 px-4 pb-8 pt-6 text-left sm:px-16"
+ className="flex flex-col gap-4 bg-neutral-50 px-4 pb-8 pt-6 text-left sm:px-16"
>
<TextareaAutosize
id="message"
@@ -90,7 +90,7 @@ function SubmitOAuthAppModal({
minRows={5}
value={message}
onChange={(e) => setMessage(e.target.value)}
- className="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-gray-500 focus:ring-gray-500 sm:text-sm"
+ className="mt-1 block w-full rounded-md border-neutral-300 shadow-sm focus:border-neutral-500 focus:ring-neutral-500 sm:text-sm"
maxLength={1000}
/>
<Button
diff --git a/apps/web/ui/modals/transfer-domain-modal.tsx b/apps/web/ui/modals/transfer-domain-modal.tsx
index edcbc5597c..d163d93cb3 100644
--- a/apps/web/ui/modals/transfer-domain-modal.tsx
+++ b/apps/web/ui/modals/transfer-domain-modal.tsx
@@ -78,15 +78,15 @@ function TransferDomainModal({
}
}}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={domain} />
<h3 className="text-lg font-medium">Transfer {domain}</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Transfer this domain and its links to another {APP_NAME} workspace.
Link tags will not be transferred.
</p>
</div>
- <div className="flex flex-col space-y-28 bg-gray-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
+ <div className="flex flex-col space-y-28 bg-neutral-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
<InputSelect
items={(workspaces || []).map((workspace) => ({
id: workspace.id,
diff --git a/apps/web/ui/modals/transfer-link-modal.tsx b/apps/web/ui/modals/transfer-link-modal.tsx
index 3e9b469f1a..b66c1d3698 100644
--- a/apps/web/ui/modals/transfer-link-modal.tsx
+++ b/apps/web/ui/modals/transfer-link-modal.tsx
@@ -97,16 +97,16 @@ function TransferLinkModalInner({
}
}}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 text-center sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 text-center sm:px-16">
<LinkLogo apexDomain={apexDomain} />
<h3 className="text-lg font-medium">Transfer {shortlink}</h3>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Transfer this link and its analytics to another {APP_NAME} workspace.
Link tags will not be transferred.
</p>
</div>
- <div className="flex flex-col space-y-28 bg-gray-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
+ <div className="flex flex-col space-y-28 bg-neutral-50 px-4 py-8 text-left sm:space-y-3 sm:rounded-b-2xl sm:px-16">
<InputSelect
items={
workspaces
diff --git a/apps/web/ui/modals/uninstall-integration-modal.tsx b/apps/web/ui/modals/uninstall-integration-modal.tsx
index 4696556d58..1cd6dabf65 100644
--- a/apps/web/ui/modals/uninstall-integration-modal.tsx
+++ b/apps/web/ui/modals/uninstall-integration-modal.tsx
@@ -38,7 +38,7 @@ function UninstallIntegrationModal({
showModal={showUninstallIntegrationModal}
setShowModal={setShowUninstallIntegrationModal}
>
- <div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
+ <div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
{logo ? (
<BlurImage
src={logo}
@@ -51,19 +51,19 @@ function UninstallIntegrationModal({
<Logo />
)}
<h3 className="text-lg font-medium">Uninstall Integration</h3>
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
This will remove the integration from your workspace. Are you sure you
want to continue?
</p>
</div>
- <div className="flex flex-col space-y-4 bg-gray-50 px-4 py-8 text-left sm:px-16">
- <div className="flex items-center space-x-3 rounded-md border border-gray-300 bg-white p-3">
+ <div className="flex flex-col space-y-4 bg-neutral-50 px-4 py-8 text-left sm:px-16">
+ <div className="flex items-center space-x-3 rounded-md border border-neutral-300 bg-white p-3">
{integration.logo ? (
<BlurImage
src={integration.logo}
alt={`Logo for ${integration.name}`}
- className="size-8 rounded-full border border-gray-200"
+ className="size-8 rounded-full border border-neutral-200"
width={20}
height={20}
/>
@@ -72,7 +72,9 @@ function UninstallIntegrationModal({
)}
<div className="flex flex-col">
<h3 className="text-sm font-medium">{name}</h3>
- <p className="line-clamp-1 text-xs text-gray-500">{description}</p>
+ <p className="line-clamp-1 text-xs text-neutral-500">
+ {description}
+ </p>
</div>
</div>
<Button
diff --git a/apps/web/ui/modals/welcome-modal.tsx b/apps/web/ui/modals/welcome-modal.tsx
index 42804b7f30..53e835f761 100644
--- a/apps/web/ui/modals/welcome-modal.tsx
+++ b/apps/web/ui/modals/welcome-modal.tsx
@@ -77,7 +77,7 @@ function WelcomeModal({
>
<h1
className={cn(
- "text-lg font-medium text-gray-950",
+ "text-lg font-medium text-neutral-950",
plan ? "text-left" : "text-center",
)}
>
@@ -87,7 +87,7 @@ function WelcomeModal({
</h1>
<p
className={cn(
- "mt-2 text-sm text-gray-500",
+ "mt-2 text-sm text-neutral-500",
plan ? "text-left" : "text-center",
)}
>
@@ -97,7 +97,7 @@ function WelcomeModal({
</p>
{plan && (
<>
- <h2 className="mb-2 mt-6 text-base font-medium text-gray-950">
+ <h2 className="mb-2 mt-6 text-base font-medium text-neutral-950">
Explore the benefits of your {plan.name} plan
</h2>
<PlanFeatures plan={plan.name} />
diff --git a/apps/web/ui/oauth-apps/add-edit-app-form.tsx b/apps/web/ui/oauth-apps/add-edit-app-form.tsx
index 4c16727e93..1320b41df6 100644
--- a/apps/web/ui/oauth-apps/add-edit-app-form.tsx
+++ b/apps/web/ui/oauth-apps/add-edit-app-form.tsx
@@ -209,7 +209,7 @@ export default function AddOAuthAppForm({
<div>
<FileUpload
accept="images"
- className="h-24 w-24 rounded-full border border-gray-300"
+ className="h-24 w-24 rounded-full border border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
readFile
@@ -226,7 +226,7 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Application name
</h2>
<InfoTooltip content="Application name will be displayed in the OAuth consent screen" />
@@ -234,9 +234,9 @@ export default function AddOAuthAppForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -252,7 +252,7 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Application slug
</h2>
<InfoTooltip content="Unique slug for this application on Dub" />
@@ -260,9 +260,9 @@ export default function AddOAuthAppForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -277,7 +277,9 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Description</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Description
+ </h2>
<InfoTooltip content="Description of your application" />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
@@ -285,9 +287,9 @@ export default function AddOAuthAppForm({
name="description"
minRows={2}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
placeholder="Add a description"
@@ -303,7 +305,7 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Overview</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Overview</h2>
<InfoTooltip content="Provide some details about your integration. This will be displayed on the integration page. Markdown is supported." />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
@@ -311,9 +313,9 @@ export default function AddOAuthAppForm({
name="readme"
minRows={10}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
placeholder="## My Awesome Integration"
@@ -329,7 +331,9 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Screenshots</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Screenshots
+ </h2>
<InfoTooltip content="You can upload up to 4 screenshots that will be displayed on the integration page." />
</label>
<Reorder.Group
@@ -342,28 +346,28 @@ export default function AddOAuthAppForm({
<Reorder.Item
key={screenshot.key}
value={screenshot}
- className="group flex w-full items-center justify-between rounded-md border border-gray-200 bg-white transition-shadow hover:cursor-grab active:cursor-grabbing active:shadow-lg"
+ className="group flex w-full items-center justify-between rounded-md border border-neutral-200 bg-white transition-shadow hover:cursor-grab active:cursor-grabbing active:shadow-lg"
>
<div className="flex flex-1 items-center space-x-2 p-2">
{screenshot.uploading ? (
<LoadingSpinner className="h-4 w-4" />
) : (
- <Paperclip className="h-4 w-4 text-gray-500" />
+ <Paperclip className="h-4 w-4 text-neutral-500" />
)}
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
{screenshot.file?.name || screenshot.key}
</p>
</div>
<button
disabled={!canManageApp}
- className="h-full rounded-r-md border-l border-gray-200 p-2"
+ className="h-full rounded-r-md border-l border-neutral-200 p-2"
onClick={() => {
setScreenshots((prev) =>
prev.filter((s) => s.key !== screenshot.key),
);
}}
>
- <Trash2 className="h-4 w-4 text-gray-500" />
+ <Trash2 className="h-4 w-4 text-neutral-500" />
</button>
</Reorder.Item>
))}
@@ -371,7 +375,7 @@ export default function AddOAuthAppForm({
<FileUpload
accept="images"
- className="mt-2 aspect-[5/1] w-full rounded-md border border-dashed border-gray-300"
+ className="mt-2 aspect-[5/1] w-full rounded-md border border-dashed border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
onChange={async ({ file }) => await handleUpload(file)}
@@ -382,7 +386,7 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="developer" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Developer name
</h2>
<InfoTooltip content="The person or company developing this application" />
@@ -390,9 +394,9 @@ export default function AddOAuthAppForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -406,15 +410,17 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="website" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Website URL</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Website URL
+ </h2>
<InfoTooltip content="URL to the developer's website or documentation" />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
type="url"
@@ -429,15 +435,17 @@ export default function AddOAuthAppForm({
<div>
<label htmlFor="installUrl" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Install URL</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Install URL
+ </h2>
<InfoTooltip content="An optional URL for installing the application" />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
type="url"
@@ -460,7 +468,7 @@ export default function AddOAuthAppForm({
htmlFor="redirectUris"
className="flex items-center space-x-2"
>
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Callback URLs
</h2>
<InfoTooltip content="All OAuth redirect URLs, All URLs must use HTTPS, except for localhost." />
@@ -496,9 +504,10 @@ export default function AddOAuthAppForm({
);
}}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50":
+ !canManageApp,
},
)}
disabled={!canManageApp}
@@ -521,7 +530,7 @@ export default function AddOAuthAppForm({
setUrls(newUrls);
}}
- className="h-[26px] border-gray-300 px-2.5 py-1 text-xs text-red-500 hover:bg-gray-50"
+ className="h-[26px] border-neutral-300 px-2.5 py-1 text-xs text-red-500 hover:bg-neutral-50"
disabled={!canManageApp}
/>
</div>
@@ -538,7 +547,7 @@ export default function AddOAuthAppForm({
<div className="flex items-center justify-between pb-4 pt-2">
<label htmlFor="pkce" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Allow PKCE</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Allow PKCE</h2>
<InfoTooltip content="We strongly recommend using the PKCE flow for increased security. Make sure your application supports it." />
</label>
<Switch
diff --git a/apps/web/ui/oauth-apps/add-edit-integration-form.tsx b/apps/web/ui/oauth-apps/add-edit-integration-form.tsx
index 4964c69401..ed66fe2ff7 100644
--- a/apps/web/ui/oauth-apps/add-edit-integration-form.tsx
+++ b/apps/web/ui/oauth-apps/add-edit-integration-form.tsx
@@ -127,7 +127,7 @@ export default function AddEditIntegrationForm({
<div>
<FileUpload
accept="images"
- className="h-24 w-24 rounded-full border border-gray-300"
+ className="h-24 w-24 rounded-full border border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
readFile
@@ -144,7 +144,7 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Application name
</h2>
<InfoTooltip content="Application name will be displayed in the OAuth consent screen" />
@@ -152,9 +152,9 @@ export default function AddEditIntegrationForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -170,7 +170,7 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Application slug
</h2>
<InfoTooltip content="Unique slug for this application on Dub" />
@@ -178,9 +178,9 @@ export default function AddEditIntegrationForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -195,7 +195,9 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Description</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Description
+ </h2>
<InfoTooltip content="Description of your application" />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
@@ -203,9 +205,9 @@ export default function AddEditIntegrationForm({
name="description"
minRows={2}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
placeholder="Add a description"
@@ -221,7 +223,7 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Overview</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Overview</h2>
<InfoTooltip content="Provide some details about your integration. This will be displayed on the integration page. Markdown is supported." />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
@@ -229,9 +231,9 @@ export default function AddEditIntegrationForm({
name="readme"
minRows={10}
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
placeholder="## My Awesome Integration"
@@ -247,7 +249,9 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Screenshots</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Screenshots
+ </h2>
<InfoTooltip content="You can upload up to 4 screenshots that will be displayed on the integration page." />
</label>
<Reorder.Group
@@ -260,28 +264,28 @@ export default function AddEditIntegrationForm({
<Reorder.Item
key={screenshot.key}
value={screenshot}
- className="group flex w-full items-center justify-between rounded-md border border-gray-200 bg-white transition-shadow hover:cursor-grab active:cursor-grabbing active:shadow-lg"
+ className="group flex w-full items-center justify-between rounded-md border border-neutral-200 bg-white transition-shadow hover:cursor-grab active:cursor-grabbing active:shadow-lg"
>
<div className="flex flex-1 items-center space-x-2 p-2">
{screenshot.uploading ? (
<LoadingSpinner className="h-4 w-4" />
) : (
- <Paperclip className="h-4 w-4 text-gray-500" />
+ <Paperclip className="h-4 w-4 text-neutral-500" />
)}
- <p className="text-center text-sm text-gray-500">
+ <p className="text-center text-sm text-neutral-500">
{screenshot.file?.name || screenshot.key}
</p>
</div>
<button
disabled={!canManageApp}
- className="h-full rounded-r-md border-l border-gray-200 p-2"
+ className="h-full rounded-r-md border-l border-neutral-200 p-2"
onClick={() => {
setScreenshots((prev) =>
prev.filter((s) => s.key !== screenshot.key),
);
}}
>
- <Trash2 className="h-4 w-4 text-gray-500" />
+ <Trash2 className="h-4 w-4 text-neutral-500" />
</button>
</Reorder.Item>
))}
@@ -289,7 +293,7 @@ export default function AddEditIntegrationForm({
<FileUpload
accept="images"
- className="mt-2 aspect-[5/1] w-full rounded-md border border-dashed border-gray-300"
+ className="mt-2 aspect-[5/1] w-full rounded-md border border-dashed border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
onChange={async ({ file }) => await handleUpload(file)}
@@ -300,7 +304,7 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="developer" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Developer name
</h2>
<InfoTooltip content="The person or company developing this application" />
@@ -308,9 +312,9 @@ export default function AddEditIntegrationForm({
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
required
@@ -324,15 +328,17 @@ export default function AddEditIntegrationForm({
<div>
<label htmlFor="website" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Website URL</h2>
+ <h2 className="text-sm font-medium text-neutral-900">
+ Website URL
+ </h2>
<InfoTooltip content="URL to the developer's website or documentation" />
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": !canManageApp,
+ "cursor-not-allowed bg-neutral-50": !canManageApp,
},
)}
type="url"
diff --git a/apps/web/ui/oauth-apps/oauth-app-card.tsx b/apps/web/ui/oauth-apps/oauth-app-card.tsx
index 5af6fa8b91..51956b7666 100644
--- a/apps/web/ui/oauth-apps/oauth-app-card.tsx
+++ b/apps/web/ui/oauth-apps/oauth-app-card.tsx
@@ -10,10 +10,10 @@ export default function OAuthAppCard(oAuthApp: OAuthAppProps) {
return (
<Link
href={`/${slug}/settings/oauth-apps/${oAuthApp.id}`}
- className="hover:drop-shadow-card-hover relative rounded-xl border border-gray-200 bg-white px-5 py-4 transition-[filter]"
+ className="hover:drop-shadow-card-hover relative rounded-xl border border-neutral-200 bg-white px-5 py-4 transition-[filter]"
>
<div className="flex items-center gap-x-3">
- <div className="rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2.5">
+ <div className="rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2.5">
{oAuthApp.logo ? (
<BlurImage
src={oAuthApp.logo}
@@ -27,10 +27,10 @@ export default function OAuthAppCard(oAuthApp: OAuthAppProps) {
)}
</div>
<div>
- <p className="font-semibold text-gray-700">{oAuthApp.name}</p>
- <div className="flex items-center gap-1 text-sm text-gray-500">
+ <p className="font-semibold text-neutral-700">{oAuthApp.name}</p>
+ <div className="flex items-center gap-1 text-sm text-neutral-500">
Last updated
- <span className="font-medium text-gray-700">
+ <span className="font-medium text-neutral-700">
{formatDate(oAuthApp.updatedAt, { year: undefined })}
</span>
</div>
diff --git a/apps/web/ui/oauth-apps/oauth-app-credentials.tsx b/apps/web/ui/oauth-apps/oauth-app-credentials.tsx
index 9db15ff2ba..7b086275ea 100644
--- a/apps/web/ui/oauth-apps/oauth-app-credentials.tsx
+++ b/apps/web/ui/oauth-apps/oauth-app-credentials.tsx
@@ -18,20 +18,24 @@ export default function OAuthAppCredentials({
return (
<div className="flex flex-col space-y-3 text-left">
<div className="space-y-2">
- <label className="text-sm font-medium text-gray-500">Client ID</label>
- <div className="grid grid-cols-[1fr,auto] items-center gap-2 rounded-md border border-gray-300 bg-white p-3">
- <p className="truncate font-mono text-sm text-gray-500">{clientId}</p>
+ <label className="text-sm font-medium text-neutral-500">
+ Client ID
+ </label>
+ <div className="grid grid-cols-[1fr,auto] items-center gap-2 rounded-md border border-neutral-300 bg-white p-3">
+ <p className="truncate font-mono text-sm text-neutral-500">
+ {clientId}
+ </p>
<CopyButton value={clientId} className="rounded-md" />
</div>
</div>
{clientSecret && (
<div className="space-y-2">
- <label className="text-sm font-medium text-gray-500">
+ <label className="text-sm font-medium text-neutral-500">
Client Secret
</label>
- <div className="flex items-center justify-between rounded-md border border-gray-300 bg-white p-3">
- <p className="text-nowrap font-mono text-sm text-gray-500">
+ <div className="flex items-center justify-between rounded-md border border-neutral-300 bg-white p-3">
+ <p className="text-nowrap font-mono text-sm text-neutral-500">
{clientSecret}
</p>
<div className="flex flex-col gap-2">
@@ -47,11 +51,11 @@ export default function OAuthAppCredentials({
{!clientSecret && partialClientSecret && (
<div className="space-y-2">
- <label className="text-sm font-medium text-gray-500">
+ <label className="text-sm font-medium text-neutral-500">
Client Secret
</label>
- <div className="flex items-center justify-between rounded-md border border-gray-300 bg-white p-3">
- <p className="text-nowrap font-mono text-sm text-gray-500">
+ <div className="flex items-center justify-between rounded-md border border-neutral-300 bg-white p-3">
+ <p className="text-nowrap font-mono text-sm text-neutral-500">
{partialClientSecret}
</p>
</div>
diff --git a/apps/web/ui/oauth-apps/oauth-app-placeholder.tsx b/apps/web/ui/oauth-apps/oauth-app-placeholder.tsx
index d9a4891299..5c82c5e5ff 100644
--- a/apps/web/ui/oauth-apps/oauth-app-placeholder.tsx
+++ b/apps/web/ui/oauth-apps/oauth-app-placeholder.tsx
@@ -1,11 +1,11 @@
export default function OAuthAppPlaceholder() {
return (
- <div className="relative grid gap-4 rounded-xl border border-gray-200 bg-white px-5 py-4">
+ <div className="relative grid gap-4 rounded-xl border border-neutral-200 bg-white px-5 py-4">
<div className="flex items-center gap-2">
- <div className="flex h-10 w-10 items-center justify-center rounded bg-gray-100" />
+ <div className="flex h-10 w-10 items-center justify-center rounded bg-neutral-100" />
<div className="flex flex-col gap-1">
- <div className="h-3 w-20 rounded-full bg-gray-100"></div>
- <div className="h-3 w-28 rounded-full bg-gray-100"></div>
+ <div className="h-3 w-20 rounded-full bg-neutral-100"></div>
+ <div className="h-3 w-28 rounded-full bg-neutral-100"></div>
</div>
</div>
</div>
diff --git a/apps/web/ui/partners/create-payout-sheet.tsx b/apps/web/ui/partners/create-payout-sheet.tsx
index 0bc2d4a991..e7d88ac314 100644
--- a/apps/web/ui/partners/create-payout-sheet.tsx
+++ b/apps/web/ui/partners/create-payout-sheet.tsx
@@ -312,7 +312,7 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
<div className="flex flex-col gap-4 p-6">
{!props.partnerId && (
<div className="flex flex-col gap-2">
- <label className="text-sm font-medium text-gray-900">
+ <label className="text-sm font-medium text-neutral-900">
Partner
<span className="ml-1 font-normal text-neutral-500">
(required)
@@ -335,10 +335,10 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
matchTriggerWidth
buttonProps={{
className: cn(
- "w-full justify-start border-gray-300 px-3",
- "data-[state=open]:ring-1 data-[state=open]:ring-gray-500 data-[state=open]:border-gray-500",
- "focus:ring-1 focus:ring-gray-500 focus:border-gray-500 transition-none",
- !partnerId && "text-gray-400",
+ "w-full justify-start border-neutral-300 px-3",
+ "data-[state=open]:ring-1 data-[state=open]:ring-neutral-500 data-[state=open]:border-neutral-500",
+ "focus:ring-1 focus:ring-neutral-500 focus:border-neutral-500 transition-none",
+ !partnerId && "text-neutral-400",
errors.partnerId && "border-red-500",
),
}}
@@ -354,7 +354,7 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
<div className="flex flex-col gap-2">
<label
htmlFor={dateRangePickerId}
- className="block text-sm font-medium text-gray-900"
+ className="block text-sm font-medium text-neutral-900"
>
Payout period
{payoutType === "custom" && (
@@ -365,7 +365,7 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
</label>
<DateRangePicker
id={dateRangePickerId}
- className="border-gray-300"
+ className="border-neutral-300"
value={
start && end
? {
@@ -431,13 +431,13 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
<div className="flex flex-col gap-2">
<label
htmlFor="type"
- className="flex items-center space-x-2 text-sm font-medium text-gray-900"
+ className="flex items-center space-x-2 text-sm font-medium text-neutral-900"
>
Reward type
</label>
<select
{...register("type", { required: true })}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
onChange={(e) => {
const type = e.target.value as Exclude<PayoutType, "sales">;
@@ -498,7 +498,7 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
<div className="flex flex-col gap-2">
<label
htmlFor="description"
- className="flex items-center space-x-2 text-sm font-medium text-gray-900"
+ className="flex items-center space-x-2 text-sm font-medium text-neutral-900"
>
Description{" "}
<span className="ml-1 font-normal text-neutral-500">
@@ -507,7 +507,7 @@ function CreatePayoutSheetContent(props: CreatePayoutSheetProps) {
</label>
<textarea
{...register("description")}
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="A note to partner about this payout. Max 190 characters."
maxLength={190}
onKeyDown={handleKeyDown}
diff --git a/apps/web/ui/partners/customer-details-sheet.tsx b/apps/web/ui/partners/customer-details-sheet.tsx
index af56535983..b505ed9bbf 100644
--- a/apps/web/ui/partners/customer-details-sheet.tsx
+++ b/apps/web/ui/partners/customer-details-sheet.tsx
@@ -116,7 +116,7 @@ function CustomerDetailsSheetContent({ customer }: CustomerDetailsSheetProps) {
<span className="text-lg font-semibold leading-tight text-neutral-900">
{customer.name}
</span>
- <span className="rounded-full border border-neutral-200 bg-gray-200 px-1.5 py-0.5 text-xs text-neutral-900">
+ <span className="rounded-full border border-neutral-200 bg-neutral-200 px-1.5 py-0.5 text-xs text-neutral-900">
{new Date(customer.createdAt).toLocaleDateString("en-US", {
month: "short",
day: "numeric",
diff --git a/apps/web/ui/partners/lander-blocks/FilesBlock.tsx b/apps/web/ui/partners/lander-blocks/FilesBlock.tsx
index c78e30179d..e49cb46a6f 100644
--- a/apps/web/ui/partners/lander-blocks/FilesBlock.tsx
+++ b/apps/web/ui/partners/lander-blocks/FilesBlock.tsx
@@ -22,8 +22,8 @@ export function FilesBlock({
{...(file.external ? { target: "_blank" } : { download: true })}
>
<div className="flex min-w-0 items-center gap-4">
- <div className="rounded-full border border-gray-200">
- <div className="rounded-full border border-white bg-gradient-to-t from-gray-100 p-1 md:p-2">
+ <div className="rounded-full border border-neutral-200">
+ <div className="rounded-full border border-white bg-gradient-to-t from-neutral-100 p-1 md:p-2">
{logo ? (
<img src={logo} alt="" className="size-4 rounded-full" />
) : (
diff --git a/apps/web/ui/partners/partner-link-selector.tsx b/apps/web/ui/partners/partner-link-selector.tsx
index b5aab8a263..44d4bd39d7 100644
--- a/apps/web/ui/partners/partner-link-selector.tsx
+++ b/apps/web/ui/partners/partner-link-selector.tsx
@@ -85,10 +85,10 @@ export function PartnerLinkSelector({
onSearchChange={setSearch}
buttonProps={{
className: cn(
- "w-full justify-start border-gray-300 px-3 shadow-sm",
- "data-[state=open]:ring-1 data-[state=open]:ring-gray-500 data-[state=open]:border-gray-500",
- "focus:ring-1 focus:ring-gray-500 focus:border-gray-500 transition-none",
- !selectedLinkId && "text-gray-400",
+ "w-full justify-start border-neutral-300 px-3 shadow-sm",
+ "data-[state=open]:ring-1 data-[state=open]:ring-neutral-500 data-[state=open]:border-neutral-500",
+ "focus:ring-1 focus:ring-neutral-500 focus:border-neutral-500 transition-none",
+ !selectedLinkId && "text-neutral-400",
error &&
"border-red-500 focus:border-red-500 focus:ring-red-500 data-[state=open]:ring-red-500 data-[state=open]:border-red-500",
),
@@ -100,7 +100,7 @@ export function PartnerLinkSelector({
}
/>
{selectedLink?.url && showDestinationUrl && (
- <div className="ml-2 mt-2 flex items-center gap-1 text-xs text-gray-500">
+ <div className="ml-2 mt-2 flex items-center gap-1 text-xs text-neutral-500">
<ArrowTurnRight2 className="size-3 shrink-0" />
<span className="min-w-0 truncate">
Destination URL:{" "}
diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsx
index a97107fb5c..930eb7e3b8 100644
--- a/apps/web/ui/partners/payout-invoice-sheet.tsx
+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx
@@ -262,7 +262,7 @@ function PayoutInvoiceSheetContent({ setIsOpen }: PayoutInvoiceSheetProps) {
header: ({ table }) => (
<input
type="checkbox"
- className="h-4 w-4 cursor-pointer rounded-full border-gray-300 text-black focus:outline-none focus:ring-0"
+ className="h-4 w-4 cursor-pointer rounded-full border-neutral-300 text-black focus:outline-none focus:ring-0"
checked={table.getIsAllRowsSelected()}
onChange={table.getToggleAllRowsSelectedHandler()}
/>
@@ -270,7 +270,7 @@ function PayoutInvoiceSheetContent({ setIsOpen }: PayoutInvoiceSheetProps) {
cell: ({ row }) => (
<input
type="checkbox"
- className="h-4 w-4 cursor-pointer rounded-full border-gray-300 text-black focus:outline-none focus:ring-0"
+ className="h-4 w-4 cursor-pointer rounded-full border-neutral-300 text-black focus:outline-none focus:ring-0"
checked={row.getIsSelected()}
onChange={row.getToggleSelectedHandler()}
/>
diff --git a/apps/web/ui/partners/program-card.tsx b/apps/web/ui/partners/program-card.tsx
index a6b4ac3879..e2b9e75e61 100644
--- a/apps/web/ui/partners/program-card.tsx
+++ b/apps/web/ui/partners/program-card.tsx
@@ -44,7 +44,7 @@ export function ProgramCard({
)}
>
<div className="flex items-center gap-4">
- <div className="flex size-10 items-center justify-center rounded-full border border-gray-200 bg-gradient-to-t from-gray-100">
+ <div className="flex size-10 items-center justify-center rounded-full border border-neutral-200 bg-gradient-to-t from-neutral-100">
<BlurImage
width={96}
height={96}
diff --git a/apps/web/ui/partners/program-stats-filter.tsx b/apps/web/ui/partners/program-stats-filter.tsx
index 614db5dc97..720c081a15 100644
--- a/apps/web/ui/partners/program-stats-filter.tsx
+++ b/apps/web/ui/partners/program-stats-filter.tsx
@@ -21,7 +21,7 @@ export function ProgramStatsFilter({
return (
<Link
href={href}
- className="flex items-center gap-4 p-3 text-left transition-colors duration-75 hover:bg-gray-50 active:bg-gray-100"
+ className="flex items-center gap-4 p-3 text-left transition-colors duration-75 hover:bg-neutral-50 active:bg-neutral-100"
>
<div
className={cn(
diff --git a/apps/web/ui/partners/sale-row-menu.tsx b/apps/web/ui/partners/sale-row-menu.tsx
index 5c6f59cb0e..334329bd38 100644
--- a/apps/web/ui/partners/sale-row-menu.tsx
+++ b/apps/web/ui/partners/sale-row-menu.tsx
@@ -120,7 +120,7 @@ function MenuItem({
<Command.Item
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
disabled && "cursor-not-allowed opacity-50",
)}
onSelect={onSelect}
diff --git a/apps/web/ui/placeholders/feature-graphics/qr.tsx b/apps/web/ui/placeholders/feature-graphics/qr.tsx
index 68ef93c4b7..c6b3cf07ee 100644
--- a/apps/web/ui/placeholders/feature-graphics/qr.tsx
+++ b/apps/web/ui/placeholders/feature-graphics/qr.tsx
@@ -26,7 +26,7 @@ export function QR() {
<div className="flex items-center justify-between">
<h3 className="text-base font-medium">QR Code Design</h3>
<div className="max-md:hidden" aria-hidden>
- <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-gray-200 font-sans text-xs text-gray-950">
+ <kbd className="flex size-6 cursor-default items-center justify-center rounded-md border border-neutral-200 font-sans text-xs text-neutral-950">
Q
</kbd>
</div>
@@ -35,17 +35,17 @@ export function QR() {
<div>
<div className="flex items-center justify-between gap-2">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium text-gray-700">
+ <span className="text-sm font-medium text-neutral-700">
QR Code Preview
</span>
- <HelpCircle className="size-4 text-gray-500" />
+ <HelpCircle className="size-4 text-neutral-500" />
</div>
<div className="flex h-6 items-center gap-3 px-1">
- <Download className="size-4 text-gray-500" />
- <Copy className="size-4 text-gray-500" />
+ <Download className="size-4 text-neutral-500" />
+ <Copy className="size-4 text-neutral-500" />
</div>
</div>
- <div className="relative mt-2 flex h-40 items-center justify-center overflow-hidden rounded-md border border-gray-300">
+ <div className="relative mt-2 flex h-40 items-center justify-center overflow-hidden rounded-md border border-neutral-300">
<ClientOnly>
{!isMobile && (
<ShimmerDots className="opacity-30 [mask-image:radial-gradient(40%_80%,transparent_50%,black)]" />
@@ -60,8 +60,8 @@ export function QR() {
{/* Logo toggle */}
<div className="flex items-center justify-between">
<div className="flex items-center gap-2">
- <span className="text-sm font-medium text-gray-700">Logo</span>
- <HelpCircle className="size-4 text-gray-500" />
+ <span className="text-sm font-medium text-neutral-700">Logo</span>
+ <HelpCircle className="size-4 text-neutral-500" />
</div>
<Switch
checked={!hideLogo}
diff --git a/apps/web/ui/shared/animated-empty-state.tsx b/apps/web/ui/shared/animated-empty-state.tsx
index 6780982882..2c7baccda7 100644
--- a/apps/web/ui/shared/animated-empty-state.tsx
+++ b/apps/web/ui/shared/animated-empty-state.tsx
@@ -27,7 +27,7 @@ export function AnimatedEmptyState({
return (
<div
className={cn(
- "flex flex-col items-center justify-center gap-6 rounded-lg border border-gray-200 px-4 py-10 md:min-h-[500px]",
+ "flex flex-col items-center justify-center gap-6 rounded-lg border border-neutral-200 px-4 py-10 md:min-h-[500px]",
className,
)}
>
diff --git a/apps/web/ui/shared/search-box.tsx b/apps/web/ui/shared/search-box.tsx
index 168b1e0901..ca6acf2d41 100644
--- a/apps/web/ui/shared/search-box.tsx
+++ b/apps/web/ui/shared/search-box.tsx
@@ -72,15 +72,15 @@ export const SearchBox = forwardRef(
{loading && value.length > 0 ? (
<LoadingSpinner className="h-4 w-4" />
) : (
- <Magnifier className="h-4 w-4 text-gray-400" />
+ <Magnifier className="h-4 w-4 text-neutral-400" />
)}
</div>
<input
ref={inputRef}
type="text"
className={cn(
- "peer w-full rounded-md border border-gray-200 px-10 text-black outline-none placeholder:text-gray-400 sm:text-sm",
- "transition-all focus:border-gray-500 focus:ring-4 focus:ring-gray-200",
+ "peer w-full rounded-md border border-neutral-200 px-10 text-black outline-none placeholder:text-neutral-400 sm:text-sm",
+ "transition-all focus:border-neutral-500 focus:ring-4 focus:ring-neutral-200",
inputClassName,
)}
placeholder="Search..."
@@ -99,7 +99,7 @@ export const SearchBox = forwardRef(
}}
className="pointer-events-auto absolute inset-y-0 right-0 flex items-center pr-4"
>
- <CircleXmark className="h-4 w-4 text-gray-600" />
+ <CircleXmark className="h-4 w-4 text-neutral-600" />
</button>
)}
</div>
diff --git a/apps/web/ui/shared/upgrade-required-toast.tsx b/apps/web/ui/shared/upgrade-required-toast.tsx
index c0ab2e1b2d..7471f37af2 100644
--- a/apps/web/ui/shared/upgrade-required-toast.tsx
+++ b/apps/web/ui/shared/upgrade-required-toast.tsx
@@ -19,11 +19,11 @@ export const UpgradeRequiredToast = ({
<Crown className="h-5 w-5 text-black" />{" "}
<p className="font-semibold">{title}</p>
</div>
- <p className="text-sm text-gray-600">{message}</p>
+ <p className="text-sm text-neutral-600">{message}</p>
<Link
href={slug ? `/${slug}/upgrade?exit=close` : "https://dub.co/pricing"}
target="_blank"
- className="w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200"
+ className="w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-neutral-800 hover:ring-4 hover:ring-neutral-200"
>
Upgrade to {nextPlan.name}
</Link>
diff --git a/apps/web/ui/webhooks/add-edit-webhook-form.tsx b/apps/web/ui/webhooks/add-edit-webhook-form.tsx
index 2d0922ddbe..e54b715a8b 100644
--- a/apps/web/ui/webhooks/add-edit-webhook-form.tsx
+++ b/apps/web/ui/webhooks/add-edit-webhook-form.tsx
@@ -121,14 +121,14 @@ export default function AddEditWebhookForm({
>
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">Name</h2>
+ <h2 className="text-sm font-medium text-neutral-900">Name</h2>
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": updateDisabled,
+ "cursor-not-allowed bg-neutral-50": updateDisabled,
},
)}
required
@@ -144,14 +144,14 @@ export default function AddEditWebhookForm({
<div>
<label htmlFor="url" className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">URL</h2>
+ <h2 className="text-sm font-medium text-neutral-900">URL</h2>
</label>
<div className="relative mt-2 rounded-md shadow-sm">
<input
className={cn(
- "block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-50": updateDisabled,
+ "cursor-not-allowed bg-neutral-50": updateDisabled,
},
)}
required
@@ -166,13 +166,13 @@ export default function AddEditWebhookForm({
<div className="space-y-2">
<label className="flex items-center space-x-2">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Signing secret
</h2>
<InfoTooltip content="A secret token used to sign the webhook payload." />
</label>
- <div className="flex items-center justify-between rounded-md border border-gray-300 bg-white px-3 py-1">
- <p className="text-nowrap font-mono text-sm text-gray-500">
+ <div className="flex items-center justify-between rounded-md border border-neutral-300 bg-white px-3 py-1">
+ <p className="text-nowrap font-mono text-sm text-neutral-500">
{secret}
</p>
<div className="flex flex-col gap-2">
@@ -181,12 +181,12 @@ export default function AddEditWebhookForm({
</div>
</div>
- <div className="rounded-md border border-gray-200 p-4">
+ <div className="rounded-md border border-neutral-200 p-4">
<label htmlFor="triggers" className="flex flex-col gap-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Workspace level events
</h2>
- <span className="text-xs text-gray-500">
+ <span className="text-xs text-neutral-500">
These events are triggered at the workspace level.
</span>
</label>
@@ -209,7 +209,7 @@ export default function AddEditWebhookForm({
/>
<label
htmlFor={trigger}
- className="select-none text-sm text-gray-600 group-hover:text-gray-800"
+ className="select-none text-sm text-neutral-600 group-hover:text-neutral-800"
>
{WEBHOOK_TRIGGER_DESCRIPTIONS[trigger]}
</label>
@@ -218,15 +218,15 @@ export default function AddEditWebhookForm({
</div>
</div>
- <div className="rounded-md border border-gray-200 p-4">
+ <div className="rounded-md border border-neutral-200 p-4">
<label htmlFor="triggers" className="flex flex-col gap-1">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Link level events{" "}
<span className="rounded bg-yellow-100 px-1 py-0.5 text-xs font-medium text-yellow-800">
High traffic
</span>
</h2>
- <span className="text-xs text-gray-500">
+ <span className="text-xs text-neutral-500">
These events are triggered at the link level.
</span>
</label>
@@ -249,7 +249,7 @@ export default function AddEditWebhookForm({
/>
<label
htmlFor={trigger}
- className="flex select-none items-center gap-2 text-sm text-gray-600 group-hover:text-gray-800"
+ className="flex select-none items-center gap-2 text-sm text-neutral-600 group-hover:text-neutral-800"
>
{WEBHOOK_TRIGGER_DESCRIPTIONS[trigger]}
</label>
@@ -259,7 +259,7 @@ export default function AddEditWebhookForm({
{enableLinkSelection || linkIds.length ? (
<div className="mt-4">
- <h2 className="text-sm font-medium text-gray-900">
+ <h2 className="text-sm font-medium text-neutral-900">
Choose links we should send events for
</h2>
<div className="mt-3">
diff --git a/apps/web/ui/webhooks/link-selector.tsx b/apps/web/ui/webhooks/link-selector.tsx
index effb10e564..a43709c06f 100644
--- a/apps/web/ui/webhooks/link-selector.tsx
+++ b/apps/web/ui/webhooks/link-selector.tsx
@@ -78,7 +78,7 @@ export function LinksSelector({
buttonProps={{
disabled,
className: cn(
- "h-auto py-1.5 px-2.5 w-full max-w-full text-gray-700 border-gray-300 items-start",
+ "h-auto py-1.5 px-2.5 w-full max-w-full text-neutral-700 border-neutral-300 items-start",
),
}}
>
@@ -89,7 +89,7 @@ export function LinksSelector({
{selectedOptions.slice(0, 10).map((option) => (
<span
key={option.value}
- className="animate-fade-in flex min-w-0 items-center gap-1 rounded-md bg-gray-100 px-1.5 py-1 text-xs text-gray-600"
+ className="animate-fade-in flex min-w-0 items-center gap-1 rounded-md bg-neutral-100 px-1.5 py-1 text-xs text-neutral-600"
>
<LinkLogo
apexDomain={getApexDomain(option.meta.url)}
@@ -102,7 +102,7 @@ export function LinksSelector({
))}
</div>
) : (
- <div className="my-0.5 h-5 w-1/3 animate-pulse rounded bg-gray-200" />
+ <div className="my-0.5 h-5 w-1/3 animate-pulse rounded bg-neutral-200" />
)}
</Combobox>
);
diff --git a/apps/web/ui/webhooks/loading-events-skelton.tsx b/apps/web/ui/webhooks/loading-events-skelton.tsx
index bd897ff634..3da807245d 100644
--- a/apps/web/ui/webhooks/loading-events-skelton.tsx
+++ b/apps/web/ui/webhooks/loading-events-skelton.tsx
@@ -1,15 +1,15 @@
export const WebhookEventListSkeleton = () => {
return (
- <div className="rounded-xl border border-gray-200">
- <div className="flex flex-col divide-y divide-gray-200">
+ <div className="rounded-xl border border-neutral-200">
+ <div className="flex flex-col divide-y divide-neutral-200">
{[...Array(5)].map((_, index) => (
<div
className="flex items-center justify-between gap-5 px-3.5 py-4"
key={index}
>
- <div className="flex items-center gap-2.5 text-gray-500">
- <div className="h-4 w-4 animate-pulse rounded-full bg-gray-200" />
- <div className="h-4 w-28 animate-pulse rounded-full bg-gray-200" />
+ <div className="flex items-center gap-2.5 text-neutral-500">
+ <div className="h-4 w-4 animate-pulse rounded-full bg-neutral-200" />
+ <div className="h-4 w-28 animate-pulse rounded-full bg-neutral-200" />
</div>
</div>
))}
diff --git a/apps/web/ui/webhooks/no-events-placeholder.tsx b/apps/web/ui/webhooks/no-events-placeholder.tsx
index 7f8843b071..979bd06469 100644
--- a/apps/web/ui/webhooks/no-events-placeholder.tsx
+++ b/apps/web/ui/webhooks/no-events-placeholder.tsx
@@ -3,7 +3,7 @@ import EmptyState from "../shared/empty-state";
export const NoEventsPlaceholder = () => {
return (
- <div className="rounded-xl border border-gray-200 py-10">
+ <div className="rounded-xl border border-neutral-200 py-10">
<EmptyState
icon={Webhook}
title="No events"
diff --git a/apps/web/ui/webhooks/webhook-card.tsx b/apps/web/ui/webhooks/webhook-card.tsx
index 3e5798494e..08932bc0bc 100644
--- a/apps/web/ui/webhooks/webhook-card.tsx
+++ b/apps/web/ui/webhooks/webhook-card.tsx
@@ -10,18 +10,20 @@ export default function WebhookCard(webhook: WebhookProps) {
return (
<Link
href={`/${slug}/settings/webhooks/${webhook.id}`}
- className="hover:drop-shadow-card-hover relative rounded-xl border border-gray-200 bg-white px-5 py-4 transition-[filter]"
+ className="hover:drop-shadow-card-hover relative rounded-xl border border-neutral-200 bg-white px-5 py-4 transition-[filter]"
>
<div className="flex items-center gap-x-3">
- <div className="flex-shrink-0 rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2.5">
+ <div className="flex-shrink-0 rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2.5">
<TokenAvatar id={webhook.name} className="size-6" />
</div>
<div className="overflow-hidden">
<div className="flex items-center gap-1">
- <span className="font-semibold text-gray-700">{webhook.name}</span>
+ <span className="font-semibold text-neutral-700">
+ {webhook.name}
+ </span>
<WebhookStatus webhook={webhook} />
</div>
- <div className="truncate text-sm text-gray-500">{webhook.url}</div>
+ <div className="truncate text-sm text-neutral-500">{webhook.url}</div>
</div>
</div>
</Link>
diff --git a/apps/web/ui/webhooks/webhook-events.tsx b/apps/web/ui/webhooks/webhook-events.tsx
index 5305bf5c82..e4d9c0ff3c 100644
--- a/apps/web/ui/webhooks/webhook-events.tsx
+++ b/apps/web/ui/webhooks/webhook-events.tsx
@@ -74,7 +74,7 @@ const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
<button
type="button"
onClick={() => setIsOpen(true)}
- className="flex items-center justify-between gap-5 px-3.5 py-3 hover:bg-gray-50 focus:outline-none"
+ className="flex items-center justify-between gap-5 px-3.5 py-3 hover:bg-neutral-50 focus:outline-none"
>
<div className="flex items-center gap-5">
<div className="flex items-center gap-2.5">
@@ -93,12 +93,12 @@ const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
)}
</div>
</Tooltip>
- <div className="text-sm text-gray-500">{event.http_status}</div>
+ <div className="text-sm text-neutral-500">{event.http_status}</div>
</div>
- <div className="text-sm text-gray-500">{event.event}</div>
+ <div className="text-sm text-neutral-500">{event.event}</div>
</div>
- <div className="text-xs text-gray-400">
+ <div className="text-xs text-neutral-400">
{(() => {
const date = new Date(event.timestamp);
const localDate = new Date(
@@ -129,7 +129,9 @@ const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
</Sheet.Close>
</div>
<div className="group flex items-center gap-2">
- <p className="font-mono text-sm text-gray-500">{event.event_id}</p>
+ <p className="font-mono text-sm text-neutral-500">
+ {event.event_id}
+ </p>
<ButtonTooltip
tooltipProps={{
content: "Copy event ID",
@@ -144,18 +146,18 @@ const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
</ButtonTooltip>
</div>
</div>
- <div className="grid gap-4 border-t border-gray-200 bg-white p-6">
+ <div className="grid gap-4 border-t border-neutral-200 bg-white p-6">
<h4 className="font-semibold">Response</h4>
<div className="flex items-center gap-8">
- <p className="text-sm text-gray-500">HTTP status code</p>
- <p className="text-sm text-gray-700">{event.http_status}</p>
+ <p className="text-sm text-neutral-500">HTTP status code</p>
+ <p className="text-sm text-neutral-700">{event.http_status}</p>
</div>
<div
className="shiki-wrapper overflow-y-scroll text-sm"
dangerouslySetInnerHTML={{ __html: responseBody }}
/>
</div>
- <div className="grid gap-4 border-t border-gray-200 bg-white p-6">
+ <div className="grid gap-4 border-t border-neutral-200 bg-white p-6">
<h4 className="font-semibold">Request</h4>
<div
className="shiki-wrapper overflow-y-scroll text-sm"
@@ -169,8 +171,8 @@ const WebhookEvent = ({ event }: { event: WebhookEventProps }) => {
export const WebhookEventList = ({ events }: EventListProps) => {
return (
- <div className="overflow-hidden rounded-md border border-gray-200">
- <div className="flex flex-col divide-y divide-gray-200">
+ <div className="overflow-hidden rounded-md border border-neutral-200">
+ <div className="flex flex-col divide-y divide-neutral-200">
{events.map((event, index) => (
<WebhookEvent key={index} event={event} />
))}
diff --git a/apps/web/ui/webhooks/webhook-header.tsx b/apps/web/ui/webhooks/webhook-header.tsx
index 03ebce5050..c0222a6ae5 100644
--- a/apps/web/ui/webhooks/webhook-header.tsx
+++ b/apps/web/ui/webhooks/webhook-header.tsx
@@ -90,22 +90,22 @@ export default function WebhookHeader({ webhookId }: { webhookId: string }) {
<div className="flex justify-between gap-8 sm:items-center">
{isLoading || !webhook ? (
<div className="flex flex-col gap-3 sm:flex-row sm:items-center">
- <div className="w-fit flex-none rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2">
- <div className="size-8 rounded-full bg-gray-100" />
+ <div className="w-fit flex-none rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2">
+ <div className="size-8 rounded-full bg-neutral-100" />
</div>
<div className="flex flex-col gap-2">
- <div className="h-5 w-28 rounded-full bg-gray-100"></div>
- <div className="h-3 w-48 rounded-full bg-gray-100"></div>
+ <div className="h-5 w-28 rounded-full bg-neutral-100"></div>
+ <div className="h-3 w-48 rounded-full bg-neutral-100"></div>
</div>
</div>
) : (
<div className="flex flex-col gap-3 sm:flex-row sm:items-center">
- <div className="w-fit flex-none rounded-md border border-gray-200 bg-gradient-to-t from-gray-100 p-2">
+ <div className="w-fit flex-none rounded-md border border-neutral-200 bg-gradient-to-t from-neutral-100 p-2">
<TokenAvatar id={webhook.id} className="size-8" />
</div>
<div>
<div className="flex items-center gap-1">
- <span className="font-semibold text-gray-700">
+ <span className="font-semibold text-neutral-700">
{webhook.name}
</span>
<WebhookStatus webhook={webhook} />
@@ -113,7 +113,7 @@ export default function WebhookHeader({ webhookId }: { webhookId: string }) {
<a
href={webhook.url}
target="_blank"
- className="line-clamp-1 text-pretty break-all text-sm text-gray-500 underline-offset-4 hover:text-gray-700 hover:underline"
+ className="line-clamp-1 text-pretty break-all text-sm text-neutral-500 underline-offset-4 hover:text-neutral-700 hover:underline"
>
{webhook.url}
</a>
@@ -151,7 +151,7 @@ export default function WebhookHeader({ webhookId }: { webhookId: string }) {
/>
</div>
- <div className="h-px w-full bg-gray-200" />
+ <div className="h-px w-full bg-neutral-200" />
<div className="grid gap-px p-2">
<Button
@@ -208,13 +208,13 @@ export default function WebhookHeader({ webhookId }: { webhookId: string }) {
>
<Button
variant="outline"
- className="flex w-8 rounded-md border border-gray-200 px-2 transition-[border-color] duration-200"
- icon={<ThreeDots className="h-5 w-5 shrink-0 text-gray-500" />}
+ className="flex w-8 rounded-md border border-neutral-200 px-2 transition-[border-color] duration-200"
+ icon={<ThreeDots className="h-5 w-5 shrink-0 text-neutral-500" />}
onClick={() => setOpenPopover(!openPopover)}
/>
</Popover>
</div>
- <div className="-ml-1.5 border-b border-gray-200">
+ <div className="-ml-1.5 border-b border-neutral-200">
<TabSelect
options={[
{ id: "", label: "Event Logs" },
diff --git a/apps/web/ui/webhooks/webhook-placeholder.tsx b/apps/web/ui/webhooks/webhook-placeholder.tsx
index 8d97dbd0d9..f78cb7ab33 100644
--- a/apps/web/ui/webhooks/webhook-placeholder.tsx
+++ b/apps/web/ui/webhooks/webhook-placeholder.tsx
@@ -1,11 +1,11 @@
export default function WebhookPlaceholder() {
return (
- <div className="relative grid gap-4 rounded-xl border border-gray-200 bg-white px-5 py-4">
+ <div className="relative grid gap-4 rounded-xl border border-neutral-200 bg-white px-5 py-4">
<div className="flex items-center gap-2">
- <div className="flex size-12 items-center justify-center rounded-lg bg-gray-100" />
+ <div className="flex size-12 items-center justify-center rounded-lg bg-neutral-100" />
<div className="flex flex-col gap-2">
- <div className="h-4 w-20 rounded-full bg-gray-100"></div>
- <div className="h-3 w-28 rounded-full bg-gray-100"></div>
+ <div className="h-4 w-20 rounded-full bg-neutral-100"></div>
+ <div className="h-3 w-28 rounded-full bg-neutral-100"></div>
</div>
</div>
</div>
diff --git a/apps/web/ui/workspaces/conversion-tracking-toggle.tsx b/apps/web/ui/workspaces/conversion-tracking-toggle.tsx
index 0969ca1529..32ee98742f 100644
--- a/apps/web/ui/workspaces/conversion-tracking-toggle.tsx
+++ b/apps/web/ui/workspaces/conversion-tracking-toggle.tsx
@@ -11,7 +11,7 @@ export function ConversionTrackingToggle() {
const id = useId();
return (
- <div className="flex items-center justify-between gap-4 rounded-lg border border-gray-200 bg-white p-5">
+ <div className="flex items-center justify-between gap-4 rounded-lg border border-neutral-200 bg-white p-5">
<div className="flex min-w-0 items-center gap-4">
<div className="overflow-hidden">
<label
@@ -20,7 +20,7 @@ export function ConversionTrackingToggle() {
>
Workspace-level conversion tracking
</label>
- <p className="mt-1 flex items-center gap-1 text-sm text-gray-500">
+ <p className="mt-1 flex items-center gap-1 text-sm text-neutral-500">
Enable conversion tracking for all future links in this workspace.
This only affects links made with the link builder.
</p>
diff --git a/apps/web/ui/workspaces/create-workspace-form.tsx b/apps/web/ui/workspaces/create-workspace-form.tsx
index b2ece3ac95..b00389c965 100644
--- a/apps/web/ui/workspaces/create-workspace-form.tsx
+++ b/apps/web/ui/workspaces/create-workspace-form.tsx
@@ -86,7 +86,7 @@ export function CreateWorkspaceForm({
>
<div>
<label htmlFor="name" className="flex items-center space-x-2">
- <p className="block text-sm font-medium text-gray-700">
+ <p className="block text-sm font-medium text-neutral-700">
Workspace Name
</p>
<InfoTooltip
@@ -99,7 +99,7 @@ export function CreateWorkspaceForm({
type="text"
autoFocus={!isMobile}
autoComplete="off"
- className="block w-full rounded-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
placeholder="Acme, Inc."
{...register("name", {
required: true,
@@ -111,7 +111,7 @@ export function CreateWorkspaceForm({
<div>
<label htmlFor="slug" className="flex items-center space-x-2">
- <p className="block text-sm font-medium text-gray-700">
+ <p className="block text-sm font-medium text-neutral-700">
Workspace Slug
</p>
<InfoTooltip
@@ -119,7 +119,7 @@ export function CreateWorkspaceForm({
/>
</label>
<div className="relative mt-2 flex rounded-md shadow-sm">
- <span className="inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-gray-50 px-5 text-gray-500 sm:text-sm">
+ <span className="inline-flex items-center rounded-l-md border border-r-0 border-neutral-300 bg-neutral-50 px-5 text-neutral-500 sm:text-sm">
app.{process.env.NEXT_PUBLIC_APP_DOMAIN}
</span>
<input
@@ -130,7 +130,7 @@ export function CreateWorkspaceForm({
className={`${
errors.slug
? "border-red-300 pr-10 text-red-900 placeholder-red-300 focus:border-red-500 focus:ring-red-500"
- : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500"
+ : "border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500"
} block w-full rounded-r-md focus:outline-none sm:text-sm`}
placeholder="acme"
{...register("slug", {
diff --git a/apps/web/ui/workspaces/delete-workspace.tsx b/apps/web/ui/workspaces/delete-workspace.tsx
index 1778eed05c..21fba47243 100644
--- a/apps/web/ui/workspaces/delete-workspace.tsx
+++ b/apps/web/ui/workspaces/delete-workspace.tsx
@@ -20,13 +20,13 @@ export default function DeleteWorkspace() {
return (
<div
className={cn("rounded-lg border border-red-600 bg-white", {
- "border-gray-200": permissionsError,
+ "border-neutral-200": permissionsError,
})}
>
<DeleteWorkspaceModal />
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Delete Workspace</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Permanently delete your workspace, custom domain, and all associated
links + their stats. This action cannot be undone - please proceed
with caution.
@@ -34,7 +34,7 @@ export default function DeleteWorkspace() {
</div>
<div
className={cn("border-b border-red-600", {
- "border-gray-200": permissionsError,
+ "border-neutral-200": permissionsError,
})}
/>
diff --git a/apps/web/ui/workspaces/invite-teammates-form.tsx b/apps/web/ui/workspaces/invite-teammates-form.tsx
index 61fa56310d..6acf881cc0 100644
--- a/apps/web/ui/workspaces/invite-teammates-form.tsx
+++ b/apps/web/ui/workspaces/invite-teammates-form.tsx
@@ -107,7 +107,7 @@ export function InviteTeammatesForm({
<div key={field.id} className="relative">
<label>
{index === 0 && (
- <span className="mb-2 block text-sm font-medium text-gray-700">
+ <span className="mb-2 block text-sm font-medium text-neutral-700">
{pluralize("Email", fields.length)}
</span>
)}
@@ -117,7 +117,7 @@ export function InviteTeammatesForm({
placeholder="[email protected]"
autoFocus={index === 0 && !isMobile}
autoComplete="off"
- className="z-10 block w-full rounded-l-md border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm"
+ className="z-10 block w-full rounded-l-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register(`teammates.${index}.email`, {
required: index === 0,
})}
@@ -127,7 +127,7 @@ export function InviteTeammatesForm({
required: index === 0,
})}
defaultValue="member"
- className="rounded-r-md border border-l-0 border-gray-300 bg-white pl-4 pr-8 text-gray-600 focus:border-gray-300 focus:outline-none focus:ring-0 sm:text-sm"
+ className="rounded-r-md border border-l-0 border-neutral-300 bg-white pl-4 pr-8 text-neutral-600 focus:border-neutral-300 focus:outline-none focus:ring-0 sm:text-sm"
>
{roles.map((role) => (
<option key={role} value={role}>
@@ -172,13 +172,13 @@ function InviteSavedToast({ teammates }: { teammates: number }) {
return (
<div className="flex items-center gap-1.5 rounded-lg bg-white p-4 text-sm shadow-[0_4px_12px_#0000001a]">
<CheckCircleFill className="size-5 shrink-0 text-black" />
- <p className="text-[13px] font-medium text-gray-900">
+ <p className="text-[13px] font-medium text-neutral-900">
{pluralize("Invitation", teammates)} saved. You'll need a pro plan to
invite teammates.{" "}
<a
href="https://dub.co/help/article/how-to-invite-teammates"
target="_blank"
- className="text-gray-500 underline transition-colors hover:text-gray-800"
+ className="text-neutral-500 underline transition-colors hover:text-neutral-800"
>
Learn more
</a>
diff --git a/apps/web/ui/workspaces/plan-features.tsx b/apps/web/ui/workspaces/plan-features.tsx
index 30f4412044..ac03c96ffe 100644
--- a/apps/web/ui/workspaces/plan-features.tsx
+++ b/apps/web/ui/workspaces/plan-features.tsx
@@ -32,7 +32,7 @@ export function PlanFeatures({
<motion.div
key="business-plan-feature"
variants={STAGGER_CHILD_VARIANTS}
- className="text-sm text-gray-500"
+ className="text-sm text-neutral-500"
>
Everything in Pro, plus:
</motion.div>
@@ -41,7 +41,7 @@ export function PlanFeatures({
<motion.div
key={i}
variants={STAGGER_CHILD_VARIANTS}
- className="flex items-center space-x-2 text-sm text-gray-500"
+ className="flex items-center space-x-2 text-sm text-neutral-500"
>
<CheckCircleFill className="h-5 w-5 text-green-500" />
@@ -55,12 +55,12 @@ export function PlanFeatures({
)
}
>
- <p className="cursor-help text-gray-600 underline decoration-dotted underline-offset-2">
+ <p className="cursor-help text-neutral-600 underline decoration-dotted underline-offset-2">
{text}
</p>
</Tooltip>
) : (
- <p className="text-gray-600">{text}</p>
+ <p className="text-neutral-600">{text}</p>
)}
</motion.div>
))}
diff --git a/apps/web/ui/workspaces/subscription-menu.tsx b/apps/web/ui/workspaces/subscription-menu.tsx
index 11c53b7a3f..261695c0be 100644
--- a/apps/web/ui/workspaces/subscription-menu.tsx
+++ b/apps/web/ui/workspaces/subscription-menu.tsx
@@ -101,7 +101,7 @@ function MenuItem({
<Command.Item
className={cn(
"flex cursor-pointer select-none items-center gap-2 whitespace-nowrap rounded-md p-2 text-sm text-neutral-600",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
disabled && "cursor-not-allowed opacity-50",
)}
onSelect={onSelect}
diff --git a/apps/web/ui/workspaces/upload-logo.tsx b/apps/web/ui/workspaces/upload-logo.tsx
index 3946488d6d..20f447d1ff 100644
--- a/apps/web/ui/workspaces/upload-logo.tsx
+++ b/apps/web/ui/workspaces/upload-logo.tsx
@@ -42,17 +42,17 @@ export default function UploadLogo() {
setUploading(false);
});
}}
- className="rounded-lg border border-gray-200 bg-white"
+ className="rounded-lg border border-neutral-200 bg-white"
>
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Workspace Logo</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
This is your workspace's logo on {process.env.NEXT_PUBLIC_APP_NAME}.
</p>
<div className="mt-1">
<FileUpload
accept="images"
- className="h-24 w-24 rounded-full border border-gray-300"
+ className="h-24 w-24 rounded-full border border-neutral-300"
iconClassName="w-5 h-5"
variant="plain"
imageSrc={image}
@@ -65,8 +65,8 @@ export default function UploadLogo() {
</div>
</div>
- <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10">
- <p className="text-sm text-gray-500">
+ <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-neutral-200 bg-neutral-50 p-3 sm:px-10">
+ <p className="text-sm text-neutral-500">
Square image recommended. Accepted file types: .png, .jpg. Max file
size: 2MB.
</p>
diff --git a/apps/web/ui/workspaces/workspace-exceeded-clicks.tsx b/apps/web/ui/workspaces/workspace-exceeded-clicks.tsx
index fba153bb81..539f4a5867 100644
--- a/apps/web/ui/workspaces/workspace-exceeded-clicks.tsx
+++ b/apps/web/ui/workspaces/workspace-exceeded-clicks.tsx
@@ -11,14 +11,14 @@ export default function WorkspaceExceededClicks() {
return (
<MaxWidthWrapper>
- <div className="my-10 flex flex-col items-center justify-center rounded-md border border-gray-200 bg-white py-12">
- <div className="rounded-full bg-gray-100 p-3">
- <Lock className="h-6 w-6 text-gray-600" />
+ <div className="my-10 flex flex-col items-center justify-center rounded-md border border-neutral-200 bg-white py-12">
+ <div className="rounded-full bg-neutral-100 p-3">
+ <Lock className="h-6 w-6 text-neutral-600" />
</div>
- <h1 className="my-3 text-xl font-semibold text-gray-700">
+ <h1 className="my-3 text-xl font-semibold text-neutral-700">
Stats Locked
</h1>
- <p className="z-10 max-w-sm text-center text-sm text-gray-600">
+ <p className="z-10 max-w-sm text-center text-sm text-neutral-600">
Your workspace has exceeded your monthly clicks limits. We're still
collecting data on your links, but you need to upgrade to view them.
</p>
diff --git a/apps/web/ui/workspaces/workspace-id.tsx b/apps/web/ui/workspaces/workspace-id.tsx
index d2a29f9727..0ed6c950d7 100644
--- a/apps/web/ui/workspaces/workspace-id.tsx
+++ b/apps/web/ui/workspaces/workspace-id.tsx
@@ -8,30 +8,30 @@ export default function WorkspaceId() {
return (
<>
- <div className="rounded-lg border border-gray-200 bg-white">
+ <div className="rounded-lg border border-neutral-200 bg-white">
<div className="relative flex flex-col space-y-6 p-5 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">Workspace ID</h2>
- <p className="text-sm text-gray-500">
+ <p className="text-sm text-neutral-500">
Unique ID of your workspace on Dub.
</p>
</div>
{id ? (
- <div className="flex w-full max-w-md items-center justify-between rounded-md border border-gray-300 bg-white p-2">
- <p className="text-sm text-gray-500">{id}</p>
+ <div className="flex w-full max-w-md items-center justify-between rounded-md border border-neutral-300 bg-white p-2">
+ <p className="text-sm text-neutral-500">{id}</p>
<CopyButton value={id} className="rounded-md" />
</div>
) : (
- <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200" />
+ <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-neutral-200" />
)}
</div>
- <div className="flex items-center justify-between rounded-b-lg border-t border-gray-200 bg-gray-50 px-3 py-5 sm:px-10">
- <p className="text-sm text-gray-500">
+ <div className="flex items-center justify-between rounded-b-lg border-t border-neutral-200 bg-neutral-50 px-3 py-5 sm:px-10">
+ <p className="text-sm text-neutral-500">
Used to identify your workspace when interacting with the{" "}
<a
href="https://dub.co/api"
target="_blank"
- className="underline underline-offset-2 transition-colors hover:text-gray-700"
+ className="underline underline-offset-2 transition-colors hover:text-neutral-700"
>
Dub API
</a>
diff --git a/packages/email/src/components/footer.tsx b/packages/email/src/components/footer.tsx
index 5324c7cf5f..a653841637 100644
--- a/packages/email/src/components/footer.tsx
+++ b/packages/email/src/components/footer.tsx
@@ -12,18 +12,18 @@ export function Footer({
if (marketing) {
return (
<Tailwind>
- <Hr className="mx-0 my-6 w-full border border-gray-200" />
- <Text className="text-[12px] leading-6 text-gray-500">
+ <Hr className="mx-0 my-6 w-full border border-neutral-200" />
+ <Text className="text-[12px] leading-6 text-neutral-500">
We send out product update emails once a month – no spam, no nonsense.
Don't want to get these emails?{" "}
<Link
- className="text-gray-700 underline"
+ className="text-neutral-700 underline"
href="https://app.dub.co/account/settings"
>
Unsubscribe here.
</Link>
</Text>
- <Text className="text-[12px] text-gray-500">
+ <Text className="text-[12px] text-neutral-500">
Dub Technologies, Inc.
<br />
2261 Market Street STE 5906
@@ -36,8 +36,8 @@ export function Footer({
return (
<Tailwind>
- <Hr className="mx-0 my-6 w-full border border-gray-200" />
- <Text className="text-[12px] leading-6 text-gray-500">
+ <Hr className="mx-0 my-6 w-full border border-neutral-200" />
+ <Text className="text-[12px] leading-6 text-neutral-500">
This email was intended for <span className="text-black">{email}</span>.
If you were not expecting this email, you can ignore this email. If you
are concerned about your account's safety, please reply to this email to
@@ -45,17 +45,17 @@ export function Footer({
</Text>
{notificationSettingsUrl && (
- <Text className="text-[12px] leading-6 text-gray-500">
+ <Text className="text-[12px] leading-6 text-neutral-500">
Don’t want to get these emails?{" "}
<Link
- className="text-gray-700 underline"
+ className="text-neutral-700 underline"
href={notificationSettingsUrl}
>
Adjust your notification settings
</Link>
</Text>
)}
- <Text className="text-[12px] text-gray-500">
+ <Text className="text-[12px] text-neutral-500">
Dub Technologies, Inc.
<br />
2261 Market Street STE 5906
diff --git a/packages/email/src/templates/api-key-created.tsx b/packages/email/src/templates/api-key-created.tsx
index b37b3b5d58..7e7ed216fb 100644
--- a/packages/email/src/templates/api-key-created.tsx
+++ b/packages/email/src/templates/api-key-created.tsx
@@ -43,7 +43,7 @@ export function APIKeyCreated({
<Preview>New Workspace API Key Created</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/clicks-exceeded.tsx b/packages/email/src/templates/clicks-exceeded.tsx
index 245c128c96..40bb83e0b2 100644
--- a/packages/email/src/templates/clicks-exceeded.tsx
+++ b/packages/email/src/templates/clicks-exceeded.tsx
@@ -44,7 +44,7 @@ export function ClicksExceeded({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/clicks-summary.tsx b/packages/email/src/templates/clicks-summary.tsx
index 43fd1efe60..cb37d06ae1 100644
--- a/packages/email/src/templates/clicks-summary.tsx
+++ b/packages/email/src/templates/clicks-summary.tsx
@@ -63,7 +63,7 @@ export function ClicksSummary({
<Preview>Your 30-day Dub summary for {workspaceName}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
@@ -109,10 +109,10 @@ export function ClicksSummary({
</Text>
<Section>
<Row className="pb-2">
- <Column align="left" className="text-sm text-gray-500">
+ <Column align="left" className="text-sm text-neutral-500">
Link
</Column>
- <Column align="right" className="text-sm text-gray-500">
+ <Column align="right" className="text-sm text-neutral-500">
Clicks
</Column>
</Row>
@@ -132,13 +132,13 @@ export function ClicksSummary({
</Column>
<Column
align="right"
- className="text-sm text-gray-600"
+ className="text-sm text-neutral-600"
>
{nFormatter(clicks, { full: clicks < 99999 })}
</Column>
</Row>
{index !== topLinks.length - 1 && (
- <Hr className="my-2 w-full border border-gray-200" />
+ <Hr className="my-2 w-full border border-neutral-200" />
)}
</div>
);
diff --git a/packages/email/src/templates/confirm-email-change.tsx b/packages/email/src/templates/confirm-email-change.tsx
index 8696ee3d71..3cb8ef6b89 100644
--- a/packages/email/src/templates/confirm-email-change.tsx
+++ b/packages/email/src/templates/confirm-email-change.tsx
@@ -29,7 +29,7 @@ export function ConfirmEmailChange({
<Preview>Confirm your email address change</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/domain-claimed.tsx b/packages/email/src/templates/domain-claimed.tsx
index 53b0d1e6aa..e05322939e 100644
--- a/packages/email/src/templates/domain-claimed.tsx
+++ b/packages/email/src/templates/domain-claimed.tsx
@@ -29,7 +29,7 @@ export function DomainClaimed({
<Preview>Successfully claimed your .link domain!</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/domain-deleted.tsx b/packages/email/src/templates/domain-deleted.tsx
index 86809d3262..7e592cb913 100644
--- a/packages/email/src/templates/domain-deleted.tsx
+++ b/packages/email/src/templates/domain-deleted.tsx
@@ -29,7 +29,7 @@ export function DomainDeleted({
<Preview>Domain Deleted</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/domain-transferred.tsx b/packages/email/src/templates/domain-transferred.tsx
index dad794bf15..9c7a8caaea 100644
--- a/packages/email/src/templates/domain-transferred.tsx
+++ b/packages/email/src/templates/domain-transferred.tsx
@@ -32,7 +32,7 @@ export function DomainTransferred({
<Preview>Domain Transferred</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/dub-wrapped.tsx b/packages/email/src/templates/dub-wrapped.tsx
index 6a0fac40d1..bda7eb69f5 100644
--- a/packages/email/src/templates/dub-wrapped.tsx
+++ b/packages/email/src/templates/dub-wrapped.tsx
@@ -155,7 +155,7 @@ export function DubWrapped({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img src={DUB_WORDMARK} height="32" alt="Dub" className="my-0" />
</Section>
@@ -167,7 +167,7 @@ export function DubWrapped({
support! Here's a look back at your activity in 2024:
</Text>
- <Section className="my-8 rounded-lg border border-solid border-gray-200 p-2">
+ <Section className="my-8 rounded-lg border border-solid border-neutral-200 p-2">
<div>
<Img
src="https://assets.dub.co/misc/year-in-review-header.jpg"
@@ -231,7 +231,7 @@ export function DubWrapped({
className="max-w-[500px] rounded-lg"
/>
- <Hr className="mx-0 my-6 w-full border border-gray-200" />
+ <Hr className="mx-0 my-6 w-full border border-neutral-200" />
<Heading className="mx-0 mb-4 mt-8 p-0 text-xl font-semibold text-black">
What we shipped 🚢
@@ -251,7 +251,7 @@ export function DubWrapped({
{item.title}
</Text>
<Text
- className="leading-6 text-gray-600"
+ className="leading-6 text-neutral-600"
dangerouslySetInnerHTML={{ __html: item.description }}
/>
<Link
@@ -263,7 +263,7 @@ export function DubWrapped({
</div>
))}
- <Hr className="mx-0 my-6 w-full border border-gray-200" />
+ <Hr className="mx-0 my-6 w-full border border-neutral-200" />
<Text className="text-sm leading-6 text-black">
You can also check out more updates on our{" "}
@@ -311,7 +311,7 @@ const StatCard = ({
}) => {
return (
<Column className="text-center">
- <Text className="font-medium text-gray-400">{title}</Text>
+ <Text className="font-medium text-neutral-400">{title}</Text>
<Text className="-mt-3 text-lg font-medium text-black">
{typeof value === "number" ? nFormatter(value, { full: true }) : value}
</Text>
@@ -330,7 +330,7 @@ const StatTable = ({
}) => {
return (
<Section>
- <Text className="mb-0 font-medium text-gray-400">{title}</Text>
+ <Text className="mb-0 font-medium text-neutral-400">{title}</Text>
{value.map(({ item, count }, index) => {
const [domain, ...pathParts] = item.split("/");
const path = pathParts.join("/") || "_root";
@@ -360,12 +360,12 @@ const StatTable = ({
<p>{COUNTRIES[item]}</p>
)}
</Column>
- <Column align="right" className="text-gray-600">
+ <Column align="right" className="text-neutral-600">
{nFormatter(count, { full: count < 99999 })}
</Column>
</Row>
{index !== value.length - 1 && (
- <Hr className="my-0 w-full border border-gray-200" />
+ <Hr className="my-0 w-full border border-neutral-200" />
)}
</div>
);
diff --git a/packages/email/src/templates/email-updated.tsx b/packages/email/src/templates/email-updated.tsx
index 36b6879256..aa1958626f 100644
--- a/packages/email/src/templates/email-updated.tsx
+++ b/packages/email/src/templates/email-updated.tsx
@@ -27,7 +27,7 @@ export function EmailUpdated({
<Preview>Your email address has been updated</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/failed-payment.tsx b/packages/email/src/templates/failed-payment.tsx
index 3608b5e6dd..dad208bcfd 100644
--- a/packages/email/src/templates/failed-payment.tsx
+++ b/packages/email/src/templates/failed-payment.tsx
@@ -36,7 +36,7 @@ export function FailedPayment({
<Preview>{title}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/feedback-email.tsx b/packages/email/src/templates/feedback-email.tsx
index 679ac41e19..94903b29f3 100644
--- a/packages/email/src/templates/feedback-email.tsx
+++ b/packages/email/src/templates/feedback-email.tsx
@@ -25,7 +25,7 @@ export function FeedbackEmail({
<Preview>New Feedback Received</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/folder-edit-access-requested.tsx b/packages/email/src/templates/folder-edit-access-requested.tsx
index b11899dfb3..078315816a 100644
--- a/packages/email/src/templates/folder-edit-access-requested.tsx
+++ b/packages/email/src/templates/folder-edit-access-requested.tsx
@@ -41,7 +41,7 @@ export function FolderEditAccessRequested({
<Preview>Request to edit folder {folder.name} on Dub</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/integration-installed.tsx b/packages/email/src/templates/integration-installed.tsx
index 2f4c8e9e20..599eedabd9 100644
--- a/packages/email/src/templates/integration-installed.tsx
+++ b/packages/email/src/templates/integration-installed.tsx
@@ -41,7 +41,7 @@ export function IntegrationInstalled({
<Preview>An integration has been added to your workspace</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/invalid-domain.tsx b/packages/email/src/templates/invalid-domain.tsx
index 6ae387e305..a798fc4c4b 100644
--- a/packages/email/src/templates/invalid-domain.tsx
+++ b/packages/email/src/templates/invalid-domain.tsx
@@ -35,7 +35,7 @@ export function InvalidDomain({
<Preview>Invalid Domain Configuration</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/links-import-errors.tsx b/packages/email/src/templates/links-import-errors.tsx
index 0d50acd698..d324c0b4a6 100644
--- a/packages/email/src/templates/links-import-errors.tsx
+++ b/packages/email/src/templates/links-import-errors.tsx
@@ -42,7 +42,7 @@ export function LinksImportErrors({
<Preview>Your {provider} links have been imported</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
@@ -68,10 +68,10 @@ export function LinksImportErrors({
</Text>
<Section>
<Row className="pb-2">
- <Column align="left" className="text-sm text-gray-500">
+ <Column align="left" className="text-sm text-neutral-500">
Link
</Column>
- <Column align="right" className="text-sm text-gray-500">
+ <Column align="right" className="text-sm text-neutral-500">
Error
</Column>
</Row>
@@ -88,14 +88,14 @@ export function LinksImportErrors({
</Column>
<Column
align="right"
- className="text-sm text-gray-600"
+ className="text-sm text-neutral-600"
suppressHydrationWarning
>
{error}
</Column>
</Row>
{index !== errorLinks.length - 1 && (
- <Hr className="my-2 w-full border border-gray-200" />
+ <Hr className="my-2 w-full border border-neutral-200" />
)}
</div>
))}
diff --git a/packages/email/src/templates/links-imported.tsx b/packages/email/src/templates/links-imported.tsx
index 28169bd0e0..04d0e6da22 100644
--- a/packages/email/src/templates/links-imported.tsx
+++ b/packages/email/src/templates/links-imported.tsx
@@ -70,7 +70,7 @@ export function LinksImported({
<Preview>Your {provider} links have been imported</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
@@ -100,10 +100,10 @@ export function LinksImported({
{links.length > 0 && (
<Section>
<Row className="pb-2">
- <Column align="left" className="text-sm text-gray-500">
+ <Column align="left" className="text-sm text-neutral-500">
Link
</Column>
- <Column align="right" className="text-sm text-gray-500">
+ <Column align="right" className="text-sm text-neutral-500">
Created
</Column>
</Row>
@@ -115,14 +115,14 @@ export function LinksImported({
</Column>
<Column
align="right"
- className="text-sm text-gray-600"
+ className="text-sm text-neutral-600"
suppressHydrationWarning
>
{timeAgo(createdAt)}
</Column>
</Row>
{index !== links.length - 1 && (
- <Hr className="my-2 w-full border border-gray-200" />
+ <Hr className="my-2 w-full border border-neutral-200" />
)}
</div>
))}
diff --git a/packages/email/src/templates/links-limit.tsx b/packages/email/src/templates/links-limit.tsx
index 97601c393f..a9a06ed06b 100644
--- a/packages/email/src/templates/links-limit.tsx
+++ b/packages/email/src/templates/links-limit.tsx
@@ -48,7 +48,7 @@ export function LinksLimitAlert({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/login-link.tsx b/packages/email/src/templates/login-link.tsx
index c04d5612b9..9d8c6cde34 100644
--- a/packages/email/src/templates/login-link.tsx
+++ b/packages/email/src/templates/login-link.tsx
@@ -27,7 +27,7 @@ export function LoginLink({
<Preview>Your Dub.co Login Link</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/new-referral-signup.tsx b/packages/email/src/templates/new-referral-signup.tsx
index 5b47184432..4a103ba80c 100644
--- a/packages/email/src/templates/new-referral-signup.tsx
+++ b/packages/email/src/templates/new-referral-signup.tsx
@@ -36,7 +36,7 @@ export function NewReferralSignup({
<Preview>New referral signup</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/new-sale-created.tsx b/packages/email/src/templates/new-sale-created.tsx
index f0e2b4a032..09486fe226 100644
--- a/packages/email/src/templates/new-sale-created.tsx
+++ b/packages/email/src/templates/new-sale-created.tsx
@@ -66,7 +66,7 @@ export function NewSaleCreated({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="my-8">
<Img
src={program.logo || "https://assets.dub.co/logo.png"}
@@ -79,7 +79,7 @@ export function NewSaleCreated({
You just made a {earningsInDollars} referral sale!
</Heading>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
Congratulations! Someone made a{" "}
<strong className="text-black">{saleAmountInDollars}</strong>{" "}
purchase on <strong className="text-black">{program.name}</strong>{" "}
@@ -92,7 +92,7 @@ export function NewSaleCreated({
</a>
).
</Text>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
Your received{" "}
<strong className="text-black">{earningsInDollars}</strong> in
commission for this sale and it will be included in your next
diff --git a/packages/email/src/templates/partner-invite.tsx b/packages/email/src/templates/partner-invite.tsx
index ea3b69bc1f..9400984ecc 100644
--- a/packages/email/src/templates/partner-invite.tsx
+++ b/packages/email/src/templates/partner-invite.tsx
@@ -35,7 +35,7 @@ export function PartnerInvite({
<Preview>Sign up for {program.name}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="my-8">
<Img
src={program.logo || "https://assets.dub.co/logo.png"}
@@ -48,7 +48,7 @@ export function PartnerInvite({
{program.name} invited you to join Dub Partners
</Heading>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
{program.name} uses Dub Partners to power their partnership
programs and wants to partner with great people like yourself!
</Text>
diff --git a/packages/email/src/templates/partner-payout-confirmed.tsx b/packages/email/src/templates/partner-payout-confirmed.tsx
index a3f947abf0..ed7ac627d3 100644
--- a/packages/email/src/templates/partner-payout-confirmed.tsx
+++ b/packages/email/src/templates/partner-payout-confirmed.tsx
@@ -65,7 +65,7 @@ export function PartnerPayoutConfirmed({
<Preview>Your payout is being processed</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="my-8">
<Img
src={program.logo || "https://assets.dub.co/logo.png"}
@@ -78,7 +78,7 @@ export function PartnerPayoutConfirmed({
Your payout is being processed!
</Heading>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
<strong className="text-black">{program.name}</strong> has
initiated a payout of{" "}
<strong className="text-black">{saleAmountInDollars}</strong> for
@@ -86,7 +86,7 @@ export function PartnerPayoutConfirmed({
<strong className="text-black">{startDate}</strong> to{" "}
<strong className="text-black">{endDate}</strong>.
</Text>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
The payout is currently being processed and is expected to be
credited to your account within 5 business days.
</Text>
diff --git a/packages/email/src/templates/partner-payout-sent.tsx b/packages/email/src/templates/partner-payout-sent.tsx
index 18d931edc0..1ffc4b2e65 100644
--- a/packages/email/src/templates/partner-payout-sent.tsx
+++ b/packages/email/src/templates/partner-payout-sent.tsx
@@ -64,7 +64,7 @@ export function PartnerPayoutSent({
<Preview>You've been paid!</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="my-8">
<Img
src={program.logo || "https://assets.dub.co/logo.png"}
@@ -77,14 +77,14 @@ export function PartnerPayoutSent({
You've been paid!
</Heading>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
<strong className="text-black">{program.name}</strong> has sent
you <strong className="text-black">{saleAmountInDollars}</strong>{" "}
for affiliate sales made from{" "}
<strong className="text-black">{startDate}</strong> to{" "}
<strong className="text-black">{endDate}</strong>.
</Text>
- <Text className="text-sm leading-6 text-gray-600">
+ <Text className="text-sm leading-6 text-neutral-600">
The funds are on their way to your account.
</Text>
diff --git a/packages/email/src/templates/password-updated.tsx b/packages/email/src/templates/password-updated.tsx
index 09f249c431..6ada42f0da 100644
--- a/packages/email/src/templates/password-updated.tsx
+++ b/packages/email/src/templates/password-updated.tsx
@@ -26,7 +26,7 @@ export function PasswordUpdated({
<Preview>Your password has been {verb}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/rebrand-email.tsx b/packages/email/src/templates/rebrand-email.tsx
index bb3ab48b17..5af0c7f060 100644
--- a/packages/email/src/templates/rebrand-email.tsx
+++ b/packages/email/src/templates/rebrand-email.tsx
@@ -30,7 +30,7 @@ export function RebrandEmail({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
@@ -134,7 +134,7 @@ export function RebrandEmail({
Let me know if you have any questions or feedback. I'm always
happy to help!
</Text>
- <Text className="text-sm font-light leading-6 text-gray-400">
+ <Text className="text-sm font-light leading-6 text-neutral-400">
Steven from Dub
</Text>
diff --git a/packages/email/src/templates/referral-invite.tsx b/packages/email/src/templates/referral-invite.tsx
index cf99bdfcaf..b07b6f8635 100644
--- a/packages/email/src/templates/referral-invite.tsx
+++ b/packages/email/src/templates/referral-invite.tsx
@@ -33,7 +33,7 @@ export function ReferralInvite({
<Preview>Sign up for {appName}</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/reset-password-link.tsx b/packages/email/src/templates/reset-password-link.tsx
index 8a23bf0487..3eb43e3490 100644
--- a/packages/email/src/templates/reset-password-link.tsx
+++ b/packages/email/src/templates/reset-password-link.tsx
@@ -27,7 +27,7 @@ export function ResetPasswordLink({
<Preview>Reset Password Link</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/upgrade-email.tsx b/packages/email/src/templates/upgrade-email.tsx
index f1bc34ce29..82b15099d3 100644
--- a/packages/email/src/templates/upgrade-email.tsx
+++ b/packages/email/src/templates/upgrade-email.tsx
@@ -30,7 +30,7 @@ export function UpgradeEmail({
<Preview>Thank you for upgrading to Dub.co {plan}!</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="my-8">
<Img src={DUB_WORDMARK} height="32" alt="Dub" />
</Section>
@@ -86,7 +86,7 @@ export function UpgradeEmail({
If you have any questions or feedback about Dub, please don't
hesitate to reach out – I'm always happy to help!
</Text>
- <Text className="text-sm font-light leading-6 text-gray-400">
+ <Text className="text-sm font-light leading-6 text-neutral-400">
Steven from Dub
</Text>
<Footer email={email} marketing />
diff --git a/packages/email/src/templates/verify-email.tsx b/packages/email/src/templates/verify-email.tsx
index c897dbb243..c90001e0dc 100644
--- a/packages/email/src/templates/verify-email.tsx
+++ b/packages/email/src/templates/verify-email.tsx
@@ -26,7 +26,7 @@ export function VerifyEmail({
<Preview>Your Dub.co Verification Code</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/webhook-added.tsx b/packages/email/src/templates/webhook-added.tsx
index 9d2dfe6e1c..3b7a279ae8 100644
--- a/packages/email/src/templates/webhook-added.tsx
+++ b/packages/email/src/templates/webhook-added.tsx
@@ -39,7 +39,7 @@ export function WebhookAdded({
<Preview>New webhook added</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/webhook-disabled.tsx b/packages/email/src/templates/webhook-disabled.tsx
index aad5815a29..11594819c2 100644
--- a/packages/email/src/templates/webhook-disabled.tsx
+++ b/packages/email/src/templates/webhook-disabled.tsx
@@ -43,7 +43,7 @@ export default function WebhookDisabled({
<Preview>Webhook has been disabled</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/webhook-failed.tsx b/packages/email/src/templates/webhook-failed.tsx
index 5b1235e67c..fb354dbedc 100644
--- a/packages/email/src/templates/webhook-failed.tsx
+++ b/packages/email/src/templates/webhook-failed.tsx
@@ -45,7 +45,7 @@ export default function WebhookFailed({
<Preview>Webhook is failing to deliver</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/email/src/templates/welcome-email.tsx b/packages/email/src/templates/welcome-email.tsx
index 773075cf67..ee52f05e12 100644
--- a/packages/email/src/templates/welcome-email.tsx
+++ b/packages/email/src/templates/welcome-email.tsx
@@ -27,7 +27,7 @@ export function WelcomeEmail({
<Preview>Welcome to Dub.co</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
@@ -93,7 +93,7 @@ export function WelcomeEmail({
Let me know if you have any questions or feedback. I'm always
happy to help!
</Text>
- <Text className="text-sm font-light leading-6 text-gray-400">
+ <Text className="text-sm font-light leading-6 text-neutral-400">
Steven from Dub
</Text>
diff --git a/packages/email/src/templates/workspace-invite.tsx b/packages/email/src/templates/workspace-invite.tsx
index 29d95c4401..49c3573b77 100644
--- a/packages/email/src/templates/workspace-invite.tsx
+++ b/packages/email/src/templates/workspace-invite.tsx
@@ -37,7 +37,7 @@ export function WorkspaceInvite({
</Preview>
<Tailwind>
<Body className="mx-auto my-auto bg-white font-sans">
- <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-gray-200 px-10 py-5">
+ <Container className="mx-auto my-10 max-w-[500px] rounded border border-solid border-neutral-200 px-10 py-5">
<Section className="mt-8">
<Img
src={DUB_WORDMARK}
diff --git a/packages/ui/src/accordion.tsx b/packages/ui/src/accordion.tsx
index a088606526..f3ceeb3a72 100644
--- a/packages/ui/src/accordion.tsx
+++ b/packages/ui/src/accordion.tsx
@@ -57,7 +57,7 @@ const AccordionContent = React.forwardRef<
<AccordionPrimitive.Content
ref={ref}
className={cn(
- "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",
+ "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-neutral-500 transition-all sm:text-base",
className,
)}
{...props}
diff --git a/packages/ui/src/avatar.tsx b/packages/ui/src/avatar.tsx
index c8a6bfae9d..9cc9bf9a7b 100644
--- a/packages/ui/src/avatar.tsx
+++ b/packages/ui/src/avatar.tsx
@@ -34,7 +34,7 @@ export function Avatar({
return (
<div
className={cn(
- "h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",
+ "h-10 w-10 animate-pulse rounded-full border border-neutral-300 bg-neutral-100",
className,
)}
/>
@@ -48,7 +48,10 @@ export function Avatar({
alt={`Avatar for ${user.name || user.email}`}
referrerPolicy="no-referrer"
src={url}
- className={cn("h-10 w-10 rounded-full border border-gray-300", className)}
+ className={cn(
+ "h-10 w-10 rounded-full border border-neutral-300",
+ className,
+ )}
draggable={false}
onError={() => {
setUrl(
diff --git a/packages/ui/src/badge.tsx b/packages/ui/src/badge.tsx
index 1034a54070..82a786bc1b 100644
--- a/packages/ui/src/badge.tsx
+++ b/packages/ui/src/badge.tsx
@@ -6,13 +6,13 @@ const badgeVariants = cva(
{
variants: {
variant: {
- default: "border-gray-400 text-gray-500",
+ default: "border-neutral-400 text-neutral-500",
violet: "border-violet-600 bg-violet-600 text-white",
blue: "border-blue-500 bg-blue-500 text-white",
sky: "border-sky-900 bg-sky-900 text-white",
black: "border-black bg-black text-white",
- gray: "border-gray-200 bg-gray-100 text-gray-800",
- neutral: "border-gray-400 text-gray-500",
+ gray: "border-neutral-200 bg-neutral-100 text-neutral-800",
+ neutral: "border-neutral-400 text-neutral-500",
blueGradient:
"bg-gradient-to-r from-blue-100 via-blue-100/50 to-blue-100 border border-blue-200 text-blue-900",
rainbow:
diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx
index b47702e2d3..dd22b7312b 100644
--- a/packages/ui/src/button.tsx
+++ b/packages/ui/src/button.tsx
@@ -8,10 +8,10 @@ export const buttonVariants = cva("transition-all", {
variants: {
variant: {
primary:
- "border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",
+ "border-black bg-black text-white hover:bg-neutral-800 hover:ring-4 hover:ring-neutral-200",
secondary: cn(
- "border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none",
- "data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
+ "border-neutral-200 bg-white text-neutral-900 hover:bg-neutral-50 focus-visible:border-neutral-500 outline-none",
+ "data-[state=open]:border-neutral-500 data-[state=open]:ring-4 data-[state=open]:ring-neutral-200",
),
outline: "border-transparent text-neutral-600 hover:bg-neutral-100",
success:
@@ -60,7 +60,7 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
<Tooltip content={disabledTooltip}>
<div
className={cn(
- "flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",
+ "flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-neutral-200 bg-neutral-100 px-4 text-sm text-neutral-400 transition-all focus:outline-none",
{
"border-transparent bg-transparent":
variant?.endsWith("outline"),
@@ -83,9 +83,9 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
{shortcut && (
<kbd
className={cn(
- "hidden rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",
+ "hidden rounded border border-neutral-200 bg-neutral-100 px-2 py-0.5 text-xs font-light text-neutral-400 md:inline-block",
{
- "bg-gray-100": variant?.endsWith("outline"),
+ "bg-neutral-100": variant?.endsWith("outline"),
},
)}
>
@@ -104,7 +104,7 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
className={cn(
"group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",
props.disabled || loading
- ? "cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400 outline-none"
+ ? "cursor-not-allowed border-neutral-200 bg-neutral-100 text-neutral-400 outline-none"
: buttonVariants({ variant }),
className,
)}
@@ -128,11 +128,11 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
className={cn(
"hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",
{
- "bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":
+ "bg-neutral-700 text-neutral-400 group-hover:bg-neutral-600 group-hover:text-neutral-300":
variant === "primary",
- "bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":
+ "bg-neutral-200 text-neutral-400 group-hover:bg-neutral-100 group-hover:text-neutral-500":
variant === "secondary",
- "bg-gray-100 text-gray-500 group-hover:bg-gray-200":
+ "bg-neutral-100 text-neutral-500 group-hover:bg-neutral-200":
variant === "outline",
"bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":
variant === "danger-outline",
diff --git a/packages/ui/src/card-list/card-list-card.tsx b/packages/ui/src/card-list/card-list-card.tsx
index 1de55ac50d..fa874963b6 100644
--- a/packages/ui/src/card-list/card-list-card.tsx
+++ b/packages/ui/src/card-list/card-list-card.tsx
@@ -10,16 +10,19 @@ import {
} from "react";
import { CardListContext } from "./card-list";
-const cardListCardVariants = cva("w-full group/card border-gray-200 bg-white", {
- variants: {
- variant: {
- compact:
- "first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",
- loose:
- "border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover",
+const cardListCardVariants = cva(
+ "w-full group/card border-neutral-200 bg-white",
+ {
+ variants: {
+ variant: {
+ compact:
+ "first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-neutral-50 transition-colors",
+ loose:
+ "border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover",
+ },
},
},
-});
+);
const cardListCardInnerClassName = "w-full py-2.5 px-4";
diff --git a/packages/ui/src/carousel/nav-bar.tsx b/packages/ui/src/carousel/nav-bar.tsx
index 079f5e2ceb..85c168368a 100644
--- a/packages/ui/src/carousel/nav-bar.tsx
+++ b/packages/ui/src/carousel/nav-bar.tsx
@@ -12,7 +12,7 @@ const CarouselNavBarVariants = cva(
variant: {
simple: "relative",
floating:
- "absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 ",
+ "absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-neutral-800/10 bg-white sm:bottom-6 ",
},
},
},
@@ -58,7 +58,7 @@ export const CarouselNavBar = ({
<div className={cn(CarouselNavBarVariants({ variant }), className)}>
{variant !== "simple" && (
<button
- className="cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100"
+ className="cursor-pointer rounded-full p-2 hover:bg-neutral-50 active:bg-neutral-100"
disabled={!canScrollPrev}
onClick={stopAutoplayAnd(scrollPrev)}
>
@@ -73,7 +73,7 @@ export const CarouselNavBar = ({
<button
key={idx}
onClick={stopAutoplayAnd(() => api.scrollTo(idx))}
- className="rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5"
+ className="rounded-full p-0.5 hover:bg-neutral-100 active:bg-neutral-200 sm:p-1.5"
>
<div
className={cn(
@@ -104,7 +104,7 @@ export const CarouselNavBar = ({
{variant !== "simple" && (
<button
- className="cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100"
+ className="cursor-pointer rounded-full p-2 hover:bg-neutral-50 active:bg-neutral-100"
disabled={!canScrollNext}
onClick={stopAutoplayAnd(scrollNext)}
>
diff --git a/packages/ui/src/charts/funnel-chart.tsx b/packages/ui/src/charts/funnel-chart.tsx
index c045bf78b8..0814e72325 100644
--- a/packages/ui/src/charts/funnel-chart.tsx
+++ b/packages/ui/src/charts/funnel-chart.tsx
@@ -183,10 +183,10 @@ function FunnelChartInner({
>
<div
className={cn(
- "rounded-lg border border-gray-200 bg-white text-base shadow-sm",
+ "rounded-lg border border-neutral-200 bg-white text-base shadow-sm",
)}
>
- <p className="border-b border-gray-200 px-3 py-2 text-sm text-gray-900 sm:px-4 sm:py-3">
+ <p className="border-b border-neutral-200 px-3 py-2 text-sm text-neutral-900 sm:px-4 sm:py-3">
{tooltipStep.label}
</p>
<div className="flex flex-wrap justify-between gap-x-4 gap-y-2 px-3 py-2 text-sm sm:px-4 sm:py-3">
@@ -197,14 +197,14 @@ function FunnelChartInner({
"h-2 w-2 shrink-0 rounded-sm bg-current opacity-50 shadow-[inset_0_0_0_1px_#0003]",
)}
/>
- <p className="whitespace-nowrap capitalize text-gray-600">
+ <p className="whitespace-nowrap capitalize text-neutral-600">
{formatPercentage((tooltipStep.value / maxValue) * 100) + "%"}
</p>
</div>
- <p className="whitespace-nowrap font-medium text-gray-900">
+ <p className="whitespace-nowrap font-medium text-neutral-900">
{nFormatter(tooltipStep.value, { full: true })}
{tooltipStep.additionalValue !== undefined && (
- <span className="text-gray-500">
+ <span className="text-neutral-500">
{" "}
(${nFormatter(tooltipStep.additionalValue / 100)})
</span>
diff --git a/packages/ui/src/charts/time-series-chart.tsx b/packages/ui/src/charts/time-series-chart.tsx
index bca2b83c07..ade01fe465 100644
--- a/packages/ui/src/charts/time-series-chart.tsx
+++ b/packages/ui/src/charts/time-series-chart.tsx
@@ -232,7 +232,7 @@ function TimeSeriesChartInner<T extends Datum>({
>
<div
className={cn(
- "pointer-events-none rounded-lg border border-gray-200 bg-white px-4 py-2 text-base shadow-sm",
+ "pointer-events-none rounded-lg border border-neutral-200 bg-white px-4 py-2 text-base shadow-sm",
tooltipClassName,
)}
>
diff --git a/packages/ui/src/checkbox.tsx b/packages/ui/src/checkbox.tsx
index 19e27eda4d..2b75296413 100644
--- a/packages/ui/src/checkbox.tsx
+++ b/packages/ui/src/checkbox.tsx
@@ -13,7 +13,7 @@ const Checkbox = React.forwardRef<
<CheckboxPrimitive.Root
ref={ref}
className={cn(
- "peer h-5 w-5 shrink-0 rounded-md border border-gray-200 bg-white outline-none focus-visible:border-black disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",
+ "peer h-5 w-5 shrink-0 rounded-md border border-neutral-200 bg-white outline-none focus-visible:border-black disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",
className,
)}
{...props}
diff --git a/packages/ui/src/combobox/index.tsx b/packages/ui/src/combobox/index.tsx
index b88ecc9f61..2b0a34a8ec 100644
--- a/packages/ui/src/combobox/index.tsx
+++ b/packages/ui/src/combobox/index.tsx
@@ -195,13 +195,13 @@ export function Combobox({
className="pointer-events-auto"
>
<Command loop shouldFilter={shouldFilter}>
- <div className="flex items-center overflow-hidden rounded-t-lg border-b border-gray-200">
+ <div className="flex items-center overflow-hidden rounded-t-lg border-b border-neutral-200">
<CommandInput
placeholder={searchPlaceholder}
value={search}
onValueChange={setSearch}
className={cn(
- "grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",
+ "grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-neutral-400 focus:ring-0 sm:text-sm",
inputClassName,
)}
onKeyDown={(e) => {
@@ -216,7 +216,7 @@ export function Combobox({
}}
/>
{shortcutHint && (
- <kbd className="mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block">
+ <kbd className="mr-2 hidden shrink-0 rounded border border-neutral-200 bg-neutral-100 px-2 py-0.5 text-xs font-light text-neutral-500 md:block">
{shortcutHint}
</kbd>
)}
@@ -243,8 +243,8 @@ export function Combobox({
{search.length > 0 && onCreate && (
<CommandItem
className={cn(
- "flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700",
- "data-[selected=true]:bg-gray-100",
+ "flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-neutral-700",
+ "data-[selected=true]:bg-neutral-100",
optionClassName,
)}
onSelect={async () => {
@@ -268,11 +268,11 @@ export function Combobox({
</CommandItem>
)}
{shouldFilter ? (
- <Empty className="flex min-h-12 items-center justify-center text-sm text-gray-500">
+ <Empty className="flex min-h-12 items-center justify-center text-sm text-neutral-500">
{emptyState ? emptyState : "No matches"}
</Empty>
) : sortedOptions.length === 0 ? (
- <div className="flex min-h-12 items-center justify-center text-sm text-gray-500">
+ <div className="flex min-h-12 items-center justify-center text-sm text-neutral-500">
{emptyState ? emptyState : "No matches"}
</div>
) : null}
@@ -308,7 +308,7 @@ export function Combobox({
</div>
{caret && (
<ChevronDown
- className={`ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
+ className={`ml-1 size-4 shrink-0 text-neutral-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
/>
)}
</>
@@ -369,24 +369,24 @@ function Option({
<Command.Item
className={cn(
"flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
className,
)}
onSelect={onSelect}
value={option.label + option?.value}
>
{multiple && (
- <div className="shrink-0 text-gray-600">
+ <div className="shrink-0 text-neutral-600">
{selected ? (
- <CheckboxCheckedFill className="size-4 text-gray-600" />
+ <CheckboxCheckedFill className="size-4 text-neutral-600" />
) : (
- <CheckboxUnchecked className="size-4 text-gray-400" />
+ <CheckboxUnchecked className="size-4 text-neutral-400" />
)}
</div>
)}
<div className="flex min-w-0 grow items-center gap-1">
{option.icon && (
- <span className="shrink-0 text-gray-600">
+ <span className="shrink-0 text-neutral-600">
{isReactNode(option.icon) ? (
option.icon
) : (
@@ -398,7 +398,7 @@ function Option({
</div>
{right}
{!multiple && selected && (
- <Check2 className="size-4 shrink-0 text-gray-600" />
+ <Check2 className="size-4 shrink-0 text-neutral-600" />
)}
</Command.Item>
);
diff --git a/packages/ui/src/copy-button.tsx b/packages/ui/src/copy-button.tsx
index d16852125a..bbf893c480 100644
--- a/packages/ui/src/copy-button.tsx
+++ b/packages/ui/src/copy-button.tsx
@@ -11,8 +11,8 @@ const copyButtonVariants = cva(
{
variants: {
variant: {
- default: "bg-transparent hover:bg-gray-100 active:bg-gray-200",
- neutral: "bg-transparent hover:bg-gray-100 active:bg-gray-200",
+ default: "bg-transparent hover:bg-neutral-100 active:bg-neutral-200",
+ neutral: "bg-transparent hover:bg-neutral-100 active:bg-neutral-200",
},
},
defaultVariants: {
diff --git a/packages/ui/src/copy-text.tsx b/packages/ui/src/copy-text.tsx
index ac47075353..390631dd53 100644
--- a/packages/ui/src/copy-text.tsx
+++ b/packages/ui/src/copy-text.tsx
@@ -28,7 +28,7 @@ export function CopyText({
}}
type="button"
className={cn(
- "cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",
+ "cursor-copy text-sm text-neutral-700 decoration-dotted hover:underline",
copied && "cursor-default",
className,
)}
diff --git a/packages/ui/src/date-picker/calendar.tsx b/packages/ui/src/date-picker/calendar.tsx
index cc4f0b74be..c37b92c5ee 100644
--- a/packages/ui/src/date-picker/calendar.tsx
+++ b/packages/ui/src/date-picker/calendar.tsx
@@ -36,9 +36,9 @@ const NavigationButton = forwardRef<HTMLButtonElement, NavigationButtonProps>(
disabled={disabled}
className={cn(
"flex size-7 shrink-0 select-none items-center justify-center rounded border p-1 outline-none transition",
- "border-gray-200 text-gray-600 hover:text-gray-800",
- "hover:bg-gray-50 active:bg-gray-100",
- "disabled:pointer-events-none disabled:text-gray-400",
+ "border-neutral-200 text-neutral-600 hover:text-neutral-800",
+ "hover:bg-neutral-50 active:bg-neutral-100",
+ "disabled:pointer-events-none disabled:text-neutral-400",
)}
onClick={onClick}
{...props}
@@ -95,19 +95,19 @@ function Calendar({
month: "space-y-4 p-3 w-full",
nav: "gap-1 flex items-center rounded-full w-full h-full justify-between p-4",
table: "w-full border-separate border-spacing-y-1",
- head_cell: "w-9 font-medium text-xs text-center text-gray-400 pb-2",
+ head_cell: "w-9 font-medium text-xs text-center text-neutral-400 pb-2",
row: "w-full",
- cell: "relative p-0 text-center focus-within:relative text-gray-900",
+ cell: "relative p-0 text-center focus-within:relative text-neutral-900",
day: cn(
- "relative size-10 rounded-md text-sm text-gray-900",
- "hover:bg-gray-100 active:bg-gray-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500",
+ "relative size-10 rounded-md text-sm text-neutral-900",
+ "hover:bg-neutral-100 active:bg-neutral-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500",
),
day_today: "font-semibold",
day_selected:
"rounded aria-selected:bg-blue-500 aria-selected:text-white",
day_disabled:
- "!text-gray-300 line-through disabled:hover:bg-transparent",
- day_outside: "text-gray-400",
+ "!text-neutral-300 line-through disabled:hover:bg-transparent",
+ day_outside: "text-neutral-400",
day_range_middle:
"!rounded-none aria-selected:!bg-blue-100 aria-selected:!text-blue-900",
day_range_start: "rounded-r-none !rounded-l",
@@ -187,7 +187,7 @@ function Calendar({
<div
role="presentation"
aria-live="polite"
- className="text-sm font-medium capitalize tabular-nums text-gray-900"
+ className="text-sm font-medium capitalize tabular-nums text-neutral-900"
>
{format(props.displayMonth, "LLLL yyy", { locale })}
</div>
@@ -252,7 +252,7 @@ function Calendar({
"bg-blue-500": !selected,
"!bg-white": selected,
"!bg-blue-400": selected && range_middle,
- "text-gray-400": disabled,
+ "text-neutral-400": disabled,
},
)}
/>
diff --git a/packages/ui/src/date-picker/date-range-picker.tsx b/packages/ui/src/date-picker/date-range-picker.tsx
index e6138e0c04..49ec1287fc 100644
--- a/packages/ui/src/date-picker/date-range-picker.tsx
+++ b/packages/ui/src/date-picker/date-range-picker.tsx
@@ -137,7 +137,7 @@ const DateRangePickerInner = ({
<div
className={cn(
"relative flex h-16 w-full items-center sm:h-full sm:w-48",
- "border-b border-gray-200 sm:border-b-0 sm:border-l",
+ "border-b border-neutral-200 sm:border-b-0 sm:border-l",
"scrollbar-hide overflow-auto",
)}
>
@@ -166,7 +166,7 @@ const DateRangePickerInner = ({
className="scrollbar-hide overflow-x-scroll"
classNames={{
months:
- "flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide",
+ "flex flex-row divide-x divide-neutral-200 overflow-x-scroll scrollbar-hide",
}}
{...props}
/>
diff --git a/packages/ui/src/date-picker/presets.tsx b/packages/ui/src/date-picker/presets.tsx
index 25b8e5b85c..b29cb245ec 100644
--- a/packages/ui/src/date-picker/presets.tsx
+++ b/packages/ui/src/date-picker/presets.tsx
@@ -77,7 +77,7 @@ const Presets = <TPreset extends Preset, TValue>({
return (
<Command
- className="w-full rounded ring-gray-200 ring-offset-2 focus:outline-none"
+ className="w-full rounded ring-neutral-200 ring-offset-2 focus:outline-none"
tabIndex={0}
autoFocus
loop
@@ -92,18 +92,18 @@ const Presets = <TPreset extends Preset, TValue>({
title={preset.label}
value={preset.id}
className={cn(
- "group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200",
- "px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none",
+ "group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-neutral-200",
+ "px-2.5 py-1.5 text-left text-sm text-neutral-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none",
"disabled:pointer-events-none disabled:opacity-50",
- "sm:data-[selected=true]:bg-gray-100",
- matchesCurrent(preset) && "font-semibold text-gray-800",
+ "sm:data-[selected=true]:bg-neutral-100",
+ matchesCurrent(preset) && "font-semibold text-neutral-800",
)}
>
<span>{preset.label}</span>
{preset.requiresUpgrade ? (
<Lock className="h-3.5 w-3.5" aria-hidden="true" />
) : preset.shortcut ? (
- <kbd className="text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block">
+ <kbd className="text-neutral-4000 hidden rounded bg-neutral-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-neutral-200 md:block">
{preset.shortcut.toUpperCase()}
</kbd>
) : null}
diff --git a/packages/ui/src/date-picker/trigger.tsx b/packages/ui/src/date-picker/trigger.tsx
index c29dd30632..248e96e99b 100644
--- a/packages/ui/src/date-picker/trigger.tsx
+++ b/packages/ui/src/date-picker/trigger.tsx
@@ -6,9 +6,9 @@ import { ComponentProps, forwardRef } from "react";
const triggerStyles = cva(
[
"group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm",
- "bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all",
- "disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400",
- "focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
+ "bg-white border-neutral-200 text-neutral-900 placeholder-neutral-400 transition-all",
+ "disabled:pointer-events-none disabled:bg-neutral-100 disabled:text-neutral-400",
+ "focus-visible:border-neutral-500 data-[state=open]:border-neutral-500 data-[state=open]:ring-4 data-[state=open]:ring-neutral-200",
//" aria-[invalid=true]:ring-2 aria-[invalid=true]:ring-red-200 aria-[invalid=true]:border-red-500 invalid:ring-2 invalid:ring-red-200 invalid:border-red-500",
],
{
@@ -39,19 +39,19 @@ const Trigger = forwardRef<HTMLButtonElement, TriggerProps>(
>
<Calendar
className={cn(
- "h-4 w-4 shrink-0 text-gray-400",
- !!children && "text-gray-900",
+ "h-4 w-4 shrink-0 text-neutral-400",
+ !!children && "text-neutral-900",
)}
/>
- <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900">
+ <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-neutral-900">
{children ? (
children
) : placeholder ? (
- <span className="text-gray-400">{placeholder}</span>
+ <span className="text-neutral-400">{placeholder}</span>
) : null}
</span>
<ChevronDown
- className={`h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
+ className={`h-4 w-4 flex-shrink-0 text-neutral-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
/>
</button>
);
diff --git a/packages/ui/src/empty-state.tsx b/packages/ui/src/empty-state.tsx
index 455d01623c..bc31f3e574 100644
--- a/packages/ui/src/empty-state.tsx
+++ b/packages/ui/src/empty-state.tsx
@@ -16,18 +16,20 @@ export function EmptyState({
}: EmptyStateProps) {
return (
<div className="flex flex-col items-center justify-center gap-y-4">
- <div className="flex size-16 items-center justify-center rounded-2xl border border-gray-200 bg-gray-50">
- <Icon className="size-6 text-gray-800" />
+ <div className="flex size-16 items-center justify-center rounded-2xl border border-neutral-200 bg-neutral-50">
+ <Icon className="size-6 text-neutral-800" />
</div>
- <p className="text-center text-base font-medium text-gray-950">{title}</p>
+ <p className="text-center text-base font-medium text-neutral-950">
+ {title}
+ </p>
{description && (
- <p className="max-w-sm text-balance text-center text-sm text-gray-500">
+ <p className="max-w-sm text-balance text-center text-sm text-neutral-500">
{description}{" "}
{learnMore && (
<a
href={learnMore}
target="_blank"
- className="underline underline-offset-2 hover:text-gray-800"
+ className="underline underline-offset-2 hover:text-neutral-800"
>
Learn more ↗
</a>
diff --git a/packages/ui/src/file-upload.tsx b/packages/ui/src/file-upload.tsx
index abac2ea342..2e6cec1b38 100644
--- a/packages/ui/src/file-upload.tsx
+++ b/packages/ui/src/file-upload.tsx
@@ -22,11 +22,11 @@ const acceptFileTypes: Record<
};
const imageUploadVariants = cva(
- "group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",
+ "group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-neutral-50",
{
variants: {
variant: {
- default: "rounded-md border border-gray-300 shadow-sm",
+ default: "rounded-md border border-neutral-300 shadow-sm",
plain: "",
},
},
@@ -219,16 +219,16 @@ export function FileUpload({
<div
className={cn(
"absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] border-2 border-transparent bg-white transition-all",
- disabled && "bg-gray-50",
+ disabled && "bg-neutral-50",
dragActive &&
!disabled &&
- "cursor-copy border-black bg-gray-50 opacity-100",
+ "cursor-copy border-black bg-neutral-50 opacity-100",
imageSrc
? cn(
"opacity-0",
showHoverOverlay && !disabled && "group-hover:opacity-100",
)
- : cn(!disabled && "group-hover:bg-gray-50"),
+ : cn(!disabled && "group-hover:bg-neutral-50"),
)}
>
<CloudUpload
@@ -236,18 +236,18 @@ export function FileUpload({
"size-7 transition-all duration-75",
!disabled
? cn(
- "text-gray-500 group-hover:scale-110 group-active:scale-95",
+ "text-neutral-500 group-hover:scale-110 group-active:scale-95",
dragActive ? "scale-110" : "scale-100",
)
- : "text-gray-400",
+ : "text-neutral-400",
iconClassName,
)}
/>
{content !== null && (
<div
className={cn(
- "mt-2 text-center text-sm text-gray-500",
- disabled && "text-gray-400",
+ "mt-2 text-center text-sm text-neutral-500",
+ disabled && "text-neutral-400",
)}
>
{content ?? (
diff --git a/packages/ui/src/filter/filter-list.tsx b/packages/ui/src/filter/filter-list.tsx
index 135391bcc2..9d9cc8ec2a 100644
--- a/packages/ui/src/filter/filter-list.tsx
+++ b/packages/ui/src/filter/filter-list.tsx
@@ -46,7 +46,7 @@ export function FilterList({
key={`loader-${filterValue}`}
initial={{ opacity: 0, y: 4 }}
animate={{ opacity: 1, y: 0 }}
- className="h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"
+ className="h-9 w-48 animate-pulse rounded-md border border-neutral-200 bg-white"
/>
);
}
@@ -88,11 +88,11 @@ export function FilterList({
key={`${key}-${value}`}
initial={{ opacity: 0, y: 4 }}
animate={{ opacity: 1, y: 0 }}
- className="flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black"
+ className="flex items-center divide-x rounded-md border border-neutral-200 bg-white text-sm text-black"
>
{/* Filter */}
<div className="flex items-center gap-2.5 px-3 py-2">
- <span className="shrink-0 text-gray-600">
+ <span className="shrink-0 text-neutral-600">
{isReactNode(filter.icon) ? (
filter.icon
) : (
@@ -103,13 +103,13 @@ export function FilterList({
</div>
{/* is */}
- <div className="px-3 py-2 text-gray-500">is</div>
+ <div className="px-3 py-2 text-neutral-500">is</div>
{/* Option */}
<div className="flex items-center gap-2.5 px-3 py-2">
{filter.options ? (
<>
- <span className="shrink-0 text-gray-600">
+ <span className="shrink-0 text-neutral-600">
{isReactNode(OptionIcon) ? (
OptionIcon
) : (
@@ -119,14 +119,14 @@ export function FilterList({
{truncate(optionLabel, 30)}
</>
) : (
- <div className="h-5 w-12 animate-pulse rounded-md bg-gray-200" />
+ <div className="h-5 w-12 animate-pulse rounded-md bg-neutral-200" />
)}
</div>
{/* Remove */}
<button
type="button"
- className="h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1"
+ className="h-full rounded-r-md p-2 text-neutral-500 ring-inset ring-neutral-500 hover:bg-neutral-100 hover:text-neutral-800 focus:outline-none focus-visible:ring-1"
onClick={() => onRemove(key, value)}
>
<X className="h-3.5 w-3.5" />
@@ -140,11 +140,11 @@ export function FilterList({
{activeFilters?.length !== 0 && (
<button
type="button"
- className="group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none"
+ className="group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-neutral-500 ring-inset ring-neutral-500 transition-colors hover:border-neutral-200 hover:bg-white hover:text-black focus:outline-none"
onClick={onRemoveAll}
>
Clear Filters
- <kbd className="rounded-md border border-gray-200 px-1.5 py-0.5 text-xs text-gray-950 group-hover:bg-gray-50">
+ <kbd className="rounded-md border border-neutral-200 px-1.5 py-0.5 text-xs text-neutral-950 group-hover:bg-neutral-50">
ESC
</kbd>
</button>
diff --git a/packages/ui/src/filter/filter-select.tsx b/packages/ui/src/filter/filter-select.tsx
index f356258e77..5a6c0ac127 100644
--- a/packages/ui/src/filter/filter-select.tsx
+++ b/packages/ui/src/filter/filter-select.tsx
@@ -174,7 +174,7 @@ export function FilterSelect({
!selectedFilter || selectedFilter.shouldFilter !== false
}
>
- <div className="flex items-center overflow-hidden rounded-t-lg border-b border-gray-200">
+ <div className="flex items-center overflow-hidden rounded-t-lg border-b border-neutral-200">
<CommandInput
placeholder={`${selectedFilter?.label || "Filter"}...`}
value={search}
@@ -205,7 +205,7 @@ export function FilterSelect({
}}
/>
{!selectedFilter && (
- <kbd className="mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block">
+ <kbd className="mr-2 hidden shrink-0 rounded border border-neutral-200 bg-neutral-100 px-2 py-0.5 text-xs font-light text-neutral-500 md:block">
F
</kbd>
)}
@@ -226,7 +226,7 @@ export function FilterSelect({
onSelect={() => openFilter(filter.key)}
/>
{filter.separatorAfter && (
- <Command.Separator className="-mx-1 my-1 border-b border-gray-200" />
+ <Command.Separator className="-mx-1 my-1 border-b border-neutral-200" />
)}
</Fragment>
))
@@ -284,13 +284,13 @@ export function FilterSelect({
type="button"
className={cn(
"group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all",
- "border-gray-200 bg-white text-gray-900 placeholder-gray-400",
- "focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
+ "border-neutral-200 bg-white text-neutral-900 placeholder-neutral-400",
+ "focus-visible:border-neutral-500 data-[state=open]:border-neutral-500 data-[state=open]:ring-4 data-[state=open]:ring-neutral-200",
className,
)}
>
<ListFilter className="size-4 shrink-0" />
- <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900">
+ <span className="flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-neutral-900">
{children ?? "Filter"}
</span>
{activeFilters?.length ? (
@@ -299,7 +299,7 @@ export function FilterSelect({
</div>
) : (
<ChevronDown
- className={`size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
+ className={`size-4 shrink-0 text-neutral-400 transition-transform duration-75 group-data-[state=open]:rotate-180`}
/>
)}
</button>
@@ -327,7 +327,7 @@ const CommandInput = (
<Command.Input
{...props}
size={1}
- className="grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm"
+ className="grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-neutral-400 focus:ring-0 sm:text-sm"
onKeyDown={(e) => {
props.onKeyDown?.(e);
@@ -394,7 +394,7 @@ function FilterButton({
<Command.Item
className={cn(
"flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm",
- "data-[selected=true]:bg-gray-100",
+ "data-[selected=true]:bg-neutral-100",
)}
onPointerDown={(e) => {
e.preventDefault();
@@ -408,11 +408,11 @@ function FilterButton({
onSelect={onSelect}
value={label + option?.value}
>
- <span className="shrink-0 text-gray-600">
+ <span className="shrink-0 text-neutral-600">
{isReactNode(Icon) ? Icon : <Icon className="h-4 w-4" />}
</span>
{truncate(label, 48)}
- <div className="ml-1 flex shrink-0 grow justify-end text-gray-500">
+ <div className="ml-1 flex shrink-0 grow justify-end text-neutral-500">
{right}
</div>
</Command.Item>
@@ -429,16 +429,16 @@ const CommandEmpty = ({
}>) => {
if (askAI && search) {
return (
- <Command.Empty className="flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2">
+ <Command.Empty className="flex min-w-[180px] items-center space-x-2 rounded-md bg-neutral-100 px-3 py-2">
<Magic className="h-4 w-4" />
- <p className="text-center text-sm text-gray-600">
+ <p className="text-center text-sm text-neutral-600">
Ask AI <span className="text-black">"{search}"</span>
</p>
</Command.Empty>
);
} else {
return (
- <Command.Empty className="p-2 text-center text-sm text-gray-400">
+ <Command.Empty className="p-2 text-center text-sm text-neutral-400">
{children}
</Command.Empty>
);
diff --git a/packages/ui/src/footer.tsx b/packages/ui/src/footer.tsx
index b3a2018748..043b9cb340 100644
--- a/packages/ui/src/footer.tsx
+++ b/packages/ui/src/footer.tsx
@@ -103,7 +103,7 @@ export function Footer({
<span className="sr-only">
{process.env.NEXT_PUBLIC_APP_NAME} Logo
</span>
- <NavWordmark className="h-8 text-gray-800" />
+ <NavWordmark className="h-8 text-neutral-800" />
</Link>
</div>
<div className="flex items-center gap-3">
diff --git a/packages/ui/src/form.tsx b/packages/ui/src/form.tsx
index 6e58529875..f4cbc87f2f 100644
--- a/packages/ui/src/form.tsx
+++ b/packages/ui/src/form.tsx
@@ -35,12 +35,12 @@ export function Form({
});
setSaving(false);
}}
- className="rounded-lg border border-gray-200 bg-white"
+ className="rounded-lg border border-neutral-200 bg-white"
>
<div className="relative flex flex-col space-y-6 p-5 sm:p-10">
<div className="flex flex-col space-y-3">
<h2 className="text-xl font-medium">{title}</h2>
- <p className="text-sm text-gray-500">{description}</p>
+ <p className="text-sm text-neutral-500">{description}</p>
</div>
{typeof inputAttrs.defaultValue === "string" ? (
<input
@@ -50,21 +50,22 @@ export function Form({
disabled={disabledTooltip ? true : false}
onChange={(e) => setValue(e.target.value)}
className={cn(
- "w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "w-full max-w-md rounded-md border border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
{
- "cursor-not-allowed bg-gray-100 text-gray-400": disabledTooltip,
+ "cursor-not-allowed bg-neutral-100 text-neutral-400":
+ disabledTooltip,
},
)}
/>
) : (
- <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200" />
+ <div className="h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-neutral-200" />
)}
</div>
- <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10">
+ <div className="flex items-center justify-between space-x-4 rounded-b-lg border-t border-neutral-200 bg-neutral-50 p-3 sm:px-10">
{typeof helpText === "string" ? (
<p
- className="prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors"
+ className="prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-neutral-700 text-neutral-500 transition-colors"
dangerouslySetInnerHTML={{ __html: helpText || "" }}
/>
) : (
diff --git a/packages/ui/src/icons/loading-circle.tsx b/packages/ui/src/icons/loading-circle.tsx
index 46af372015..6380a28d62 100644
--- a/packages/ui/src/icons/loading-circle.tsx
+++ b/packages/ui/src/icons/loading-circle.tsx
@@ -5,7 +5,7 @@ export function LoadingCircle({ className }: { className?: string }) {
<svg
aria-hidden="true"
className={cn(
- "h-4 w-4 animate-spin fill-gray-600 text-gray-200",
+ "h-4 w-4 animate-spin fill-neutral-600 text-neutral-200",
className,
)}
viewBox="0 0 100 101"
diff --git a/packages/ui/src/icons/sort-order.tsx b/packages/ui/src/icons/sort-order.tsx
index a02ced655c..57c1809125 100644
--- a/packages/ui/src/icons/sort-order.tsx
+++ b/packages/ui/src/icons/sort-order.tsx
@@ -13,7 +13,7 @@ export default function SortOrder({
}) {
return (
<svg
- className={cn("w-2 text-gray-950", className)}
+ className={cn("w-2 text-neutral-950", className)}
viewBox="0 0 8 12"
fill="none"
xmlns="http://www.w3.org/2000/svg"
diff --git a/packages/ui/src/input-select.tsx b/packages/ui/src/input-select.tsx
index 627757bf3b..e8adb62b4d 100644
--- a/packages/ui/src/input-select.tsx
+++ b/packages/ui/src/input-select.tsx
@@ -173,11 +173,11 @@ export function InputSelect({
>
<div
className={cn(
- "group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",
+ "group relative rounded-md border border-neutral-300 bg-white px-1 focus-within:border-neutral-500 focus-within:ring-1 focus-within:ring-neutral-500 md:min-w-[140px]",
className,
)}
>
- <div className="absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400">
+ <div className="absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-neutral-400">
{selectedItem && selectedItem.image ? (
<img
src={selectedItem.image}
@@ -185,7 +185,7 @@ export function InputSelect({
className="h-4 w-4 rounded-full"
/>
) : (
- icon || <Search className="h-4 w-4 text-gray-400" />
+ icon || <Search className="h-4 w-4 text-neutral-400" />
)}
</div>
<div className="flex h-10 px-8">
@@ -195,10 +195,10 @@ export function InputSelect({
</div>
</Command>
</Drawer.Trigger>
- <Drawer.Overlay className="fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur" />
+ <Drawer.Overlay className="fixed inset-0 z-40 bg-neutral-100 bg-opacity-10 backdrop-blur" />
<Drawer.Portal>
<Drawer.Content
- className="fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white"
+ className="fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-neutral-200 bg-white"
onPointerDownOutside={(e) => {
// Prevent dismissal when clicking inside a toast
if (
@@ -217,11 +217,11 @@ export function InputSelect({
>
<div
className={cn(
- "group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",
+ "group relative mb-2 rounded-t-md border-b border-neutral-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-neutral-500 sm:focus-within:ring-1 sm:focus-within:ring-neutral-200",
className,
)}
>
- <div className="absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400">
+ <div className="absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-neutral-400">
{selectedItem && selectedItem.image ? (
<img
src={selectedItem.image}
@@ -229,7 +229,7 @@ export function InputSelect({
className="h-4 w-4 rounded-full"
/>
) : (
- icon || <Search className="h-4 w-4 text-gray-400" />
+ icon || <Search className="h-4 w-4 text-neutral-400" />
)}
</div>
<div className="flex h-10 px-8">
@@ -244,12 +244,12 @@ export function InputSelect({
(noItemsElement ? (
<div>{noItemsElement}</div>
) : (
- <p className="px-4 py-2 text-sm text-gray-600">
+ <p className="px-4 py-2 text-sm text-neutral-600">
No items found.
</p>
))}
{inputValue !== "" && (
- <Command.Empty className="px-4 py-2 text-sm text-gray-600">
+ <Command.Empty className="px-4 py-2 text-sm text-neutral-600">
No results found.
</Command.Empty>
)}
@@ -270,13 +270,13 @@ export function InputSelect({
>
<div
className={cn(
- "group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",
+ "group rounded-md border border-neutral-200 bg-white px-1 transition-all focus-within:border-neutral-500 focus-within:ring-4 focus-within:ring-neutral-200",
className,
)}
>
<div
onClick={() => setOpenCommandList((prev) => !prev)}
- className="absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400"
+ className="absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-neutral-400"
>
{selectedItem && selectedItem.image ? (
<img
@@ -285,7 +285,7 @@ export function InputSelect({
className="h-4 w-4 rounded-full"
/>
) : (
- icon || <Search className="h-4 w-4 text-gray-400" />
+ icon || <Search className="h-4 w-4 text-neutral-400" />
)}
</div>
<div className="flex h-10 px-8">
@@ -301,7 +301,7 @@ export function InputSelect({
ref={floatingRefs.setFloating}
style={floatingStyles}
{...getFloatingProps()}
- className="z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md"
+ className="z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-neutral-200 bg-white shadow-md"
>
<div
ref={scrollRef}
@@ -314,12 +314,12 @@ export function InputSelect({
(noItemsElement ? (
<div>{noItemsElement}</div>
) : (
- <p className="px-4 py-2 text-sm text-gray-600">
+ <p className="px-4 py-2 text-sm text-neutral-600">
No items found.
</p>
))}
{inputValue !== "" && (
- <Command.Empty className="px-4 py-2 text-sm text-gray-600">
+ <Command.Empty className="px-4 py-2 text-sm text-neutral-600">
No results found.
</Command.Empty>
)}
@@ -374,7 +374,7 @@ const CommandInput = forwardRef<HTMLInputElement>((_, ref) => {
}
}}
disabled={disabled}
- className="block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"
+ className="block w-full truncate rounded-md border-none px-0 text-base text-neutral-900 placeholder-neutral-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"
autoCapitalize="none"
/>
);
@@ -400,11 +400,11 @@ function CloseChevron() {
className="absolute inset-y-0 right-0 my-auto pr-3"
>
{inputValue.length > 0 ? (
- <X className="h-4 w-4 text-gray-400 transition-all hover:text-gray-700" />
+ <X className="h-4 w-4 text-neutral-400 transition-all hover:text-neutral-700" />
) : (
<ChevronDown
className={cn(
- "h-4 w-4 text-gray-400 transition-all hover:text-gray-700",
+ "h-4 w-4 text-neutral-400 transition-all hover:text-neutral-700",
{
"rotate-180 transform": openCommandList,
},
@@ -429,7 +429,7 @@ function SelectorList({ items }: { items: InputSelectItemProps[] }) {
setInputValue(item.value);
setOpenCommandList(false);
}}
- className="group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900"
+ className="group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-neutral-900 hover:bg-neutral-100 hover:text-neutral-900 active:bg-neutral-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-neutral-100 aria-selected:text-neutral-900"
>
<div className="flex items-center space-x-2">
{item.image && (
@@ -462,7 +462,7 @@ function SelectorList({ items }: { items: InputSelectItemProps[] }) {
)}
</div>
- <Check className="invisible h-5 w-5 text-gray-500 aria-selected:visible" />
+ <Check className="invisible h-5 w-5 text-neutral-500 aria-selected:visible" />
</Command.Item>
));
}
diff --git a/packages/ui/src/input.tsx b/packages/ui/src/input.tsx
index c556476c73..c9e3a71e7c 100644
--- a/packages/ui/src/input.tsx
+++ b/packages/ui/src/input.tsx
@@ -23,7 +23,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
<input
type={isPasswordVisible ? "text" : type}
className={cn(
- "w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",
+ "w-full max-w-md rounded-md border border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm",
props.error &&
"border-red-500 focus:border-red-500 focus:ring-red-500",
className,
@@ -60,12 +60,12 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
>
{isPasswordVisible ? (
<Eye
- className="size-4 flex-none text-gray-500 transition hover:text-gray-700"
+ className="size-4 flex-none text-neutral-500 transition hover:text-neutral-700"
aria-hidden
/>
) : (
<EyeSlash
- className="size-4 flex-none text-gray-500 transition hover:text-gray-700"
+ className="size-4 flex-none text-neutral-500 transition hover:text-neutral-700"
aria-hidden
/>
)}
diff --git a/packages/ui/src/link-logo.tsx b/packages/ui/src/link-logo.tsx
index 0c2a3b1ec6..8dc03c8aa2 100644
--- a/packages/ui/src/link-logo.tsx
+++ b/packages/ui/src/link-logo.tsx
@@ -25,11 +25,11 @@ export function LinkLogo({
) : (
<div
className={cn(
- "flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",
+ "flex h-8 w-8 items-center justify-center rounded-full bg-neutral-100 px-0 sm:h-10 sm:w-10",
className,
)}
>
- <Globe2 className="h-4 w-4 text-gray-600 sm:h-5 sm:w-5" />
+ <Globe2 className="h-4 w-4 text-neutral-600 sm:h-5 sm:w-5" />
</div>
);
}
diff --git a/packages/ui/src/link-preview.tsx b/packages/ui/src/link-preview.tsx
index 2bd6b54a45..82f3a49f6f 100644
--- a/packages/ui/src/link-preview.tsx
+++ b/packages/ui/src/link-preview.tsx
@@ -46,14 +46,14 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {
<>
{!defaultUrl && (
<div className="relative flex items-center">
- <Link2 className="absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400" />
+ <Link2 className="absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400" />
<input
ref={inputRef}
name="url"
id="url"
type="url"
autoFocus={!isMobile}
- className="block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500"
+ className="block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500"
placeholder="Enter your URL"
defaultValue={url}
onChange={(e) =>
@@ -68,9 +68,9 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {
</div>
)}
- <div className="relative overflow-hidden rounded-md border border-gray-300 bg-gray-50">
+ <div className="relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50">
{isValidating && (
- <div className="absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50">
+ <div className="absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50">
<LoadingCircle />
</div>
)}
@@ -78,12 +78,12 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {
<img
src={image}
alt="Preview"
- className="h-[250px] w-full border-b border-gray-300 object-cover"
+ className="h-[250px] w-full border-b border-neutral-300 object-cover"
/>
) : (
- <div className="flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300">
- <Photo className="h-8 w-8 text-gray-400" />
- <p className="text-sm text-gray-400">
+ <div className="flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300">
+ <Photo className="h-8 w-8 text-neutral-400" />
+ <p className="text-sm text-neutral-400">
Enter a link to generate a preview.
</p>
</div>
@@ -92,21 +92,21 @@ export function LinkPreview({ defaultUrl }: { defaultUrl?: string }) {
{hostname ? (
<p className="text-sm text-[#536471]">{hostname}</p>
) : (
- <div className="mb-1 h-4 w-24 rounded-md bg-gray-100" />
+ <div className="mb-1 h-4 w-24 rounded-md bg-neutral-100" />
)}
{title ? (
<h3 className="truncate text-sm font-medium text-[#0f1419]">
{title}
</h3>
) : (
- <div className="mb-1 h-4 w-full rounded-md bg-gray-100" />
+ <div className="mb-1 h-4 w-full rounded-md bg-neutral-100" />
)}
{description ? (
<p className="line-clamp-2 text-sm text-[#536471]">{description}</p>
) : (
<div className="grid gap-2">
- <div className="h-4 w-full rounded-md bg-gray-100" />
- <div className="h-4 w-48 rounded-md bg-gray-100" />
+ <div className="h-4 w-full rounded-md bg-neutral-100" />
+ <div className="h-4 w-48 rounded-md bg-neutral-100" />
</div>
)}
</div>
@@ -123,19 +123,19 @@ export function LinkPreviewPlaceholder({
return (
<>
<div className="relative flex items-center">
- <Link2 className="absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400" />
+ <Link2 className="absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400" />
<input
name="url"
id="url"
type="url"
disabled
- className="block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500"
+ className="block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500"
placeholder="Enter your URL"
defaultValue={defaultUrl || "https://github.com/dubinc/dub"}
/>
</div>
- <div className="relative overflow-hidden rounded-md border border-gray-300 bg-gray-50">
- <div className="absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50">
+ <div className="relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50">
+ <div className="absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50">
<LoadingCircle />
</div>
</div>
diff --git a/packages/ui/src/modal.tsx b/packages/ui/src/modal.tsx
index 6946bd0202..d80560391c 100644
--- a/packages/ui/src/modal.tsx
+++ b/packages/ui/src/modal.tsx
@@ -58,7 +58,7 @@ export function Modal({
{...drawerRootProps}
>
<Drawer.Portal>
- <Drawer.Overlay className="fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur" />
+ <Drawer.Overlay className="fixed inset-0 z-50 bg-neutral-100 bg-opacity-10 backdrop-blur" />
<Drawer.Content
onPointerDownOutside={(e) => {
// Prevent dismissal when clicking inside a toast
@@ -71,7 +71,7 @@ export function Modal({
}}
className={cn(
"fixed bottom-0 left-0 right-0 z-50 flex flex-col",
- "rounded-t-[10px] border-t border-gray-200 bg-white",
+ "rounded-t-[10px] border-t border-neutral-200 bg-white",
className,
)}
>
@@ -103,7 +103,7 @@ export function Modal({
<Dialog.Overlay
// for detecting when there's an active opened modal
id="modal-backdrop"
- className="animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"
+ className="animate-fade-in fixed inset-0 z-40 bg-neutral-100 bg-opacity-50 backdrop-blur-md"
/>
<Dialog.Content
onOpenAutoFocus={(e) => e.preventDefault()}
@@ -119,7 +119,7 @@ export function Modal({
}}
className={cn(
"fixed inset-0 z-40 m-auto h-fit w-full max-w-md",
- "border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",
+ "border border-neutral-200 bg-white p-0 shadow-xl sm:rounded-2xl",
"scrollbar-hide animate-scale-in overflow-y-auto",
className,
)}
@@ -138,7 +138,7 @@ export function Modal({
function DrawerIsland() {
return (
<div className="sticky top-0 z-20 flex items-center justify-center rounded-t-[10px] bg-inherit">
- <div className="my-3 h-1 w-12 rounded-full bg-gray-300" />
+ <div className="my-3 h-1 w-12 rounded-full bg-neutral-300" />
</div>
);
}
diff --git a/packages/ui/src/nav-wordmark.tsx b/packages/ui/src/nav-wordmark.tsx
index 289bf6b363..252bcc33da 100644
--- a/packages/ui/src/nav-wordmark.tsx
+++ b/packages/ui/src/nav-wordmark.tsx
@@ -83,7 +83,7 @@ export function NavWordmark({
setIsPopoverOpen(false);
}}
>
- <div className="grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black">
+ <div className="grid gap-1 rounded-lg border border-neutral-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black">
<ContextMenuButton
text="Copy Logo as SVG"
variant="outline"
@@ -134,7 +134,7 @@ function ContextMenuButton({ className, ...rest }: ButtonProps) {
return (
<Button
className={cn(
- "h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",
+ "h-9 justify-start px-3 font-medium hover:text-neutral-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",
className,
)}
{...rest}
diff --git a/packages/ui/src/nav/content/product-content.tsx b/packages/ui/src/nav/content/product-content.tsx
index 8d3e935f94..eabade167c 100644
--- a/packages/ui/src/nav/content/product-content.tsx
+++ b/packages/ui/src/nav/content/product-content.tsx
@@ -29,7 +29,7 @@ const largeLinks = [
export function ProductContent({ domain }: { domain: string }) {
return (
- <div className="grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-gray-200">
+ <div className="grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200">
<div className="grid grid-cols-2 gap-4 p-4">
<NavigationMenuLink asChild>
<Link
@@ -107,10 +107,10 @@ export function ProductContent({ domain }: { domain: string }) {
getUtmParams({ domain, utm_content: title }),
)}
icon={
- <div className="shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10">
+ <div className="shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10">
<Icon
className={cn(
- "h-4 w-4 shrink-0 text-gray-600 transition-colors dark:text-white/60",
+ "h-4 w-4 shrink-0 text-neutral-600 transition-colors dark:text-white/60",
iconClassName,
)}
/>
diff --git a/packages/ui/src/nav/content/resources-content.tsx b/packages/ui/src/nav/content/resources-content.tsx
index 79917cedc0..1635bded5a 100644
--- a/packages/ui/src/nav/content/resources-content.tsx
+++ b/packages/ui/src/nav/content/resources-content.tsx
@@ -84,10 +84,10 @@ export function ResourcesContent({ domain }: { domain: string }) {
getUtmParams({ domain, utm_content: title }),
)}
icon={
- <div className="shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-1 dark:border-white/20 dark:bg-white/10">
+ <div className="shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-1 dark:border-white/20 dark:bg-white/10">
<Icon
className={cn(
- "size-5 text-gray-600 transition-colors dark:text-white/60",
+ "size-5 text-neutral-600 transition-colors dark:text-white/60",
iconClassName,
)}
/>
diff --git a/packages/ui/src/nav/content/shared.tsx b/packages/ui/src/nav/content/shared.tsx
index 2b149c5591..59716551f1 100644
--- a/packages/ui/src/nav/content/shared.tsx
+++ b/packages/ui/src/nav/content/shared.tsx
@@ -70,7 +70,7 @@ export function ContentIcon({
icon: (props: SVGProps<SVGSVGElement>) => JSX.Element;
}) {
return (
- <div className="shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-3 dark:border-white/20 dark:bg-white/10">
+ <div className="shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-3 dark:border-white/20 dark:bg-white/10">
<Icon className="h-4 w-4 text-black transition-transform group-hover:scale-110 dark:text-white/80" />
</div>
);
@@ -89,7 +89,7 @@ export function ToolLinkCard({
<NavigationMenuLink asChild>
<Link
href={href}
- className="group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-sm font-medium text-gray-800 transition-colors hover:border-gray-200 hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20"
+ className="group relative isolate overflow-hidden rounded-[8px] border border-neutral-100 p-3 text-sm font-medium text-neutral-800 transition-colors hover:border-neutral-200 hover:bg-neutral-100 active:bg-neutral-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20"
>
<div className="absolute -bottom-5 -right-3 -z-[1] w-14">{icon}</div>
{name}
diff --git a/packages/ui/src/nav/nav-mobile.tsx b/packages/ui/src/nav/nav-mobile.tsx
index d4cb38921d..49cc6ecc85 100644
--- a/packages/ui/src/nav/nav-mobile.tsx
+++ b/packages/ui/src/nav/nav-mobile.tsx
@@ -44,14 +44,14 @@ export function NavMobile({
<button
onClick={() => setOpen(!open)}
className={cn(
- "fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",
- open && "hover:bg-gray-100 active:bg-gray-200",
+ "fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-neutral-200 focus:outline-none active:bg-neutral-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",
+ open && "hover:bg-neutral-100 active:bg-neutral-200",
)}
>
{open ? (
- <X className="h-5 w-5 text-gray-600 dark:text-white/70" />
+ <X className="h-5 w-5 text-neutral-600 dark:text-white/70" />
) : (
- <Menu className="h-5 w-5 text-gray-600 dark:text-white/70" />
+ <Menu className="h-5 w-5 text-neutral-600 dark:text-white/70" />
)}
</button>
<nav
@@ -60,7 +60,7 @@ export function NavMobile({
open && "block",
)}
>
- <ul className="grid divide-y divide-gray-200 dark:divide-white/[0.15]">
+ <ul className="grid divide-y divide-neutral-200 dark:divide-white/[0.15]">
{navItems.map(({ name, href, childItems }, idx) => (
<MobileNavItem
key={idx}
@@ -138,7 +138,7 @@ const MobileNavItem = ({
<p className="font-semibold">{name}</p>
<ChevronDown
className={cn(
- "h-5 w-5 text-gray-500 transition-all dark:text-white/50",
+ "h-5 w-5 text-neutral-500 transition-all dark:text-white/50",
expanded && "rotate-180",
)}
/>
diff --git a/packages/ui/src/pagination-controls.tsx b/packages/ui/src/pagination-controls.tsx
index d5d2aa76ce..3d3c3db9eb 100644
--- a/packages/ui/src/pagination-controls.tsx
+++ b/packages/ui/src/pagination-controls.tsx
@@ -3,9 +3,9 @@ import { PaginationState } from "@tanstack/react-table";
import { PropsWithChildren } from "react";
const buttonClassName = cn(
- "flex h-7 items-center justify-center gap-2 whitespace-nowrap rounded-md border border-gray-200 bg-white px-2 text-sm text-gray-600",
- "outline-none hover:bg-gray-50 focus-visible:border-gray-500",
- "disabled:cursor-not-allowed disabled:border-gray-200 disabled:text-gray-400 disabled:bg-gray-100",
+ "flex h-7 items-center justify-center gap-2 whitespace-nowrap rounded-md border border-neutral-200 bg-white px-2 text-sm text-neutral-600",
+ "outline-none hover:bg-neutral-50 focus-visible:border-neutral-500",
+ "disabled:cursor-not-allowed disabled:border-neutral-200 disabled:text-neutral-400 disabled:bg-neutral-100",
);
export function PaginationControls({
@@ -25,7 +25,7 @@ export function PaginationControls({
return (
<div
className={cn(
- "flex items-center justify-between gap-2 text-sm leading-6 text-gray-600",
+ "flex items-center justify-between gap-2 text-sm leading-6 text-neutral-600",
className,
)}
>
diff --git a/packages/ui/src/popover.tsx b/packages/ui/src/popover.tsx
index 93ce95e27e..1e90bc8291 100644
--- a/packages/ui/src/popover.tsx
+++ b/packages/ui/src/popover.tsx
@@ -43,9 +43,9 @@ export function Popover({
{children}
</Drawer.Trigger>
<Drawer.Portal>
- <Drawer.Overlay className="fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur" />
+ <Drawer.Overlay className="fixed inset-0 z-50 bg-neutral-100 bg-opacity-10 backdrop-blur" />
<Drawer.Content
- className="fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white"
+ className="fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-neutral-200 bg-white"
onEscapeKeyDown={onEscapeKeyDown}
onPointerDownOutside={(e) => {
// Prevent dismissal when clicking inside a toast
@@ -58,7 +58,7 @@ export function Popover({
}}
>
<div className="sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit">
- <div className="my-3 h-1 w-12 rounded-full bg-gray-300" />
+ <div className="my-3 h-1 w-12 rounded-full bg-neutral-300" />
</div>
<div className="flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl">
{content}
@@ -81,7 +81,7 @@ export function Popover({
align={align}
side={side}
className={cn(
- "animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",
+ "animate-slide-up-fade z-50 items-center rounded-lg border border-neutral-200 bg-white drop-shadow-lg sm:block",
popoverContentClassName,
)}
sticky={sticky}
diff --git a/packages/ui/src/progress-bar.tsx b/packages/ui/src/progress-bar.tsx
index d47b3de1a5..86df32506a 100644
--- a/packages/ui/src/progress-bar.tsx
+++ b/packages/ui/src/progress-bar.tsx
@@ -15,7 +15,7 @@ export function ProgressBar({
return (
<div
className={cn(
- "h-3 w-full overflow-hidden rounded-full bg-gray-200",
+ "h-3 w-full overflow-hidden rounded-full bg-neutral-200",
className,
)}
>
diff --git a/packages/ui/src/status-badge.tsx b/packages/ui/src/status-badge.tsx
index e17c9bfa8e..91c2d6f662 100644
--- a/packages/ui/src/status-badge.tsx
+++ b/packages/ui/src/status-badge.tsx
@@ -14,7 +14,7 @@ const statusBadgeVariants = cva(
{
variants: {
variant: {
- neutral: "bg-gray-500/[.15] text-gray-600",
+ neutral: "bg-neutral-500/[.15] text-neutral-600",
new: "bg-blue-500/[.15] text-blue-600",
success: "bg-green-500/[.15] text-green-600",
pending: "bg-orange-500/[.15] text-orange-600",
diff --git a/packages/ui/src/switch.tsx b/packages/ui/src/switch.tsx
index 9377a3076e..d99e84e46f 100644
--- a/packages/ui/src/switch.tsx
+++ b/packages/ui/src/switch.tsx
@@ -40,7 +40,7 @@ export function Switch({
{...(fn && { onCheckedChange: fn })}
disabled={switchDisabled}
className={cn(
- "radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",
+ "radix-state-checked:bg-blue-500 radix-state-unchecked:bg-neutral-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",
"focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75",
"data-[disabled]:cursor-not-allowed",
trackDimensions,
diff --git a/packages/ui/src/tab-select.tsx b/packages/ui/src/tab-select.tsx
index 40edb0c915..6840389959 100644
--- a/packages/ui/src/tab-select.tsx
+++ b/packages/ui/src/tab-select.tsx
@@ -7,7 +7,7 @@ const tabSelectButtonVariants = cva("p-4 transition-colors duration-75", {
variants: {
variant: {
default:
- "text-gray-400 data-[selected=true]:text-black data-[selected=false]:hover:text-gray-500",
+ "text-neutral-400 data-[selected=true]:text-black data-[selected=false]:hover:text-neutral-500",
accent:
"text-neutral-500 transition-[color,font-weight] data-[selected=true]:text-blue-600 data-[selected=false]:hover:text-neutral-700 data-[selected=true]:font-medium",
},
diff --git a/packages/ui/src/table/table.tsx b/packages/ui/src/table/table.tsx
index d40e4c3c5c..979dc78d0f 100644
--- a/packages/ui/src/table/table.tsx
+++ b/packages/ui/src/table/table.tsx
@@ -29,7 +29,7 @@ import { LoadingSpinner, SortOrder } from "../icons";
const tableCellClassName = (columnId: string, clickable?: boolean) =>
cn([
- "py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative",
+ "py-2.5 text-left text-sm leading-6 whitespace-nowrap border-neutral-200 px-4 relative",
"border-l border-b",
columnId === "menu" && "bg-white border-l-transparent py-0 px-1",
clickable && "group-hover/row:bg-neutral-50 transition-colors duration-75",
@@ -180,7 +180,7 @@ export function Table<T>({
return (
<div
className={cn(
- "relative rounded-xl border border-gray-200 bg-white",
+ "relative rounded-xl border border-neutral-200 bg-white",
containerClassName,
)}
>
@@ -304,7 +304,7 @@ export function Table<T>({
key={cell.id}
className={cn(
tableCellClassName(cell.column.id, !!onRowClick),
- "group text-gray-600",
+ "group text-neutral-600",
getCommonPinningClassNames(
cell.column,
row.index === table.getRowModel().rows.length - 1,
@@ -338,14 +338,14 @@ export function Table<T>({
{children}
</div>
) : (
- <div className="flex h-96 w-full items-center justify-center text-sm text-gray-500">
+ <div className="flex h-96 w-full items-center justify-center text-sm text-neutral-500">
{error ||
emptyState ||
`No ${resourceName?.(true) || "items"} found.`}
</div>
)}
{pagination && !error && !!data?.length && !!rowCount && (
- <div className="sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600">
+ <div className="sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-neutral-200 bg-white px-4 py-3.5 text-sm leading-6 text-neutral-600">
<div>
<span className="hidden sm:inline-block">Viewing</span>{" "}
<span className="font-medium">
diff --git a/packages/ui/src/toggle-group.tsx b/packages/ui/src/toggle-group.tsx
index 2566f823a0..b49c631fdb 100644
--- a/packages/ui/src/toggle-group.tsx
+++ b/packages/ui/src/toggle-group.tsx
@@ -34,7 +34,7 @@ export function ToggleGroup({
<motion.div
layout
className={cn(
- "relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",
+ "relative inline-flex items-center gap-1 rounded-xl border border-neutral-200 bg-white p-1",
className,
)}
style={style}
@@ -46,7 +46,7 @@ export function ToggleGroup({
className={cn(
"relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",
{
- "z-[11] transition-colors hover:text-gray-500":
+ "z-[11] transition-colors hover:text-neutral-500":
option.value !== selected,
},
optionClassName,
@@ -63,7 +63,7 @@ export function ToggleGroup({
<motion.div
layoutId={layoutGroupId}
className={cn(
- "absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",
+ "absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-neutral-200 bg-neutral-50",
indicatorClassName,
)}
transition={{ duration: 0.25 }}
diff --git a/packages/ui/src/tooltip.tsx b/packages/ui/src/tooltip.tsx
index bebc48d484..f6bb8454c1 100644
--- a/packages/ui/src/tooltip.tsx
+++ b/packages/ui/src/tooltip.tsx
@@ -61,14 +61,14 @@ export function Tooltip({
<TooltipPrimitive.Content
sideOffset={8}
side={side}
- className="animate-slide-up-fade pointer-events-auto z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm"
+ className="animate-slide-up-fade pointer-events-auto z-[99] items-center overflow-hidden rounded-xl border border-neutral-200 bg-white shadow-sm"
collisionPadding={0}
{...rest}
>
{typeof content === "string" ? (
<span
className={cn(
- "block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",
+ "block max-w-xs text-pretty px-4 py-2 text-center text-sm text-neutral-700",
contentClassName,
)}
>
@@ -100,7 +100,7 @@ export function TooltipContent({
}) {
return (
<div className="flex max-w-xs flex-col items-center space-y-3 p-4 text-center">
- <p className="text-sm text-gray-700">{title}</p>
+ <p className="text-sm text-neutral-700">{title}</p>
{cta &&
(href ? (
<Link
@@ -135,14 +135,14 @@ export function SimpleTooltipContent({
href: string;
}) {
return (
- <div className="max-w-xs px-4 py-2 text-center text-sm text-gray-700">
+ <div className="max-w-xs px-4 py-2 text-center text-sm text-neutral-700">
{title}{" "}
<a
href={href}
target="_blank"
rel="noopener noreferrer"
onClick={(e) => e.stopPropagation()}
- className="inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800"
+ className="inline-flex text-neutral-500 underline underline-offset-4 hover:text-neutral-800"
>
{cta}
</a>
@@ -152,14 +152,14 @@ export function SimpleTooltipContent({
export function LinkifyTooltipContent({ children }: { children: ReactNode }) {
return (
- <div className="block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700">
+ <div className="block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-neutral-700">
<Linkify
as="p"
options={{
target: "_blank",
rel: "noopener noreferrer nofollow",
className:
- "underline underline-offset-4 text-gray-400 hover:text-gray-700",
+ "underline underline-offset-4 text-neutral-400 hover:text-neutral-700",
}}
>
{children}
@@ -171,7 +171,7 @@ export function LinkifyTooltipContent({ children }: { children: ReactNode }) {
export function InfoTooltip(props: Omit<TooltipProps, "children">) {
return (
<Tooltip {...props}>
- <HelpCircle className="h-4 w-4 text-gray-500" />
+ <HelpCircle className="h-4 w-4 text-neutral-500" />
</Tooltip>
);
}
@@ -195,13 +195,16 @@ export function NumberTooltip({
return (
<Tooltip
content={
- <div className="block max-w-xs px-4 py-2 text-center text-sm text-gray-700">
- <p className="text-sm font-semibold text-gray-700">
+ <div className="block max-w-xs px-4 py-2 text-center text-sm text-neutral-700">
+ <p className="text-sm font-semibold text-neutral-700">
{prefix}
{nFormatter(value || 0, { full: true })} {unit}
</p>
{lastClicked && (
- <p className="mt-1 text-xs text-gray-500" suppressHydrationWarning>
+ <p
+ className="mt-1 text-xs text-neutral-500"
+ suppressHydrationWarning
+ >
Last clicked {timeAgo(lastClicked, { withAgo: true })}
</p>
)}
@@ -219,7 +222,7 @@ export function BadgeTooltip({ children, content, ...props }: TooltipProps) {
<div className="flex cursor-pointer items-center">
<Badge
variant="gray"
- className="border-gray-300 transition-all hover:bg-gray-200"
+ className="border-neutral-300 transition-all hover:bg-neutral-200"
>
{children}
</Badge>
@@ -242,7 +245,7 @@ export function ButtonTooltip({
type="button"
{...props}
className={cn(
- "flex h-6 w-6 items-center justify-center rounded-md text-gray-500 transition-colors duration-75 hover:bg-gray-100 active:bg-gray-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",
+ "flex h-6 w-6 items-center justify-center rounded-md text-neutral-500 transition-colors duration-75 hover:bg-neutral-100 active:bg-neutral-200 disabled:cursor-not-allowed disabled:hover:bg-transparent",
props.className,
)}
>
diff --git a/packages/ui/src/utm-builder.tsx b/packages/ui/src/utm-builder.tsx
index a38722201b..9960a01e7d 100644
--- a/packages/ui/src/utm-builder.tsx
+++ b/packages/ui/src/utm-builder.tsx
@@ -102,8 +102,8 @@ export function UTMBuilder({
<Tooltip
content={
<div className="p-3 text-center text-xs">
- <p className="text-gray-600">{description}</p>
- <span className="font-mono text-gray-400">{key}</span>
+ <p className="text-neutral-600">{description}</p>
+ <span className="font-mono text-neutral-400">{key}</span>
</div>
}
sideOffset={4}
@@ -111,7 +111,7 @@ export function UTMBuilder({
>
<div
className={cn(
- "flex items-center gap-1.5 rounded-l-md border-y border-l border-gray-300 bg-gray-50 px-3 py-1.5 text-gray-700",
+ "flex items-center gap-1.5 rounded-l-md border-y border-l border-neutral-300 bg-neutral-50 px-3 py-1.5 text-neutral-700",
showParams ? "sm:min-w-36" : "sm:min-w-28",
)}
onClick={() => setShowParams((s) => !s)}
@@ -137,7 +137,7 @@ export function UTMBuilder({
ref={idx === 0 ? inputRef : undefined}
placeholder={placeholder}
disabled={disabled || Boolean(disabledTooltip)}
- className="size-full rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm"
+ className="size-full rounded-r-md border border-neutral-300 placeholder-neutral-400 focus:border-neutral-500 focus:ring-neutral-500 disabled:cursor-not-allowed sm:text-sm"
value={values[key] || ""}
onChange={(e) => onChange(key, e.target.value)}
/>
diff --git a/packages/utils/src/constants/pricing.tsx b/packages/utils/src/constants/pricing.tsx
index a382bcf105..359ac3c6f8 100644
--- a/packages/utils/src/constants/pricing.tsx
+++ b/packages/utils/src/constants/pricing.tsx
@@ -145,7 +145,7 @@ export const PLANS = [
text: "Start for free",
href: "https://app.dub.co/register",
color:
- "bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800",
+ "bg-white hover:bg-neutral-50 border border-neutral-200 hover:ring-neutral-100 text-neutral-800",
},
featureTitle: "What's included:",
features: [
@@ -215,7 +215,7 @@ export const PLANS = [
text: "Get started with Pro",
shortText: "Get Pro",
href: "https://app.dub.co/register",
- color: "bg-black hover:bg-neutral-800 hover:ring-gray-200",
+ color: "bg-black hover:bg-neutral-800 hover:ring-neutral-200",
},
featureTitle: "Everything in Free, plus:",
features: [
@@ -360,7 +360,7 @@ export const PLANS = [
text: "Contact us",
href: "/enterprise",
color:
- "bg-white hover:bg-gray-50 border border-gray-200 hover:ring-gray-100 text-neutral-800",
+ "bg-white hover:bg-neutral-50 border border-neutral-200 hover:ring-neutral-100 text-neutral-800",
},
featureTitle: "Everything in Business, plus:",
features: [