Skip to content

Commit 4e1e291

Browse files
authored
fix(landing): normalize typography weights (#7144)
1 parent 6bbabbb commit 4e1e291

33 files changed

Lines changed: 69 additions & 88 deletions

File tree

apps/sim/app/(landing)/components/features/components/feature-card/feature-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function FeatureCard({
107107
<ChipTag variant='mono' className='hidden max-lg:mb-3 max-lg:inline-flex max-lg:self-start'>
108108
{eyebrow}
109109
</ChipTag>
110-
<h3 className='text-balance font-medium text-[22px] text-[var(--text-primary)] leading-[1.3] max-sm:text-[20px]'>
110+
<h3 className='text-balance text-[22px] text-[var(--text-primary)] leading-[1.3] max-sm:text-[20px]'>
111111
{title}
112112
</h3>
113113
<p className='mt-3 text-pretty text-[15px] text-[var(--text-muted)] leading-[1.6]'>

apps/sim/app/(landing)/components/hero/components/hero-visual/stage-kb.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ export function KnowledgeBasePanel({
4646
)}
4747
>
4848
<div className='flex items-center justify-between px-4 pt-3 pb-2.5'>
49-
<span className='font-medium text-[15px] text-[var(--text-primary)]'>
50-
Create Knowledge Base
51-
</span>
49+
<span className='text-[15px] text-[var(--text-primary)]'>Create Knowledge Base</span>
5250
<X className='size-4 text-[var(--text-muted)]' />
5351
</div>
5452

apps/sim/app/(landing)/components/hero/components/hero-visual/workflow-block-content.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ export function WorkflowBlockContent({ block }: WorkflowBlockContentProps) {
3333
<block.icon className='size-[16px] text-white' />
3434
)}
3535
</div>
36-
<span className='truncate font-medium text-[16px] text-[var(--text-body)]'>
37-
{block.name}
38-
</span>
36+
<span className='truncate text-[16px] text-[var(--text-body)]'>{block.name}</span>
3937
</div>
4038

4139
{block.rows.length > 0 && (

apps/sim/app/(landing)/components/product-demo/product-demo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function ProductDemo() {
4040
</div>
4141
<h2
4242
id='product-demo-heading'
43-
className='text-balance font-medium text-[22px] text-[var(--text-primary)] leading-[1.3] max-sm:text-[20px]'
43+
className='text-balance text-[22px] text-[var(--text-primary)] leading-[1.3] max-sm:text-[20px]'
4444
>
4545
Describe it. Sim builds it.
4646
</h2>

apps/sim/app/(landing)/components/shared/code-window-graphic/code-window-graphic.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function CodeWindowGraphic({ icon, filename, lines }: CodeWindowGraphicPr
7777
>
7878
{icon}
7979
</span>
80-
<span className='font-medium text-[var(--text-inverse)] text-base'>{filename}</span>
80+
<span className='text-[var(--text-inverse)] text-base'>{filename}</span>
8181
</div>
8282

8383
<div className='space-y-2 p-4 font-mono text-[var(--text-muted-inverse)] text-caption leading-[1.7]'>

apps/sim/app/(landing)/components/solutions-page/components/solutions-card-row/components/solutions-card/solutions-card.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,7 @@ export function SolutionsCard({ card, headingId, tabletSpan = false }: Solutions
8686
wide && 'sm:max-lg:w-[38%] sm:max-lg:shrink-0 sm:max-lg:self-center'
8787
)}
8888
>
89-
<h3
90-
id={headingId}
91-
className={cn('font-medium text-[16px] leading-[1.3]', featureTileTone.title)}
92-
>
89+
<h3 id={headingId} className={cn('text-[16px] leading-[1.3]', featureTileTone.title)}>
9390
{card.title}
9491
</h3>
9592
<p

apps/sim/app/(landing)/enterprise/components/feature-graphics/access-control-graphic.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ export function AccessControlGraphic() {
153153
<span
154154
className={cn(
155155
'text-caption',
156-
index === 0
157-
? 'font-medium text-[var(--text-primary)]'
158-
: 'text-[var(--text-secondary)]'
156+
index === 0 ? 'text-[var(--text-primary)]' : 'text-[var(--text-secondary)]'
159157
)}
160158
>
161159
{team.name}

apps/sim/app/(landing)/enterprise/components/feature-graphics/audit-trail-graphic.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const ROW_TONES = [
6969
* window: a frameless, centered vignette (the access tile's composition,
7070
* which sits beside it in the row) where each record is a plain row —
7171
* gradient actor avatar, the action label in the row's regular sans face
72-
* (`font-medium text-small`, the same treatment the standards tile gives
72+
* (`text-small`, the same treatment the standards tile gives
7373
* its row titles), an "actor · resource" attribution line, and a
7474
* right-aligned timestamp. The newest record is the selected event: it
7575
* sits on a solid white card wearing the build tile's window chrome
@@ -120,7 +120,7 @@ export function AuditTrailGraphic({ entries = ENTRIES }: AuditTrailGraphicProps
120120
>
121121
<div className='w-full max-w-[312px] sm:max-lg:[@container(min-width:500px)]:max-w-[400px]'>
122122
<div className='mb-4 flex items-center justify-between'>
123-
<span className='font-medium text-[var(--text-primary)] text-base'>Audit log</span>
123+
<span className='text-[var(--text-primary)] text-base'>Audit log</span>
124124
<ChipTag variant='mono' className='bg-[var(--surface-6)]'>
125125
Append-only
126126
</ChipTag>
@@ -159,7 +159,7 @@ export function AuditTrailGraphic({ entries = ENTRIES }: AuditTrailGraphicProps
159159
/>
160160
</span>
161161
<span className='min-w-0 flex-1'>
162-
<span className={cn('block truncate font-medium text-small', tone.action)}>
162+
<span className={cn('block truncate text-small', tone.action)}>
163163
{entry.action}
164164
</span>
165165
<span className='block truncate text-[var(--text-muted)] text-caption'>

apps/sim/app/(landing)/enterprise/components/feature-graphics/deploy-graphic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function DeployGraphic({
9797
className='absolute inset-0 flex flex-col items-center pr-8 max-lg:pr-6'
9898
>
9999
<div className='mt-1 flex items-center gap-1.5 rounded-[12px] bg-[var(--surface-2)] py-1.5 pr-1.5 pl-2.5 shadow-sm'>
100-
<span className='font-medium text-[var(--text-secondary)] text-caption'>{agentName}</span>
100+
<span className='text-[var(--text-secondary)] text-caption'>{agentName}</span>
101101
<ChipTag variant='mono'>{versionTag}</ChipTag>
102102
</div>
103103

@@ -174,7 +174,7 @@ export function DeployGraphic({
174174
</div>
175175
<div className='flex items-center gap-2 px-3 pt-2.5 pb-4'>
176176
<CircleCheck className='size-[14px] shrink-0 text-[var(--text-muted-inverse)]' />
177-
<span className='min-w-0 flex-1 font-medium text-[var(--text-inverse)] text-small'>
177+
<span className='min-w-0 flex-1 text-[var(--text-inverse)] text-small'>
178178
{statusLabel}
179179
</span>
180180
<span className='shrink-0 text-[var(--text-muted-inverse)] text-caption'>

apps/sim/app/(landing)/enterprise/components/feature-graphics/feature-platform-panel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function FeaturePlatformPanel({
3333
<span className='flex size-6 items-center justify-center rounded-md bg-[var(--surface-5)]'>
3434
<Icon className='size-[14px] text-[var(--text-icon)]' />
3535
</span>
36-
<span className='font-medium text-[var(--text-primary)] text-base'>{title}</span>
36+
<span className='text-[var(--text-primary)] text-base'>{title}</span>
3737
</div>
3838
{children}
3939
</div>

0 commit comments

Comments
 (0)