Skip to content

Commit e2e29ce

Browse files
authored
fix(blog): use landing theme variables in MDX components (#3900)
1 parent 45f053a commit e2e29ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/sim/lib/blog/mdx.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ export const mdxComponents: MDXRemoteProps['components'] = {
4444
<p
4545
{...props}
4646
style={{ fontSize: '19px', marginBottom: '1.5rem', fontWeight: '400' }}
47-
className={clsx('text-[var(--text-subtle)] leading-relaxed', props.className)}
47+
className={clsx('text-[var(--landing-text-muted)] leading-relaxed', props.className)}
4848
/>
4949
),
5050
ul: (props: any) => (
5151
<ul
5252
{...props}
5353
style={{ fontSize: '19px', marginBottom: '1rem', fontWeight: '400' }}
5454
className={clsx(
55-
'list-outside list-disc pl-6 text-[var(--text-subtle)] leading-relaxed',
55+
'list-outside list-disc pl-6 text-[var(--landing-text-muted)] leading-relaxed',
5656
props.className
5757
)}
5858
/>
@@ -62,7 +62,7 @@ export const mdxComponents: MDXRemoteProps['components'] = {
6262
{...props}
6363
style={{ fontSize: '19px', marginBottom: '1rem', fontWeight: '400' }}
6464
className={clsx(
65-
'list-outside list-decimal pl-6 text-[var(--text-subtle)] leading-relaxed',
65+
'list-outside list-decimal pl-6 text-[var(--landing-text-muted)] leading-relaxed',
6666
props.className
6767
)}
6868
/>
@@ -140,7 +140,7 @@ export const mdxComponents: MDXRemoteProps['components'] = {
140140
<code
141141
{...props}
142142
className={clsx(
143-
'rounded bg-[var(--surface-4)] px-1.5 py-0.5 font-mono font-normal text-[0.9em] text-[var(--landing-text)]',
143+
'rounded bg-[var(--landing-bg-elevated)] px-1.5 py-0.5 font-mono font-normal text-[0.9em] text-[var(--landing-text)]',
144144
props.className
145145
)}
146146
style={{ fontWeight: 400 }}

0 commit comments

Comments
 (0)