authorgravatar for 73941998+UtkarshUsername@users.noreply.github.comUtkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com> 2026-08-10 15:48:54+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-10 15:48:54+05:30
logfbcae59ef57f28cc51956ca47c0838298b24e79c
tree68d6e0b13e03f630807fbaec0e126e679146e385
parent9821bca1ceb97f137a9d93f1080fe1954b6641d3
signature Signed by PGP key B5690EEEBB952194

fix(web): use import/export-appropriate icons for theme buttons (#5964)


2 files changed, 4 insertions(+), 4 deletions(-)

apps/web/src/components/settings/ThemeImportDialog.tsx+2-2
......@@ -1,4 +1,4 @@
1import { PlusIcon, UploadIcon } from "lucide-react";
1import { DownloadIcon, PlusIcon } from "lucide-react";
22import type { ChangeEvent, DragEvent, UIEvent } from "react";
33import { useCallback, useEffect, useMemo, useRef, useState } from "react";
44import { cn } from "../../lib/utils";
......@@ -456,7 +456,7 @@ export function ThemeImportDialog({
456456 );
457457 const chooseButton = (label = "Choose files") => (
458458 <Button disabled={isReading} size="sm" variant="outline" onClick={openFilePicker}>
459 <UploadIcon />
459 <DownloadIcon />
460460 {isReading ? "Reading…" : label}
461461 </Button>
462462 );
apps/web/src/components/settings/ThemeSettings.tsx+2-2
......@@ -183,7 +183,7 @@ function ThemeLibraryCard({
183183 onDownload();
184184 }}
185185 >
186 <DownloadIcon />
186 <UploadIcon />
187187 </Button>
188188 }
189189 />
......@@ -570,7 +570,7 @@ export function ThemeLibrary({
570570 Create theme
571571 </Button>
572572 <Button size="xs" variant="outline" onClick={() => onImportOpenChange(true)}>
573 <UploadIcon />
573 <DownloadIcon />
574574 Import theme
575575 </Button>
576576 </div>