Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/src/components/mdx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function Note({ children }: { children: React.ReactNode }) {
return (
<div className="my-6 flex gap-2.5 rounded-2xl border border-sky-500/20 bg-sky-50/80 p-4 leading-6 text-sky-900 dark:border-sky-500/30 dark:bg-sky-500/5 dark:text-sky-200 dark:[--tw-prose-links-hover:theme(colors.red.300)] dark:[--tw-prose-links:theme(colors.white)]">
<InformationCircleIcon className="mt-1 h-4 w-4 flex-none fill-sky-500 stroke-white dark:fill-sky-200/20 dark:stroke-sky-200" />
<div className="[&>:first-child]:mt-0 [&>:last-child]:mb-0">
<div className="min-w-0 flex-1 [&>:first-child]:mt-0 [&>:last-child]:mb-0">
{children}
</div>
</div>
Expand All @@ -93,7 +93,7 @@ export function Warning({ children }: { children: React.ReactNode }) {
return (
<div className="my-6 flex gap-2.5 rounded-2xl border border-red-500/20 bg-red-50/50 p-4 leading-6 text-red-900 dark:border-red-500/30 dark:bg-red-500/5 dark:text-red-200 dark:[--tw-prose-links-hover:theme(colors.red.300)] dark:[--tw-prose-links:theme(colors.white)]">
<ExclamationCircleIcon className="mt-1 h-4 w-4 flex-none fill-red-500" />
<div className="[&>:first-child]:mt-0 [&>:last-child]:mb-0">
<div className="min-w-0 flex-1 [&>:first-child]:mt-0 [&>:last-child]:mb-0">
{children}
</div>
</div>
Expand Down