Skip to content

Commit

Permalink
docs: improve visibility of <code> on non white backgrounds (e.g. a…
Browse files Browse the repository at this point in the history
… message) (#3897)
  • Loading branch information
sebald committed May 3, 2024
1 parent a54d186 commit cd87f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ui/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const typography = {
),
code: (props: HTMLAttributes<HTMLElement>) => (
<code
className="bg-bg-surface-raised/90 my-0 inline-grid rounded px-1 py-0.5 font-mono text-sm before:content-none after:content-none"
className="my-0 inline-grid rounded bg-black/10 px-1 py-0.5 font-mono text-sm before:content-none after:content-none"
{...props}
/>
),
Expand Down

0 comments on commit cd87f7c

Please sign in to comment.