docs: general fixes for docs workspace (#5184)
This commit is contained in:
1 parent
c1b8f089e3
commit
123b3787d5
15 files changed
+97
-23
No files matched your search
@@ -50,11 +50,6 @@
|
||||
body[data-modal="opened"] {
|
||||
@apply !overflow-hidden;
|
||||
}
|
||||
|
||||
mark {
|
||||
@apply bg-medusa-bg-highlight dark:bg-medusa-bg-highlight-dark;
|
||||
@apply text-medusa-fg-interactive dark:text-medusa-fg-interactive-dark;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
"installCommand": "yarn install",
|
||||
"buildCommand": "turbo run build",
|
||||
"outputDirectory": ".next",
|
||||
"ignoreCommand": "git diff HEAD^ HEAD --quiet -- ../../.."
|
||||
"ignoreCommand": "bash ../../ignore-build-script.sh"
|
||||
}
|
||||
@@ -6,11 +6,6 @@
|
||||
body[data-modal="opened"] {
|
||||
@apply !overflow-hidden;
|
||||
}
|
||||
|
||||
mark {
|
||||
@apply bg-medusa-bg-highlight dark:bg-medusa-bg-highlight-dark;
|
||||
@apply text-medusa-fg-interactive dark:text-medusa-fg-interactive-dark;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
|
||||
@@ -486,6 +486,6 @@
|
||||
"installCommand": "yarn install",
|
||||
"buildCommand": "turbo run build",
|
||||
"outputDirectory": "build",
|
||||
"ignoreCommand": "git diff HEAD^ HEAD --quiet -- ../../..",
|
||||
"ignoreCommand": "bash ../../ignore-build-script.sh",
|
||||
"devCommand": "yarn dev"
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,13 @@
|
||||
import { BorderedIcon } from "docs-ui"
|
||||
import { basePathUrl } from "@/lib/base-path-url"
|
||||
import { Figma } from "./icons"
|
||||
|
||||
export const FigmaIcon = () => {
|
||||
return <BorderedIcon icon={basePathUrl("/images/figma.png")} />
|
||||
return (
|
||||
<BorderedIcon
|
||||
IconComponent={Figma}
|
||||
iconWrapperClassName={
|
||||
"bg-medusa-button-inverted bg-button-inverted !p-[6px]"
|
||||
}
|
||||
/>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
import { IconProps } from "@medusajs/icons/dist/types"
|
||||
|
||||
export const Figma = (props: IconProps) => {
|
||||
return (
|
||||
<svg
|
||||
width={props.width || "20"}
|
||||
height={props.height || "20"}
|
||||
viewBox="0 0 20 20"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
<g clipPath="url(#clip0_5033_198)">
|
||||
<path
|
||||
d="M10 9.99998C10 8.36002 11.3295 7.03052 12.9695 7.03052C14.6094 7.03052 15.9389 8.36002 15.9389 9.99998C15.9389 11.64 14.6094 12.9694 12.9695 12.9694C11.3295 12.9694 10 11.64 10 9.99998Z"
|
||||
fill="#1ABCFE"
|
||||
/>
|
||||
<path
|
||||
d="M4.06128 15.9389C4.06128 14.299 5.39075 12.9695 7.03074 12.9695H10.0002V15.9389C10.0002 17.5789 8.67074 18.9084 7.03074 18.9084C5.39075 18.9084 4.06128 17.5789 4.06128 15.9389Z"
|
||||
fill="#0ACF83"
|
||||
/>
|
||||
<path
|
||||
d="M10 1.09167V7.03057H12.9695C14.6095 7.03057 15.9389 5.70111 15.9389 4.06113C15.9389 2.42115 14.6095 1.09167 12.9695 1.09167H10Z"
|
||||
fill="#FF7262"
|
||||
/>
|
||||
<path
|
||||
d="M4.06128 4.06113C4.06128 5.70112 5.39075 7.03057 7.03074 7.03057H10.0002V1.09167H7.03074C5.39075 1.09167 4.06128 2.42115 4.06128 4.06113Z"
|
||||
fill="#F24E1E"
|
||||
/>
|
||||
<path
|
||||
d="M4.06128 9.99998C4.06128 11.64 5.39075 12.9694 7.03074 12.9694H10.0002V7.03052H7.03074C5.39075 7.03052 4.06128 8.36002 4.06128 9.99998Z"
|
||||
fill="#A259FF"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_5033_198">
|
||||
<rect
|
||||
width="12"
|
||||
height="18"
|
||||
fill="white"
|
||||
transform="translate(4 1)"
|
||||
/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -1,13 +1,11 @@
|
||||
type SiteConfig = {
|
||||
name: string
|
||||
url: string
|
||||
ogImage: string
|
||||
description: string
|
||||
}
|
||||
|
||||
export const siteConfig: SiteConfig = {
|
||||
name: "Medusa UI",
|
||||
url: `${process.env.NEXT_PUBLIC_DOCS_URL}/ui`,
|
||||
ogImage: `${process.env.NEXT_PUBLIC_DOCS_URL}/ui/images/medusa-og.png`,
|
||||
description: "Primitives for building Medusa applications.",
|
||||
}
|
||||
@@ -17,4 +17,8 @@
|
||||
pre *::selection {
|
||||
@apply !bg-medusa-code-text-highlight;
|
||||
}
|
||||
|
||||
body[data-modal="opened"] {
|
||||
@apply !overflow-hidden;
|
||||
}
|
||||
}
|
||||
@@ -3,5 +3,5 @@
|
||||
"installCommand": "yarn install",
|
||||
"buildCommand": "turbo run build",
|
||||
"outputDirectory": ".next",
|
||||
"ignoreCommand": "git diff HEAD^ HEAD --quiet -- ../../.."
|
||||
"ignoreCommand": "bash ../../ignore-build-script.sh"
|
||||
}
|
||||
Reference in new issue
Block a user