Skip to content

Commit b3ceb4c

Browse files
committed
fix heading styles
1 parent bfe6c61 commit b3ceb4c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

www/packages/docs-ui/src/components/Heading/H1/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const H1 = ({ className, ...props }: H1Props) => {
1010
<div className="flex items-start justify-between gap-2 h1-wrapper">
1111
<h1
1212
className={clsx(
13-
"h1-docs [&_code]:!h1-docs [&_code]:!font-mono mb-docs_1 text-medusa-fg-base",
13+
"text-h1 [&_code]:!text-h1 [&_code]:!font-mono mb-docs_1 text-medusa-fg-base",
1414
props.id && "scroll-m-docs_7",
1515
className
1616
)}

www/packages/docs-ui/src/components/Heading/H2/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const H2 = ({ className, children, passRef, ...props }: H2Props) => {
1919
return (
2020
<h2
2121
className={clsx(
22-
"h2-docs [&_code]:!h2-docs [&_code]:!font-mono mb-docs_1 mt-docs_2 text-medusa-fg-base",
22+
"text-h2 [&_code]:!text-h2 [&_code]:!font-mono mb-docs_1 mt-docs_2 text-medusa-fg-base",
2323
props.id && [
2424
"group/h2",
2525
showCollapsedNavbar && "scroll-m-docs_7",

www/packages/docs-ui/src/components/Heading/H3/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const H3 = ({ className, children, ...props }: H3Props) => {
1515
return (
1616
<h3
1717
className={clsx(
18-
"h3-docs [&_code]:!h3-docs [&_code]:!font-mono my-docs_1 text-medusa-fg-base",
18+
"text-h3 [&_code]:!text-h3 [&_code]:!font-mono my-docs_1 text-medusa-fg-base",
1919
props.id && [
2020
"group/h3",
2121
showCollapsedNavbar && "scroll-m-docs_7",

0 commit comments

Comments
 (0)