Skip to content

Commit 8bfc8ff

Browse files
committed
replace custom values with ds tokens
1 parent 5ee4ebd commit 8bfc8ff

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/components/MdComponents/index.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const Paragraph = (props: ChildOnlyProp) => (
106106
)
107107

108108
export const HR = () => (
109-
<hr className="mb-4 mt-8 inline-block w-full bg-[#e5e5e5] opacity-60 dark:bg-[#333]" />
109+
<hr className="mb-4 mt-8 inline-block w-full border-body-medium opacity-60" />
110110
)
111111

112112
// All base html element components
@@ -150,17 +150,14 @@ export const Title = (props: ChildOnlyProp) => (
150150

151151
export const ContentContainer = (props: Pick<BoxProps, "id" | "children">) => {
152152
return (
153-
<MainArticle
154-
className="relative flex-[1_1_992px] px-8 pb-8 [&_.citation_p]:text-[#666] dark:[&_.citation_p]:text-[#080808]"
155-
{...props}
156-
/>
153+
<MainArticle className="relative flex-[1_1_992px] px-8 pb-8" {...props} />
157154
)
158155
}
159156

160157
export const MobileButton = (props: ChildOnlyProp) => {
161158
return (
162159
<div
163-
className="sticky bottom-0 z-sticky w-full bg-background p-8 shadow-[0_-1px_0_#e5e5e5] lg:hidden dark:shadow-[0_-1px_0_#333]"
160+
className="sticky bottom-0 z-sticky w-full bg-background p-8 shadow-md lg:hidden"
164161
{...props}
165162
/>
166163
)

0 commit comments

Comments
 (0)