Skip to content

Commit

Permalink
Ultracite fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed Jan 30, 2025
1 parent 6a7b0fe commit f98ae8b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
7 changes: 5 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"extends": ["ultracite"]
}
"extends": ["ultracite"],
"files": {
"ignore": ["website/components/ui/**"]
}
}
7 changes: 6 additions & 1 deletion website/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@
body {
@apply bg-background text-foreground;
}
h1, h2, h3, h4, h5, h6 {
h1,
h2,
h3,
h4,
h5,
h6 {
@apply tracking-tight;
}
}
Expand Down
2 changes: 1 addition & 1 deletion website/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
}
2 changes: 1 addition & 1 deletion website/lib/source.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { docs, meta } from '@/.source';
import { createMDXSource } from 'fumadocs-mdx';
import { loader } from 'fumadocs-core/source';
import { createMDXSource } from 'fumadocs-mdx';

export const source = loader({
baseUrl: '/docs',
Expand Down
8 changes: 3 additions & 5 deletions website/lib/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));

0 comments on commit f98ae8b

Please sign in to comment.