Skip to content
Merged
Show file tree
Hide file tree
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
789 changes: 419 additions & 370 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,17 @@
"devDependencies": {
"@eslint/js": "^9.18.0",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.11",
"@types/mdx": "^2.0.13",
"@types/node": "^22.10.7",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^3.7.2",
"autoprefixer": "^10.4.20",
"eslint": "^9.18.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.18",
"globals": "^15.14.0",
"postcss": "^8.5.1",
"tailwindcss": "^3.4.17",
"tailwindcss": "^4.1.11",
"typescript": "~5.6.3",
"typescript-eslint": "^8.20.0",
"vite": "^6.0.7"
Expand Down
6 changes: 0 additions & 6 deletions website/postcss.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions website/src/components/step-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export const StepCard: React.FC<{ step: number; description: string; code?: stri
<div className="relative flex items-center justify-center w-10 h-10 text-xl font-semibold tracking-tight mb-2 bg-rose-500 rounded-full">
<span className="relative text-white">{step}</span>
</div>
<p className={`text-sm text-muted-foreground mb-2 ${code ? 'flex-grow' : ''}`}>{description}</p>
<p className={`text-sm text-muted-foreground mb-2 ${code ? 'grow' : ''}`}>{description}</p>
{code && (
<code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold flex-grow">
<code className="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold grow">
{code}
</code>
)}
Expand Down
10 changes: 5 additions & 5 deletions website/src/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { cva, type VariantProps } from 'class-variance-authority';
import { cn } from '@/lib/utils';

const buttonVariants = cva(
'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',
{
variants: {
variant: {
default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90',
destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
outline: 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
default: 'bg-primary text-primary-foreground shadow-sm hover:bg-primary/90',
destructive: 'bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90',
outline: 'border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground',
secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80',
ghost: 'hover:bg-accent hover:text-accent-foreground',
link: 'text-primary underline-offset-4 hover:underline',
},
Expand Down
24 changes: 21 additions & 3 deletions website/src/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';

@config '../tailwind.config.js';

/*
The default border color has changed to `currentcolor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.

If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}

@layer base {
:root {
Expand Down
2 changes: 1 addition & 1 deletion website/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default {
content: '""',
},
code: {
backgroundColor: theme('colors.muted.DEFAULT'),
backgroundColor: `${theme('colors.muted.DEFAULT')} !important`,
padding: '0.3rem 0.2rem',
borderRadius: '0.25rem',
},
Expand Down
2 changes: 2 additions & 0 deletions website/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react-swc';
import path from 'path';
import mdx from '@mdx-js/rollup';
import rehypeHighlight from 'rehype-highlight';
import tailwindcss from "@tailwindcss/vite";

// https://vite.dev/config/
export default defineConfig({
Expand All @@ -18,6 +19,7 @@ export default defineConfig({
}),
},
react(),
tailwindcss(),
],
resolve: {
alias: {
Expand Down