Skip to content

Commit ea4ddb6

Browse files
fix: align sales form colors with website semantic tokens (#2876)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: felixkrrr <felixkrrr@users.noreply.github.com>
1 parent 7ce2df9 commit ea4ddb6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

components/ContactSalesForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export function ContactSalesForm() {
266266
<span className="text-destructive">*</span>
267267
)}
268268
</FormLabel>
269-
<div className="space-y-2 rounded-md border border-input p-3">
269+
<div className="space-y-2 rounded-[2px] border border-line-structure p-3">
270270
{FORM_FIELDS.enterpriseRequirements.options.map((option) => (
271271
<label
272272
key={option.value}
@@ -276,7 +276,7 @@ export function ContactSalesForm() {
276276
type="checkbox"
277277
checked={selectedRequirements.includes(option.value)}
278278
onChange={() => toggleRequirement(option.value)}
279-
className="h-4 w-4 rounded border-input"
279+
className="h-4 w-4 rounded-[2px] border-line-structure accent-line-cta"
280280
/>
281281
{option.label}
282282
</label>

components/ui/textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Textarea = React.forwardRef<
99
return (
1010
<textarea
1111
className={cn(
12-
"flex min-h-[80px] w-full rounded border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
12+
"flex min-h-[80px] w-full rounded-[2px] border border-line-structure bg-surface-bg px-3 py-2 text-base text-text-secondary shadow-sm ring-offset-surface-bg placeholder:text-text-disabled focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-line-cta focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1313
className
1414
)}
1515
ref={ref}

components/watchOrBookDemo/WatchWalkthroughs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function VideoPlayer({ videoId, title }: VideoPlayerProps) {
1818
return (
1919
<iframe
2020
width="100%"
21-
className="aspect-[16/9] rounded mt-3"
21+
className="aspect-[16/9] rounded-[2px] mt-3"
2222
src={`https://www.youtube-nocookie.com/embed/${videoId}`}
2323
title={title}
2424
frameBorder="0"
@@ -71,7 +71,7 @@ function WatchWalkthroughsInner({ className }: { className?: string }) {
7171
<TabsContent
7272
key={tab.id}
7373
value={tab.id}
74-
className="p-4 mx-auto mt-2 max-w-2xl rounded border bg-stripe-pattern"
74+
className="relative overflow-visible p-4 mx-auto mt-2 max-w-2xl rounded-none border border-line-structure corner-box-corners bg-stripe-pattern"
7575
>
7676
<div className="mb-6">
7777
<h3 className="mb-2 text-xl font-semibold">{tab.title}</h3>

0 commit comments

Comments
 (0)