Skip to content
Source
Sign inSign up
pingdotgg/t3code

light mode #4

Mergedjuliusmarmingemerged 3 commits intomain fromjuliusmarminge/use-base-componentsmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 52 changed files with 236 additions and 2 deletions (loading 49).

x
0 of 52 viewed, 52 left
2 additions and 2 deletionsapps/desktop/scripts/smoke-test.mjsModified
View file
@@ -13,7 +13,7 @@
* the first render). For production mode (no React DevTools message), we
* instead check that no fatal errors appeared.
*/
-import { spawn, execSync } from "node:child_process";
+import { execSync, spawn } from "node:child_process";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
​
@@ -75,7 +75,7 @@
for (const f of failures) {
console.error(` • ${f}`);
- console.error("\nFull output:\n" + output);
+ console.error(`\nFull output:\n${output}`);
process.exit(1);
​
67 additions and 0 deletionsapps/renderer/src/components/ui/accordion.tsxAdded
View file
@@ -0,0 +1,67 @@
+import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion";
+import { ChevronDownIcon } from "lucide-react";
+​
+import { cn } from "#/lib/utils";
+​
+function Accordion(props: AccordionPrimitive.Root.Props) {
+ return <AccordionPrimitive.Root data-slot="accordion" {...props} />;