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
8 changes: 1 addition & 7 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,7 @@
"useExhaustiveDependencies": "warn"
},
"nursery": {
"useSortedClasses": {
"level": "warn",
"options": {
"attributes": ["class", "className"],
"functions": ["cn", "cva"]
}
}
"useSortedClasses": "off"
},
"performance": {
"noImgElement": "error"
Expand Down
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@base-ui/react": "^1.3.0",
"@basementstudio/shader-lab": "workspace:*",
"@phosphor-icons/react": "^2.1.10",
"@radix-ui/react-icons": "^1.3.2",
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.5.0",
"@react-three/postprocessing": "^3.0.4",
Expand Down
26 changes: 13 additions & 13 deletions src/components/editor/editor-export-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import {
CopyIcon,
FileArrowDownIcon,
FolderIcon,
UploadSimpleIcon,
XIcon,
} from "@phosphor-icons/react"
Cross2Icon,
DownloadIcon,
FileIcon,
UploadIcon,
} from "@radix-ui/react-icons"
import { AnimatePresence, motion, useReducedMotion } from "motion/react"
import {
type ChangeEvent,
Expand Down Expand Up @@ -713,7 +713,7 @@ export function EditorExportDialog({
onClick={() => onOpenChange(false)}
variant="default"
>
<XIcon size={18} weight="bold" />
<Cross2Icon height={18} width={18} />
</IconButton>
</div>

Expand Down Expand Up @@ -990,7 +990,7 @@ function ImageTabContent({
</Typography>

<Button disabled={isWorking} onClick={() => void onExport()}>
<FileArrowDownIcon size={16} weight="bold" />
<DownloadIcon height={16} width={16} />
Export PNG
</Button>
</section>
Expand Down Expand Up @@ -1141,9 +1141,9 @@ function VideoTabContent({
onClick={() => void onExport()}
>
{isWorking ? (
<XIcon size={16} weight="bold" />
<Cross2Icon height={16} width={16} />
) : (
<FileArrowDownIcon size={16} weight="bold" />
<DownloadIcon height={16} width={16} />
)}
{isWorking ? "Cancel Export" : `Export ${videoFormat.toUpperCase()}`}
</Button>
Expand Down Expand Up @@ -1173,7 +1173,7 @@ function ProjectTabContent({
return (
<section className="flex flex-col gap-[14px]">
<Button disabled={isWorking} onClick={() => void onExport()}>
<FileArrowDownIcon size={16} weight="bold" />
<DownloadIcon height={16} width={16} />
Export .lab file
</Button>

Expand Down Expand Up @@ -1202,7 +1202,7 @@ function ProjectTabContent({
type="file"
/>

<UploadSimpleIcon size={20} weight="bold" />
<UploadIcon height={20} width={20} />
<div>
<Typography className="leading-4" variant="label">
Import .lab configuration
Expand All @@ -1220,7 +1220,7 @@ function ProjectTabContent({
}}
variant="active"
>
<FolderIcon size={20} />
<FileIcon height={20} width={20} />
</IconButton>
</label>
</section>
Expand Down Expand Up @@ -1272,7 +1272,7 @@ function ShaderTabContent({
</FieldLabel>

<Button disabled={!canCopy || isCopying} onClick={() => void onCopy()}>
<CopyIcon size={16} weight="bold" />
<CopyIcon height={16} width={16} />
{isCopying ? "Copying..." : "Copy snippet"}
</Button>
</section>
Expand Down
Loading
Loading