mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): new home page, docs, and design system (#566)
Co-authored-by: Darius Cepulis <dcepulis@mux.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Darius Cepulis
Claude Opus 4.6
parent
f2f9e6ddc3
commit
351a3e8bda
@@ -1,5 +1,5 @@
|
||||
---
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
import { twMerge } from '@/utils/twMerge';
|
||||
|
||||
/**
|
||||
* ContentWidth frame component for constraining content width.
|
||||
@@ -27,6 +27,6 @@ const { class: className, margins = 'default' } = Astro.props;
|
||||
const marginClass = margins === 'lg' ? 'my-12' : 'my-6';
|
||||
---
|
||||
|
||||
<div class={twMerge('max-w-3xl mx-auto', marginClass, className)}>
|
||||
<div class={twMerge("max-w-3xl mx-auto", marginClass, className)}>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
import { twMerge } from '@/utils/twMerge';
|
||||
|
||||
/**
|
||||
* Minimal frame component for wrapping documentation demos.
|
||||
@@ -30,7 +30,7 @@ const marginClass = margins === 'lg' ? 'my-12' : 'my-6';
|
||||
|
||||
<div
|
||||
class={twMerge(
|
||||
'relative w-full max-w-3xl mx-auto flex rounded-lg overflow-hidden border border-light-40 dark:border-dark-80 bg-light-100 dark:bg-dark-110',
|
||||
"relative w-full max-w-3xl mx-auto flex rounded-xs overflow-hidden border border-faded-black dark:border-manila-dark",
|
||||
marginClass,
|
||||
className,
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user