The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
use brand colors for form inputs
Steven Tey8447868cefd6
diff --git a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/form.tsx b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/form.tsxindex 8eb53e6d37..38455bca5d 100644--- a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/form.tsx+++ b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/form.tsx@@ -81,7 +81,7 @@ export function ProgramApplicationForm({"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-gray-500 focus:ring-gray-500",+ : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",)}placeholder="Acme, Inc."autoFocus={!isMobile}@@ -99,7 +99,7 @@ export function ProgramApplicationForm({"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-gray-500 focus:ring-gray-500",+ : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",)}placeholder="[email protected]"{...register("email", {@@ -119,7 +119,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-gray-500 focus:ring-gray-500",+ : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",)}placeholder="https://example.com"{...register("website")}@@ -135,7 +135,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-gray-500 focus:ring-gray-500",+ : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",)}placeholder=""minRows={3}@@ -153,7 +153,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-gray-500 focus:ring-gray-500",+ : "border-gray-300 text-gray-900 placeholder-gray-400 focus:border-[var(--brand)] focus:ring-[var(--brand)]",)}placeholder=""minRows={3}diff --git a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/page.tsx b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/page.tsxindex 6c21b147be..5db63f8592 100644--- a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/page.tsx+++ b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/page.tsx@@ -12,17 +12,6 @@ export default async function ApplicationPage({params: { programSlug: string };}) {const program = await prisma.program.findUnique({- select: {- id: true,- name: true,- slug: true,- logo: true,- wordmark: true,- brandColor: true,- commissionType: true,- commissionAmount: true,- isLifetimeRecurring: true,- },where: {slug: programSlug,},@@ -49,7 +38,7 @@ export default async function ApplicationPage({style={{"--brand": program.brandColor || "#3b82f6",- "--brand-ring": "rgb(from var(--brand) r g b / 0.4)",+ "--brand-ring": "rgb(from var(--brand) r g b / 0.2)",} as CSSProperties}>diff --git a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/success/page.tsx b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/success/page.tsxindex 01606eeda1..d478cfa9a9 100644--- a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/success/page.tsx+++ b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/application/success/page.tsx@@ -85,7 +85,7 @@ export default async function SuccessPage({style={{"--brand": program.brandColor || "#3b82f6",- "--brand-ring": "rgb(from var(--brand) r g b / 0.4)",+ "--brand-ring": "rgb(from var(--brand) r g b / 0.2)",} as CSSProperties}>diff --git a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/page.tsx b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/page.tsxindex bfaa1054e8..63ac309a10 100644--- a/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/page.tsx+++ b/apps/web/app/partners.dub.co/(apply)/apply/[programSlug]/page.tsx@@ -61,7 +61,7 @@ export default async function ApplyPage({style={{"--brand": program.brandColor || "#3b82f6",- "--brand-ring": "rgb(from var(--brand) r g b / 0.4)",+ "--brand-ring": "rgb(from var(--brand) r g b / 0.2)",} as CSSProperties}>