docs: improve tailwind configuration (#5215)

This commit is contained in:
Shahed Nasser
2023-09-26 15:08:30 +03:00
committed by GitHub
parent 240c439beb
commit 63aea62d7a
98 changed files with 643 additions and 894 deletions
@@ -27,8 +27,7 @@ export const DetailsSummary = ({
className={clsx(
"py-docs_0.75 flex items-center justify-between",
expandable && "cursor-pointer",
!expandable &&
"border-medusa-border-base dark:border-medusa-border-base-dark border-y",
!expandable && "border-medusa-border-base border-y",
"no-marker",
className
)}
@@ -37,14 +36,14 @@ export const DetailsSummary = ({
<span className="gap-docs_0.25 flex flex-col">
<span
className={clsx(
"text-compact-medium-plus text-medusa-fg-base dark:text-medusa-fg-base-dark",
"text-compact-medium-plus text-medusa-fg-base",
titleClassName
)}
>
{title}
</span>
{subtitle && (
<span className="text-compact-medium text-medusa-fg-subtle dark:text-medusa-fg-subtle-dark">
<span className="text-compact-medium text-medusa-fg-subtle">
{subtitle}
</span>
)}
@@ -48,7 +48,7 @@ export const Details = ({
event.stopPropagation()
}}
className={clsx(
"border-medusa-border-base dark:border-medusa-border-base-dark border-y border-solid border-x-0",
"border-medusa-border-base border-y border-solid border-x-0",
"overflow-hidden [&>summary]:relative [&>summary]:z-[398]",
props.className
)}