This commit is contained in:
Timothy Jaeryang Baek
2026-03-24 06:01:45 -05:00
parent 4a70aaa162
commit 7bcfafa6c5
2 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -653,7 +653,7 @@
if (paths.length === 0) return; if (paths.length === 0) return;
// Single file (not dir) — use the regular downloadFile path // Single file (not dir) — use the regular downloadFile path
if (paths.length === 1 && !([...selectedEntries][0]).endsWith('/')) { if (paths.length === 1 && ![...selectedEntries][0].endsWith('/')) {
await downloadFile([...selectedEntries][0]); await downloadFile([...selectedEntries][0]);
return; return;
} }
@@ -1321,7 +1321,7 @@
<!-- Toggle header (full-width button) --> <!-- Toggle header (full-width button) -->
<button <button
class="w-full flex items-center gap-2 px-3 py-1.5 text-xs text-gray-500 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition" class="w-full flex items-center gap-2 px-3 py-1 mb-0.5 text-xs text-gray-500 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-800/50 transition"
on:click={toggleTerminal} on:click={toggleTerminal}
> >
<svg <svg
+23 -23
View File
@@ -172,28 +172,28 @@
fontFamily: fontFamily:
"'JetBrains Mono', 'Fira Code', 'Cascadia Code', Menlo, Monaco, 'Courier New', monospace", "'JetBrains Mono', 'Fira Code', 'Cascadia Code', Menlo, Monaco, 'Courier New', monospace",
theme: { theme: {
background: '#1a1b26', background: '#000000',
foreground: '#c0caf5', foreground: '#c0c0c0',
cursor: '#c0caf5', cursor: '#ffffff',
cursorAccent: '#1a1b26', cursorAccent: '#000000',
selectionBackground: '#33467c', selectionBackground: '#444444',
selectionForeground: '#c0caf5', selectionForeground: '#ffffff',
black: '#15161e', black: '#000000',
red: '#f7768e', red: '#cd0000',
green: '#9ece6a', green: '#00cd00',
yellow: '#e0af68', yellow: '#cdcd00',
blue: '#7aa2f7', blue: '#0000ee',
magenta: '#bb9af7', magenta: '#cd00cd',
cyan: '#7dcfff', cyan: '#00cdcd',
white: '#a9b1d6', white: '#e5e5e5',
brightBlack: '#414868', brightBlack: '#7f7f7f',
brightRed: '#f7768e', brightRed: '#ff0000',
brightGreen: '#9ece6a', brightGreen: '#00ff00',
brightYellow: '#e0af68', brightYellow: '#ffff00',
brightBlue: '#7aa2f7', brightBlue: '#5c5cff',
brightMagenta: '#bb9af7', brightMagenta: '#ff00ff',
brightCyan: '#7dcfff', brightCyan: '#00ffff',
brightWhite: '#c0caf5' brightWhite: '#ffffff'
}, },
allowProposedApi: true, allowProposedApi: true,
scrollback: 5000 scrollback: 5000
@@ -277,5 +277,5 @@
</script> </script>
<div class="h-full min-h-0 relative"> <div class="h-full min-h-0 relative">
<div bind:this={terminalEl} class="absolute inset-0 p-1" class:pointer-events-none={overlay} /> <div bind:this={terminalEl} class="absolute inset-0 px-0.5" class:pointer-events-none={overlay} />
</div> </div>