Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
feat(ui): sharpen type, restyle the shelf, and put emoji in the filter bar
Deepender2593167941efe0
diff --git a/electron/main/fileSvg.ts b/electron/main/fileSvg.tsindex 5b28c33..fbd0091 100644--- a/electron/main/fileSvg.ts+++ b/electron/main/fileSvg.ts@@ -122,7 +122,7 @@ export function getFileKindSvgContent(kind: FileKind, uid = 'drag'): string {<g filter="url(#${sheetShadowId})"><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#F2F7FE" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#7BAFF8" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" />- <text x="210" y="278" fill="#7BAFF8" font-family="-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif" font-size="52" font-weight="800" letter-spacing="-0.5" text-anchor="start">W</text>+ <path d="M214 252 L226 282 L238 260 L250 282 L262 252" fill="none" stroke="#7BAFF8" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" /><line x1="210" y1="306" x2="302" y2="306" stroke="#7BAFF8" stroke-width="7" stroke-linecap="round" /><line x1="210" y1="328" x2="302" y2="328" stroke="#7BAFF8" stroke-width="7" stroke-linecap="round" /><line x1="210" y1="350" x2="258" y2="350" stroke="#7BAFF8" stroke-width="7" stroke-linecap="round" />@@ -171,7 +171,11 @@ export function getFileKindSvgContent(kind: FileKind, uid = 'drag'): string {<g filter="url(#${sheetShadowId})"><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#FFF0F2" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#FF7C8E" stroke-width="7" stroke-linecap="round" stroke-linejoin="round" />- <text x="256" y="302" fill="#FF7C8E" font-family="-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif" font-size="38" font-weight="800" letter-spacing="0.5" text-anchor="middle">PDF</text>+ <g fill="none" stroke="#FF7C8E" stroke-width="6" stroke-linecap="round" stroke-linejoin="round">+ <path d="M216 288 V258 H230 C238 258 242 262 242 268 S238 278 230 278 H216" />+ <path d="M252 258 V288 H264 C274 288 280 280 280 273 V273 C280 266 274 258 264 258 H252" />+ <path d="M292 288 V258 H308 M292 273 H304" />+ </g><line x1="208" y1="330" x2="304" y2="330" stroke="#FF7C8E" stroke-width="7" stroke-linecap="round" /><line x1="208" y1="352" x2="304" y2="352" stroke="#FF7C8E" stroke-width="7" stroke-linecap="round" /></g>diff --git a/package-lock.json b/package-lock.jsonindex 70b5e85..d5dfedd 100644--- a/package-lock.json+++ b/package-lock.json@@ -9,6 +9,8 @@"version": "0.3.0","license": "Apache-2.0","dependencies": {+ "@fontsource/jetbrains-mono": "^5.3.0",+ "@fontsource/plus-jakarta-sans": "^5.3.0","@iconify-json/cuida": "^1.2.5","@iconify/react": "^6.0.2","@radix-ui/react-scroll-area": "^1.2.13",@@ -1125,6 +1127,24 @@"node": ">=12"}},+ "node_modules/@fontsource/jetbrains-mono": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/@fontsource/jetbrains-mono/-/jetbrains-mono-5.3.0.tgz",+ "integrity": "sha512-fqDfB5I9f1p1TV486aUgB9t8zP84P0O1FtQR5Ol9vjwPy+S+EIGlVYm1cvj2W5shcZMTg2nZFdVMoH5wFu8a1A==",+ "license": "OFL-1.1",+ "funding": {+ "url": "https://github.com/sponsors/ayuhito"+ }+ },+ "node_modules/@fontsource/plus-jakarta-sans": {+ "version": "5.3.0",+ "resolved": "https://registry.npmjs.org/@fontsource/plus-jakarta-sans/-/plus-jakarta-sans-5.3.0.tgz",+ "integrity": "sha512-9WRw3G74Ve4cyPApAZSXLPY5DiLOZXDn7Q7dIBjFBpA0Pj56ljDItEdy2UUajjJxRuTg2HkMLO5C3K2nAQORWg==",+ "license": "OFL-1.1",+ "funding": {+ "url": "https://github.com/sponsors/ayuhito"+ }+ },"node_modules/@iconify-json/cuida": {"version": "1.2.5","resolved": "https://registry.npmjs.org/@iconify-json/cuida/-/cuida-1.2.5.tgz",diff --git a/package.json b/package.jsonindex f47ccaa..e76adaa 100644--- a/package.json+++ b/package.json@@ -108,6 +108,8 @@"vitest": "^4.1.10"},"dependencies": {+ "@fontsource/jetbrains-mono": "^5.3.0",+ "@fontsource/plus-jakarta-sans": "^5.3.0","@iconify-json/cuida": "^1.2.5","@iconify/react": "^6.0.2","@radix-ui/react-scroll-area": "^1.2.13",diff --git a/src/Onboarding.tsx b/src/Onboarding.tsxindex 6adbb8a..b671d4c 100644--- a/src/Onboarding.tsx+++ b/src/Onboarding.tsx@@ -110,7 +110,7 @@ export function Onboarding() {display: 'flex',flexDirection: 'column',userSelect: 'none',- fontFamily: 'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif'+ fontFamily: 'Plus Jakarta Sans, Segoe UI, sans-serif'}}>{/* Header Bar */}<div style={{diff --git a/src/components/ClearMenu.tsx b/src/components/ClearMenu.tsxindex 2ad8fac..5426b5f 100644--- a/src/components/ClearMenu.tsx+++ b/src/components/ClearMenu.tsx@@ -117,11 +117,11 @@ export function ClearMenu({ items, disabled, panelOpen, onClear, onClearAll }: Cbottom: 'calc(100% + 6px)',right: 0,minWidth: 190,- background: '#121214',- border: '1px solid rgba(255, 255, 255, 0.14)',- borderRadius: 10,+ background: '#141414',+ border: 'none',+ borderRadius: 16,padding: 4,- boxShadow: '0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05)',+ boxShadow: '0 12px 32px rgba(0, 0, 0, 0.6)',zIndex: 100}}>diff --git a/src/components/ClipboardItem.tsx b/src/components/ClipboardItem.tsxindex 3625b3a..2037376 100644--- a/src/components/ClipboardItem.tsx+++ b/src/components/ClipboardItem.tsx@@ -26,8 +26,7 @@ import { itemRenderKey } from '../lib/itemSignature'import { basename, formatBytes, previewText, relativeTime, formatImageDisplayName } from '../lib/format'import { getFileKind } from '../lib/fileType'import { playButtonClickSound, playToggleSound, playDeleteSound, playCardExpandSound } from '../lib/soundEffects'-import { CopyIcon, FileKindIcon, FileStackPhoto, GlobeIcon, PinIcon, PinFillIcon, TrashIcon, MinusIcon, ChevronUpIcon, ExpandIcon, ContractIcon, ExternalLinkIcon } from './icons'-import { parseUrlPreview } from '../lib/urlPreview'+import { CopyIcon, FileKindIcon, FileStackPhoto, PinIcon, PinFillIcon, TrashIcon, MinusIcon, ChevronUpIcon, ExpandIcon, ContractIcon, ExternalLinkIcon } from './icons'import { LinkPreviewCard } from './LinkPreviewCard'import '../styles/item.css'diff --git a/src/components/CopyIndicatorCurve.tsx b/src/components/CopyIndicatorCurve.tsxindex 5dc3be2..5c7902f 100644--- a/src/components/CopyIndicatorCurve.tsx+++ b/src/components/CopyIndicatorCurve.tsx@@ -40,7 +40,6 @@ export function TickIndicatorIcon({viewBox="0 0 24 24"fill="none"xmlns="http://www.w3.org/2000/svg"- shapeRendering="geometricPrecision"style={{ display: 'block', overflow: 'visible' }}><motion.path@@ -85,7 +84,6 @@ export function CopyIndicatorIcon({height={size}viewBox="0 0 24 24"fill="none"- shapeRendering="geometricPrecision"style={{ display: 'block', overflow: 'visible' }}><defs>@@ -147,7 +145,6 @@ export function SparkleIndicatorIcon({height={size}viewBox="0 0 24 24"fill="none"- shapeRendering="geometricPrecision"style={{ display: 'block', overflow: 'visible' }}><motion.path@@ -238,14 +235,12 @@ export function CopyIndicatorCurve() {viewBox={`0 0 ${boxW} ${H}`}fill="none"xmlns="http://www.w3.org/2000/svg"- shapeRendering="geometricPrecision"style={{ overflow: 'visible' }}><motion.pathd={activePath}fill="#000000"stroke="none"- shapeRendering="geometricPrecision"initial={{ d: reduceMotion ? activePath : flatPath }}animate={{ d: activePath }}exit={{ d: reduceMotion ? activePath : flatPath }}diff --git a/src/components/CustomFileIcon.tsx b/src/components/CustomFileIcon.tsxindex 9439c72..777363c 100644--- a/src/components/CustomFileIcon.tsx+++ b/src/components/CustomFileIcon.tsx@@ -16,13 +16,13 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {switch (kind) {case 'folder':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><path d="M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z" /></g>)case 'image':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><rect x="3" y="3" width="18" height="18" rx="3" /><circle cx="8" cy="8" r="1.5" fill={color} /><path d="m21 15-5-5L5 21" />@@ -30,14 +30,14 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {)case 'video':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><rect x="2" y="4" width="20" height="16" rx="3" /><polygon points="10,8 16,12 10,16" fill={color} /></g>)case 'audio':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><path d="M9 18V5l12-2v13" /><circle cx="6" cy="18" r="3" fill={color} /><circle cx="18" cy="16" r="3" fill={color} />@@ -45,14 +45,14 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {)case 'code':return (- <g stroke={color} strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.7" strokeLinecap="round" strokeLinejoin="round" fill="none"><polyline points="16 18 22 12 16 6" /><polyline points="8 6 2 12 8 18" /></g>)case 'archive':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><rect x="3" y="3" width="18" height="18" rx="3" /><line x1="12" y1="3" x2="12" y2="21" strokeDasharray="2 2" /><rect x="10" y="8" width="4" height="5" rx="1" fill={color} />@@ -60,7 +60,7 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {)case 'excel':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><rect x="3" y="3" width="18" height="18" rx="2" /><line x1="12" y1="3" x2="12" y2="21" /><line x1="3" y1="12" x2="21" y2="12" />@@ -68,7 +68,7 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {)case 'executable':return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><rect x="4" y="4" width="16" height="16" rx="2" /><rect x="9" y="9" width="6" height="6" fill={color} /><line x1="9" y1="1" x2="9" y2="4" />@@ -84,7 +84,7 @@ function renderMicroIcon(kind: FileKind, color: string): JSX.Element {case 'file':default:return (- <g stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" fill="none">+ <g stroke={color} strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" fill="none"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" /><polyline points="14 2 14 8 20 8" /><line x1="8" y1="13" x2="16" y2="13" />@@ -182,7 +182,7 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#D97706" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g>{/* 1. Folder Back Plate & Tab */}<pathd="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z"@@ -216,11 +216,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#4338CA" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#C7D2FE" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F5F7FF" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#93A4FC" />- <g filter={`url(#${glyphShadowId})`}>+ <g><g stroke="#FFFFFF" strokeWidth="8" strokeLinecap="round"><line x1="226" y1="235" x2="226" y2="218" /><line x1="256" y1="235" x2="256" y2="218" />@@ -256,11 +256,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#7E22CE" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#E2D0FE" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#FAF5FF" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#C495FD" />- <g transform="translate(167.8, 190.6) scale(12)" filter={`url(#${glyphShadowId})`} fill="#FFFFFF">+ <g transform="translate(167.8, 190.6) scale(12)" fill="#FFFFFF"><path d="M 10.888 2.518 L 6.132 3.477 C 5.98 3.508 5.86 3.565 5.76 3.65 C 5.66 3.735 5.6 3.86 5.6 4.02 C 5.596 4.047 5.59 4.1 5.59 4.18 L 5.59 10.132 C 5.59 10.272 5.578 10.407 5.484 10.522 C 5.389 10.637 5.274 10.672 5.137 10.699 L 4.827 10.762 C 4.434 10.842 4.177 10.895 3.946 10.985 C 3.738 11.066 3.555 11.186 3.427 11.318 C 3.25 11.5 3.12 11.75 3.095 12.313 C 3.126 12.61 3.261 12.895 3.49 13.105 C 3.646 13.247 3.84 13.355 4.068 13.401 C 4.304 13.448 4.558 13.432 4.926 13.358 C 5.122 13.318 5.306 13.256 5.481 13.153 C 5.656 13.05 5.81 12.89 5.919 12.748 C 6.028 12.606 6.12 12.36 6.152 12.198 C 6.194 11.996 6.204 11.812 6.204 11.61 L 6.204 6.347 C 6.204 6.071 6.284 5.997 6.506 5.943 C 6.53 5.938 10.46 5.146 10.644 5.11 C 10.901 5.061 11.022 5.135 11.022 5.404 L 11.022 8.928 C 11.022 9.068 11.021 9.208 10.926 9.324 C 10.832 9.439 10.715 9.474 10.578 9.502 L 10.268 9.564 C 9.875 9.644 9.619 9.697 9.388 9.787 C 9.18 9.868 8.997 9.988 8.868 10.121 C 8.69 10.3 8.56 10.55 8.528 11.115 C 8.558 11.412 8.702 11.697 8.932 11.907 C 9.088 12.049 9.282 12.157 9.51 12.203 C 9.745 12.25 10 12.234 10.367 12.16 C 10.564 12.12 10.747 12.058 10.923 11.955 C 11.098 11.852 11.251 11.692 11.361 11.55 C 11.467 11.393 11.546 11.206 11.594 11 C 11.636 10.798 11.646 10.614 11.646 10.412 L 11.646 2.812 C 11.646 2.666 11.593 2.562 11.486 2.502 C 11.38 2.44 11.19 2.456 10.888 2.518 Z" /></g></g>@@ -281,11 +281,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#0284C7" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#86DDFB" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F0FBFF" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#53CAF7" />- <g filter={`url(#${glyphShadowId})`} fill="none" stroke="#FFFFFF" strokeWidth="16" strokeLinecap="round" strokeLinejoin="round">+ <g fill="none" stroke="#FFFFFF" strokeWidth="16" strokeLinecap="round" strokeLinejoin="round"><path d="M 200 240 L 156 289 L 200 338" /><line x1="282" y1="222" x2="230" y2="356" /><path d="M 312 240 L 356 289 L 312 338" />@@ -308,14 +308,14 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#000000" floodOpacity="0.08" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#9DC5FA" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F2F7FE" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#7BAFF8" />- <g filter={`url(#${sheetShadowId})`}>+ <g><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#F2F7FE" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#7BAFF8" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" />- <text x="210" y="278" fill="#7BAFF8" fontFamily="-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif" fontSize="52" fontWeight="800" letterSpacing="-0.5" textAnchor="start">W</text>+ <path d="M214 252 L226 282 L238 260 L250 282 L262 252" fill="none" stroke="#7BAFF8" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" /><line x1="210" y1="306" x2="302" y2="306" stroke="#7BAFF8" strokeWidth="7" strokeLinecap="round" /><line x1="210" y1="328" x2="302" y2="328" stroke="#7BAFF8" strokeWidth="7" strokeLinecap="round" /><line x1="210" y1="350" x2="258" y2="350" stroke="#7BAFF8" strokeWidth="7" strokeLinecap="round" />@@ -338,11 +338,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#8C6A4F" floodOpacity="0.14" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#DFCEBC" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#FFFDF9" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#BA9B7B" />- <g filter={`url(#${glyphShadowId})`}>+ <g><circle cx="272" cy="260" r="14" fill="#FFFFFF" /><path d="M 178 346 L 178 326 L 230 274 L 266 308 L 298 282 L 334 324 L 334 346 Z" fill="#FFFFFF" /><rect x="176" y="228" width="160" height="122" rx="18" fill="none" stroke="#FFFFFF" strokeWidth="12" />@@ -365,14 +365,18 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#000000" floodOpacity="0.08" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FF92A0" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#FFF0F2" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FF7C8E" />- <g filter={`url(#${sheetShadowId})`}>+ <g><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#FFF0F2" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#FF7C8E" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" />- <text x="256" y="302" fill="#FF7C8E" fontFamily="-apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif" fontSize="38" fontWeight="800" letterSpacing="0.5" textAnchor="middle">PDF</text>+ <g fill="none" stroke="#FF7C8E" strokeWidth="6" strokeLinecap="round" strokeLinejoin="round">+ <path d="M216 288 V258 H230 C238 258 242 262 242 268 S238 278 230 278 H216" />+ <path d="M252 258 V288 H264 C274 288 280 280 280 273 V273 C280 266 274 258 264 258 H252" />+ <path d="M292 288 V258 H308 M292 273 H304" />+ </g><line x1="208" y1="330" x2="304" y2="330" stroke="#FF7C8E" strokeWidth="7" strokeLinecap="round" /><line x1="208" y1="352" x2="304" y2="352" stroke="#FF7C8E" strokeWidth="7" strokeLinecap="round" /></g>@@ -394,11 +398,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#000000" floodOpacity="0.08" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FFC492" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#FFF8F2" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FFA25B" />- <g filter={`url(#${sheetShadowId})`}>+ <g><line x1="256" y1="306" x2="256" y2="368" stroke="#FFF8F2" strokeWidth="8" strokeLinecap="round" /><line x1="256" y1="312" x2="222" y2="368" stroke="#FFF8F2" strokeWidth="8" strokeLinecap="round" /><line x1="256" y1="312" x2="290" y2="368" stroke="#FFF8F2" strokeWidth="8" strokeLinecap="round" />@@ -426,11 +430,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#000000" floodOpacity="0.08" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#7EE6BC" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F0FDF8" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#52D7A4" />- <g filter={`url(#${sheetShadowId})`}>+ <g><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#F0FDF8" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#52D7A4" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" /><rect x="210" y="262" width="92" height="86" rx="8" fill="none" stroke="#52D7A4" strokeWidth="5" />@@ -457,11 +461,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#4A5F3B" floodOpacity="0.14" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#CEDDC3" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F8FAF6" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#8CA77B" />- <g filter={`url(#${sheetShadowId})`}>+ <g><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#F8FAF6" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#8CA77B" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" /><line x1="210" y1="268" x2="256" y2="268" stroke="#8CA77B" strokeWidth="7" strokeLinecap="round" />@@ -487,11 +491,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#1E293B" floodOpacity="0.14" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#94A3B8" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F8FAFC" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#64748B" />- <g filter={`url(#${sheetShadowId})`}>+ <g><rect x="176" y="224" width="160" height="128" rx="20" fill="#F8FAFC" /><rect x="192" y="240" width="16" height="16" rx="4" fill="#64748B" /><rect x="192" y="266.67" width="16" height="16" rx="4" fill="#64748B" />@@ -522,11 +526,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#D97706" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FDE68A" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#FFFDF5" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#FBBF24" />- <g filter={`url(#${glyphShadowId})`}>+ <g><line x1="256" y1="178" x2="256" y2="284" stroke="#FFFDF5" strokeWidth="6" strokeLinecap="round" /><rect x="236" y="184" width="20" height="6" rx="3" fill="#FFFDF5" /><rect x="236" y="204" width="20" height="6" rx="3" fill="#FFFDF5" />@@ -560,11 +564,11 @@ export function CustomFileIcon({<feDropShadow dx="0" dy="10" stdDeviation="16" floodColor="#475569" floodOpacity="0.12" /></filter></defs>- <g filter={`url(#${folderShadowId})`}>+ <g><path d="M 56 378 L 56 128 C 56 112 68 100 84 100 L 162 100 C 178 100 190 108 200 120 C 208 130 218 136 232 136 L 428 136 C 444 136 456 148 456 164 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#D4DFE9" /><path d="M 74 162 L 74 152 C 74 147 78 143 83 143 L 429 143 C 434 143 438 147 438 152 L 438 162 Z" fill="#F8FAFC" /><path d="M 56 168 C 56 156 65 148 76 148 L 436 148 C 447 148 456 156 456 168 L 456 378 C 456 396 442 410 424 410 L 88 410 C 70 410 56 396 56 378 Z" fill="#B0C0D0" />- <g filter={`url(#${sheetShadowId})`}>+ <g><path d="M 204 200 C 195 200 188 207 188 216 L 188 364 C 188 373 195 380 204 380 L 308 380 C 317 380 324 373 324 364 L 324 244 C 324 240 322 236 319 233 L 291 205 C 288 202 284 200 280 200 Z" fill="#F8FAFC" /><path d="M 281 201 L 281 232 C 281 238 286 243 292 243 L 323 243" fill="none" stroke="#B0C0D0" strokeWidth="7" strokeLinecap="round" strokeLinejoin="round" /></g>diff --git a/src/components/Header.tsx b/src/components/Header.tsxindex 6505d1c..3ddd968 100644--- a/src/components/Header.tsx+++ b/src/components/Header.tsx@@ -1,7 +1,7 @@/** Panel header: title + settings toggle. */import { motion } from 'framer-motion'import { useStore } from '../store/appStore'-import { GearIcon, CloseIcon, InfoIcon } from './icons'+import { GearIcon, CloseIcon, InfoIcon, ClockIcon, TypeIcon, LinkIcon, ImageIcon, FilesIcon, EmojiSmileIcon } from './icons'import { playButtonClickSound } from '../lib/soundEffects'import { useTranslation } from '../i18n'@@ -36,32 +36,32 @@ export function Header() {const typeFilter = useStore((s) => s.typeFilter)const setTypeFilter = useStore((s) => s.setTypeFilter)const emojiOpen = useStore((s) => s.emojiOpen)+ const setEmojiOpen = useStore((s) => s.setEmojiOpen)- const FILTERS: { id: import('../../shared/types').TypeFilter; label: string }[] = [- { id: 'all', label: t('filters.all') },- { id: 'text', label: t('filters.text') },- { id: 'links', label: t('filters.links') },- { id: 'images', label: t('filters.images') },- { id: 'files', label: t('filters.files') }+ const FILTERS: {+ id: import('../../shared/types').TypeFilter | 'emoji'+ label: string+ Icon: typeof ClockIcon+ }[] = [+ { id: 'all', label: t('filters.all'), Icon: ClockIcon },+ { id: 'text', label: t('filters.text'), Icon: TypeIcon },+ { id: 'links', label: t('filters.links'), Icon: LinkIcon },+ { id: 'images', label: t('filters.images'), Icon: ImageIcon },+ { id: 'files', label: t('filters.files'), Icon: FilesIcon },+ { id: 'emoji', label: t('emoji.open'), Icon: EmojiSmileIcon }]- const activeIndex = Math.max(0, FILTERS.findIndex((f) => f.id === typeFilter))- const maxFilterLen = Math.max(...FILTERS.map((f) => f.label.length))- const filterChipWidth = 37- const filterFontSize = maxFilterLen >= 8 ? 7.8 : maxFilterLen >= 6 ? 8.5 : maxFilterLen >= 5 ? 9.2 : 10.2- const filterLetterSpacing = maxFilterLen >= 7 ? '-0.025em' : maxFilterLen >= 5 ? '-0.015em' : '0'+ const activeId: (typeof FILTERS)[number]['id'] = emojiOpen ? 'emoji' : typeFilter+ const activeIndex = Math.max(0, FILTERS.findIndex((f) => f.id === activeId))+ const filterChipWidth = 28return (- <div className="header" style={{ display: 'flex', justifyContent: 'space-between', width: '100%', alignItems: 'center', height: 40, padding: '0 10px 0 4px', boxSizing: 'border-box' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: 4, paddingLeft: 2, minWidth: 0, flex: 1, overflow: 'hidden' }}>+ <div className="header" style={{ display: 'flex', justifyContent: 'space-between', width: '100%', alignItems: 'center', height: 40, padding: '0 14px', boxSizing: 'border-box' }}>+ <div style={{ display: 'flex', alignItems: 'center', gap: 4, paddingLeft: 0, minWidth: 0, flex: 1, overflow: 'hidden' }}>{settingsOpen ? (- <span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em', paddingLeft: 6, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', maxWidth: 170 }}>+ <span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em', paddingLeft: 0, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', maxWidth: 170 }}>{settingsSubView === 'changelog' ? t('header.whatsNew') : t('header.settings')}</span>- ) : emojiOpen ? (- <span style={{ fontSize: 13, fontWeight: 600, color: '#8e8e93', letterSpacing: '0.01em', paddingLeft: 6, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', maxWidth: 170 }}>- Emoji- </span>) : (<divclassName="filter-segmented-track"@@ -69,12 +69,12 @@ export function Header() {position: 'relative',display: 'flex',alignItems: 'center',- background: 'rgba(255, 255, 255, 0.05)',- border: '1px solid rgba(255, 255, 255, 0.10)',+ background: 'transparent',+ border: 'none',borderRadius: 999,- padding: '2px 3px',- gap: 2,- marginLeft: 2,+ padding: 0,+ gap: 4,+ marginLeft: 0,maxWidth: '100%',overflow: 'hidden'}}@@ -82,33 +82,38 @@ export function Header() {{/* Single Persistent Sliding Pill Indicator */}<motion.divinitial={false}- animate={{ x: activeIndex * (filterChipWidth + 2) }}+ animate={{ x: activeIndex * (filterChipWidth + 4) }}transition={{ duration: 0.14, ease: [0.22, 1, 0.36, 1] }}style={{position: 'absolute',- left: 3,- top: 2,+ left: 0,+ top: 0,width: filterChipWidth,- height: 22,+ height: 28,borderRadius: 999,- background: 'rgba(255, 255, 255, 0.16)',- border: '1px solid rgba(255, 255, 255, 0.24)',- boxShadow: '0 2px 8px rgba(0, 0, 0, 0.4)',+ background: '#ffffff',+ border: 'none',+ boxShadow: 'none',pointerEvents: 'none',zIndex: 0}}/>{FILTERS.map((f) => {- const active = typeFilter === f.id+ const active = activeId === f.id+ const Icon = f.Iconreturn (<buttonkey={f.id}type="button"className={`filter-chip${active ? ' active' : ''}`}+ title={f.label}+ aria-label={f.label}+ aria-pressed={active}onClick={() => {playButtonClickSound()- setTypeFilter(f.id)+ if (f.id === 'emoji') setEmojiOpen(true)+ else setTypeFilter(f.id)}}style={{position: 'relative',@@ -116,24 +121,20 @@ export function Header() {alignItems: 'center',justifyContent: 'center',width: filterChipWidth,- height: 22,- padding: '0 1px',- fontSize: filterFontSize,- letterSpacing: filterLetterSpacing,- fontWeight: active ? 600 : 500,- color: active ? '#ffffff' : 'rgba(255, 255, 255, 0.85)',- background: 'transparent',+ height: 28,+ padding: 0,+ color: active ? '#000000' : 'rgba(255, 255, 255, 0.82)',+ background: active ? 'transparent' : '#141414',border: 'none',borderRadius: 999,cursor: 'pointer',userSelect: 'none',transition: 'color 0.18s ease',zIndex: 1,- whiteSpace: 'nowrap',- overflow: 'hidden'+ flexShrink: 0}}>- <span>{f.label}</span>+ <Icon width={14} height={14} /></button>)})}diff --git a/src/components/IndicatorStyleFlyout.tsx b/src/components/IndicatorStyleFlyout.tsxindex ea66a39..5b37faa 100644--- a/src/components/IndicatorStyleFlyout.tsx+++ b/src/components/IndicatorStyleFlyout.tsx@@ -104,9 +104,9 @@ export function IndicatorStyleFlyout({ isRight }: { isRight: boolean }) {style={{width: '100%',maxHeight: maxFlyoutHeight,- background: '#000000',- borderRadius: 16,- border: '1px solid rgba(255, 255, 255, 0.08)',+ background: '#141414',+ borderRadius: 20,+ border: 'none',overflow: 'hidden',display: 'flex',flexDirection: 'column',@@ -131,8 +131,8 @@ export function IndicatorStyleFlyout({ isRight }: { isRight: boolean }) {width: 26,height: 26,borderRadius: 6,- background: 'rgba(255,255,255,0.06)',- border: '1px solid rgba(255,255,255,0.1)',+ background: '#141414',+ border: 'none',color: 'rgba(255,255,255,0.7)',cursor: 'pointer',display: 'flex',@@ -233,9 +233,10 @@ function StyleCard({justifyContent: 'center',gap: 8,padding: '12px 10px 10px',- background: active ? 'rgba(255, 255, 255, 0.08)' : 'rgba(255, 255, 255, 0.03)',- border: `1px solid ${active ? '#ffffff' : 'rgba(255, 255, 255, 0.08)'}`,- borderRadius: 12,+ background: active ? '#141414' : '#141414',+ border: 'none',+ outline: active ? '2px solid #ffffff' : 'none',+ borderRadius: 16,position: 'relative',cursor: 'pointer',transition: 'all 0.2s cubic-bezier(0.16, 1, 0.3, 1)',@@ -262,7 +263,7 @@ function StyleCard({alignItems: 'center',justifyContent: 'center',overflow: 'hidden',- border: '1px solid rgba(255, 255, 255, 0.06)'+ border: 'none'}}>{preview}diff --git a/src/components/LiquidOctopusLoader.tsx b/src/components/LiquidOctopusLoader.tsxindex 9304d7f..a0887e4 100644--- a/src/components/LiquidOctopusLoader.tsx+++ b/src/components/LiquidOctopusLoader.tsx@@ -103,24 +103,18 @@ export function LiquidOctopusLoader({<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'center', width: '100%', height: '100%' }}><svgviewBox="140 10 320 310"- shapeRendering="geometricPrecision"style={{width: 41.1,height: 41.1,overflow: 'visible',- filter: `drop-shadow(0 0 10px ${glowColor})`,- shapeRendering: 'geometricPrecision',- textRendering: 'geometricPrecision',- imageRendering: 'crisp-edges'+ filter: `drop-shadow(0 0 10px ${glowColor})`}}>- {/* Central Octopus Logo Path — 100% Crisp Native Vector Path (Smooth Left/Right Pendulum Rotation) */}<pathref={octoRef}d={OCTO_PATH}fill={fillColor}fillRule="evenodd"- shapeRendering="geometricPrecision"/></svg></div>diff --git a/src/components/Panel.tsx b/src/components/Panel.tsxindex 0bfbb83..4e96caa 100644--- a/src/components/Panel.tsx+++ b/src/components/Panel.tsx@@ -14,8 +14,6 @@ import { PANEL_LEAVE_EVENT, PANEL_ENTER_EVENT } from '../hooks/useEdgeHover'import { Header } from './Header'import { ItemList } from './ItemList'import { EmojiPicker } from './EmojiPicker'-import { ClipboardIcon, EmojiSmileIcon, ChevronLeftIcon } from './icons'-import { playButtonClickSound } from '../lib/soundEffects'import { Settings } from './Settings'import { ToastStack } from './Toast'import { ClearMenu } from './ClearMenu'@@ -27,7 +25,6 @@ import { useFilteredItems } from '../hooks/useFilteredItems'import { useTranslation } from '../i18n'export function Panel() {- const { t } = useTranslation()const open = useStore((s) => s.open)const { pinned, recent } = useFilteredItems()const filteredItems = useMemo(() => [...pinned, ...recent], [pinned, recent])@@ -373,60 +370,28 @@ export function Panel() {>{emojiOpen ? <EmojiPicker /> : <ItemList />}<div className="footer" style={{ position: 'relative' }}>- <div style={{ display: 'flex', alignItems: 'center', gap: 8, flexShrink: 0 }}>- {emojiOpen ? (- <button- type="button"- className="footer-back-pill"- title={t('onboarding.back')}- tabIndex={-1}- onClick={(e) => {- e.currentTarget.blur()- playButtonClickSound()- setEmojiOpen(false)- }}- >- <ChevronLeftIcon width={13} height={13} />- <ClipboardIcon width={13} height={13} />- <span>{t('onboarding.back')}</span>- </button>- ) : (+ {!emojiOpen && (+ <><div className="footer-capsule"><span className="footer-capsule-count" title={`${filteredCount}`}>{filteredCount}</span>- <div className="footer-capsule-divider" />- <button- type="button"- className="footer-capsule-btn"- title="Emoji"- tabIndex={-1}- onClick={(e) => {- e.currentTarget.blur()- playButtonClickSound()- setEmojiOpen(true)- }}- >- <EmojiSmileIcon width={15} height={15} />- </button></div>- )}- </div>- <div className="spacer" />- {!emojiOpen && (- <ClearMenu- items={filteredItems}- disabled={recent.length === 0}- panelOpen={open}- onClear={(ids) => clear(ids)}- onClearAll={() => {- if (typeFilter === 'all' && !query.trim()) {- clear()- } else {- clear(recent.map((it) => it.id))- }- }}- />+ <div className="spacer" />+ <ClearMenu+ items={filteredItems}+ disabled={recent.length === 0}+ panelOpen={open}+ onClear={(ids) => clear(ids)}+ onClearAll={() => {+ if (typeFilter === 'all' && !query.trim()) {+ clear()+ } else {+ clear(recent.map((it) => it.id))+ }+ }}+ />+ </>)}</div></motion.div>diff --git a/src/components/PreviewFlyout.tsx b/src/components/PreviewFlyout.tsxindex 08b716f..e9013d3 100644--- a/src/components/PreviewFlyout.tsx+++ b/src/components/PreviewFlyout.tsx@@ -231,9 +231,9 @@ export function PreviewFlyout({ isRight }: { isRight: boolean }) {style={{width: '100%',maxHeight: maxFlyoutHeight,- background: dragOver ? 'rgba(15, 30, 18, 0.95)' : '#000000',- borderRadius: 16,- border: dragOver ? '2px dashed #4caf50' : '1px solid rgba(255,255,255,0.06)',+ background: dragOver ? 'rgba(15, 30, 18, 0.95)' : '#141414',+ borderRadius: 20,+ border: dragOver ? '2px dashed #4caf50' : 'none',overflow: 'hidden',display: 'flex',flexDirection: 'column',@@ -626,7 +626,7 @@ function SelectionBadge({}}>{isSelected && (- <CheckIcon width={14} height={14} strokeWidth={3} style={{ shapeRendering: 'geometricPrecision' }} />+ <CheckIcon width={14} height={14} />)}</div></div>diff --git a/src/components/icons.tsx b/src/components/icons.tsxindex 795ee14..720aa38 100644--- a/src/components/icons.tsx+++ b/src/components/icons.tsx@@ -1,8 +1,10 @@/**- * Official Lucide React Icon Suite for Edge-Drop.- * Powered by lucide-react — ultra-crisp 24x24 vector icons.+ * UI icons. Lucide strokes at 16px with width 2.2 rasterize into boxes on+ * the software compositor — keep a hairline weight and let size scale the+ * path, not the stroke.*/-import type { ReactNode, SVGProps } from 'react'+import type { LucideIcon } from 'lucide-react'+import type { SVGProps } from 'react'import {Info,Sparkles,@@ -32,21 +34,36 @@ import {Heart,Star,RotateCcw,- Clipboard+ Clipboard,+ Type,+ Files,+ Globe,+ Smile,+ Clock,+ Users,+ PawPrint,+ Utensils,+ Trophy,+ Lightbulb,+ Shapes,+ Flag} from 'lucide-react'type P = SVGProps<SVGSVGElement>-export const RotateCcwIcon = (p: P) => <RotateCcw size={p.width ?? 16} strokeWidth={2.2} {...(p as any)} />--export const CoffeeIcon = (p: P) => <Coffee size={p.width ?? 16} strokeWidth={2.2} {...(p as any)} />-export const HeartIcon = (p: P) => <Heart size={p.width ?? 16} strokeWidth={2.2} {...(p as any)} />-export const StarIcon = (p: P) => <Star size={p.width ?? 16} strokeWidth={2.2} {...(p as any)} />-export const GlobeIcon = (p: P) => (- <svg viewBox="0 0 32 32" width={p.width ?? 16} height={p.height ?? 16} fill="currentColor" {...(p as any)}>- <path d="M32.032 16c0-8.501-6.677-15.472-15.072-15.969-0.173-0.019-0.346-0.032-0.523-0.032-0.052 0-0.104 0.005-0.156 0.007-0.093-0.002-0.186-0.007-0.281-0.007-8.84 0-16.032 7.178-16.032 16.001s7.192 16.001 16.032 16.001c0.094 0 0.188-0.006 0.281-0.008 0.052 0.002 0.104 0.008 0.156 0.008 0.176 0 0.349-0.012 0.523-0.032 8.395-0.497 15.072-7.468 15.072-15.969zM29.049 21.151c-0.551-0.16-1.935-0.507-4.377-0.794 0.202-1.381 0.313-2.84 0.313-4.357 0-1.196-0.069-2.354-0.197-3.469 3.094-0.37 4.45-0.835 4.54-0.867l-0.372-1.050c0.695 1.659 1.080 3.478 1.080 5.386 0 1.818-0.352 3.555-0.987 5.151zM8.921 16c0-1.119 0.074-2.212 0.21-3.263 1.621 0.127 3.561 0.222 5.839 0.243v6.939c-2.219 0.021-4.114 0.111-5.709 0.234-0.22-1.319-0.34-2.715-0.34-4.154zM16.967 2.132c2.452 0.711 4.552 4.115 5.492 8.628-1.512 0.12-3.332 0.209-5.492 0.229v-8.857zM14.971 2.156v8.832c-2.136-0.021-3.965-0.109-5.502-0.226 0.96-4.457 3.076-7.836 5.502-8.606zM14.971 21.913l0 7.929c-2.263-0.718-4.256-3.705-5.293-7.719 1.492-0.11 3.253-0.189 5.292-0.21zM16.967 29.868l-0-7.955c2.061 0.020 3.814 0.102 5.288 0.217-1.019 4.067-3 7.076-5.288 7.738zM16.967 19.92l0-6.939c2.291-0.021 4.218-0.118 5.818-0.25 0.131 1.053 0.203 2.147 0.203 3.268 0 1.442-0.116 2.84-0.329 4.16-1.575-0.128-3.462-0.219-5.692-0.24zM28.588 9.81c-0.302 0.094-1.564 0.453-4.094 0.751-0.564-2.998-1.584-5.561-2.91-7.412 3.048 1.325 5.535 3.697 7.005 6.661zM11.213 2.831c-1.632 1.873-2.963 4.568-3.691 7.754-2.265-0.245-3.623-0.534-4.166-0.665 1.585-3.27 4.407-5.836 7.856-7.088zM2.614 11.787c0.385 0.104 1.841 0.467 4.549 0.766-0.155 1.107-0.24 2.26-0.24 3.447 0 1.509 0.136 2.96 0.383 4.334-2.325 0.251-3.755 0.552-4.396 0.706-0.607-1.566-0.944-3.264-0.944-5.041 0-1.467 0.228-2.883 0.649-4.213zM3.784 22.886c0.727-0.154 2.029-0.39 3.956-0.591 0.759 2.803 1.993 5.175 3.473 6.874-3.16-1.148-5.79-3.398-7.429-6.282v0zM21.583 28.849c1.195-1.665 2.14-3.907 2.728-6.525 1.982 0.227 3.226 0.494 3.853 0.652-1.5 2.596-3.808 4.669-6.581 5.873z" />- </svg>-)+function uiIcon(Icon: LucideIcon, fallback = 16) {+ return (p: P) => {+ const size = Number(p.width ?? p.height ?? fallback)+ return (+ <Icon+ size={size}+ strokeWidth={size <= 14 ? 1.55 : 1.7}+ absoluteStrokeWidth+ {...(p as any)}+ />+ )+ }+}export const KofiLogo = (p: P) => (<svg viewBox="0 0 24 24" width={p.width ?? 18} height={p.height ?? 18} fill="currentColor" {...(p as any)}>@@ -60,136 +77,55 @@ export const GithubOctocatLogo = (p: P) => (</svg>)-export const LogOutIcon = (p: P) => <LogOut size={p.width ?? 16} {...(p as any)} />-export const InfoIcon = (p: P) => <Info size={p.width ?? 16} strokeWidth={2} {...(p as any)} />-export const SparklesIcon = (p: P) => <Sparkles size={p.width ?? 16} {...(p as any)} />+export const RotateCcwIcon = uiIcon(RotateCcw)+export const CoffeeIcon = uiIcon(Coffee)+export const HeartIcon = uiIcon(Heart)+export const StarIcon = uiIcon(Star)+export const GlobeIcon = uiIcon(Globe)+export const LogOutIcon = uiIcon(LogOut)+export const InfoIcon = uiIcon(Info)+export const SparklesIcon = uiIcon(Sparkles)export const WhatsNewIcon = InfoIcon-export const ChevronLeftIcon = (p: P) => <ChevronLeft size={p.width ?? 16} {...(p as any)} />-export const ChevronRightIcon = (p: P) => <ChevronRight size={p.width ?? 16} {...(p as any)} />-export const ChevronUpIcon = (p: P) => <ChevronUp size={p.width ?? 16} {...(p as any)} />-export const ChevronDownIcon = (p: P) => <ChevronDown size={p.width ?? 16} {...(p as any)} />-export const ExternalLinkIcon = (p: P) => <ExternalLink size={p.width ?? 16} {...(p as any)} />-export const SearchIcon = (p: P) => <Search size={p.width ?? 16} {...(p as any)} />-export const PinIcon = (p: P) => <Pin size={p.width ?? 16} {...(p as any)} />-export const PinFillIcon = (p: P) => <Pin size={p.width ?? 16} fill="currentColor" {...(p as any)} />-export const TrashIcon = (p: P) => <Trash2 size={p.width ?? 16} {...(p as any)} />-export const CopyIcon = (p: P) => <Copy size={p.width ?? 16} {...(p as any)} />-export const GearIcon = (p: P) => <SettingsGear size={p.width ?? 16} {...(p as any)} />-export const GripIcon = (p: P) => <GripVertical size={p.width ?? 16} {...(p as any)} />-export const ImageIcon = (p: P) => <ImageGraphic size={p.width ?? 16} {...(p as any)} />-export const LinkIcon = (p: P) => <Link size={p.width ?? 16} {...(p as any)} />-export const CloseIcon = (p: P) => <X size={p.width ?? 16} {...(p as any)} />-export const MinusIcon = (p: P) => <Minus size={p.width ?? 16} {...(p as any)} />-export const DropIcon = (p: P) => <ArrowDownToLine size={p.width ?? 16} {...(p as any)} />-export const BundleIcon = (p: P) => <Layers size={p.width ?? 16} {...(p as any)} />-export const ExpandIcon = (p: P) => <Maximize2 size={p.width ?? 16} {...(p as any)} />-export const ContractIcon = (p: P) => <Minimize2 size={p.width ?? 16} {...(p as any)} />-export const FolderOpenIcon = (p: P) => <FolderOpen size={p.width ?? 16} {...(p as any)} />-export const CheckIcon = (p: P) => <Check size={p.width ?? 16} {...(p as any)} />-export const ClipboardIcon = (p: P) => <Clipboard size={p.width ?? 16} strokeWidth={2.1} {...(p as any)} />--/** Category marks — optical 16px line icons, lighter than Lucide at this size. */-const CAT_STROKE = {- fill: 'none',- stroke: 'currentColor',- strokeWidth: 1.65,- strokeLinecap: 'round' as const,- strokeLinejoin: 'round' as const-}--function CatSvg({ children, ...p }: P & { children: ReactNode }) {- return (- <svg viewBox="0 0 24 24" width={p.width ?? 18} height={p.height ?? 18} fill="none" aria-hidden {...(p as any)}>- {children}- </svg>- )+export const ChevronLeftIcon = uiIcon(ChevronLeft)+export const ChevronRightIcon = uiIcon(ChevronRight)+export const ChevronUpIcon = uiIcon(ChevronUp)+export const ChevronDownIcon = uiIcon(ChevronDown)+export const ExternalLinkIcon = uiIcon(ExternalLink)+export const SearchIcon = uiIcon(Search)+export const PinIcon = uiIcon(Pin)+export const PinFillIcon = (p: P) => {+ const size = Number(p.width ?? p.height ?? 16)+ return <Pin size={size} strokeWidth={size <= 14 ? 1.55 : 1.7} absoluteStrokeWidth fill="currentColor" {...(p as any)} />}--export const EmojiSmileIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="12" cy="12" r="8.25" {...CAT_STROKE} />- <circle cx="9.15" cy="10.2" r="1.05" fill="currentColor" stroke="none" />- <circle cx="14.85" cy="10.2" r="1.05" fill="currentColor" stroke="none" />- <path d="M8.6 14.15c.95 1.55 2.05 2.2 3.4 2.2s2.45-.65 3.4-2.2" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiClockIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="12" cy="12" r="8.25" {...CAT_STROKE} />- <path d="M12 7.6v5.05l3.35 1.9" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiUserIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="9.2" cy="9" r="2.35" {...CAT_STROKE} />- <path d="M4.7 17.4c.35-2.45 2.15-3.85 4.5-3.85 2.35 0 4.15 1.4 4.5 3.85" {...CAT_STROKE} />- <circle cx="15.35" cy="9.15" r="2.05" {...CAT_STROKE} />- <path d="M13.2 13.85c1.55-.7 3.4-.55 4.85.7.95.8 1.5 1.9 1.7 2.85" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiPawIcon = (p: P) => (- <CatSvg {...p}>- <path d="M7.35 10.4 9.2 5.7l2.15 4.5" {...CAT_STROKE} />- <path d="M12.65 10.2 14.8 5.7l1.85 4.7" {...CAT_STROKE} />- <circle cx="12" cy="13.55" r="5.05" {...CAT_STROKE} />- <circle cx="9.9" cy="13.1" r="0.85" fill="currentColor" stroke="none" />- <circle cx="14.1" cy="13.1" r="0.85" fill="currentColor" stroke="none" />- <path d="M10.4 15.55c.5.7 1 .95 1.6.95s1.1-.25 1.6-.95" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiFoodIcon = (p: P) => (- <CatSvg {...p}>- <path d="M7.1 5v3.6M9.3 5v3.6M11.5 5v3.6" {...CAT_STROKE} />- <path d="M9.3 8.6v10.6" {...CAT_STROKE} />- <path d="M15.6 5.2v14" {...CAT_STROKE} />- <path d="M15.6 5.2c2.35.15 2.7 2.55.15 4.15" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiPlaneIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="12" cy="12" r="8.25" {...CAT_STROKE} />- <ellipse cx="12" cy="12" rx="3.4" ry="8.25" {...CAT_STROKE} />- <path d="M4 12h16" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiTrophyIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="12" cy="11.2" r="6.1" {...CAT_STROKE} />- <path d="M9.4 14.7 8.2 19.2h7.6L14.6 14.7" {...CAT_STROKE} />- <path d="M9.1 19.2h5.8" {...CAT_STROKE} />- <path d="M12 7.4v3.7" {...CAT_STROKE} />- <path d="M10.35 9.55h3.3" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiBulbIcon = (p: P) => (- <CatSvg {...p}>- <path d="M12 5.5 19 9.15v7.4L12 20.5 5 16.55V9.15z" {...CAT_STROKE} />- <path d="M5 9.15 12 12.85 19 9.15" {...CAT_STROKE} />- <path d="M12 12.85V20.5" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiShapesIcon = (p: P) => (- <CatSvg {...p}>- <circle cx="9.1" cy="9.2" r="3.15" {...CAT_STROKE} />- <rect x="12.7" y="12.35" width="6.3" height="6.3" rx="1.15" {...CAT_STROKE} />- <path d="M8.35 14.55 5.4 19.6h5.9z" {...CAT_STROKE} />- </CatSvg>-)--export const EmojiFlagIcon = (p: P) => (- <CatSvg {...p}>- <path d="M7.2 4.6v14.8" {...CAT_STROKE} />- <path d="M7.2 5.4h9.3l-1.7 3.35 1.7 3.35H7.2" {...CAT_STROKE} />- </CatSvg>-)+export const TrashIcon = uiIcon(Trash2)+export const CopyIcon = uiIcon(Copy)+export const GearIcon = uiIcon(SettingsGear)+export const GripIcon = uiIcon(GripVertical)+export const ImageIcon = uiIcon(ImageGraphic)+export const LinkIcon = uiIcon(Link)+export const CloseIcon = uiIcon(X)+export const MinusIcon = uiIcon(Minus)+export const DropIcon = uiIcon(ArrowDownToLine)+export const BundleIcon = uiIcon(Layers)+export const ExpandIcon = uiIcon(Maximize2)+export const ContractIcon = uiIcon(Minimize2)+export const FolderOpenIcon = uiIcon(FolderOpen)+export const CheckIcon = uiIcon(Check)+export const ClipboardIcon = uiIcon(Clipboard)+export const ClockIcon = uiIcon(Clock)+export const TypeIcon = uiIcon(Type)+export const FilesIcon = uiIcon(Files)++export const EmojiSmileIcon = uiIcon(Smile, 18)+export const EmojiClockIcon = uiIcon(Clock, 18)+export const EmojiUserIcon = uiIcon(Users, 18)+export const EmojiPawIcon = uiIcon(PawPrint, 18)+export const EmojiFoodIcon = uiIcon(Utensils, 18)+export const EmojiPlaneIcon = uiIcon(Globe, 18)+export const EmojiTrophyIcon = uiIcon(Trophy, 18)+export const EmojiBulbIcon = uiIcon(Lightbulb, 18)+export const EmojiShapesIcon = uiIcon(Shapes, 18)+export const EmojiFlagIcon = uiIcon(Flag, 18)import { CustomFileIcon, FileStackPhoto } from './CustomFileIcon'export { CustomFileIcon, CustomFileIcon as FileKindIcon, FileStackPhoto }diff --git a/src/main.tsx b/src/main.tsxindex 3b4e048..16f165b 100644--- a/src/main.tsx+++ b/src/main.tsx@@ -3,6 +3,13 @@ import { StrictMode } from 'react'import { createRoot } from 'react-dom/client'import App from './App'+import '@fontsource/plus-jakarta-sans/400.css'+import '@fontsource/plus-jakarta-sans/500.css'+import '@fontsource/plus-jakarta-sans/600.css'+import '@fontsource/plus-jakarta-sans/700.css'+import '@fontsource/jetbrains-mono/400.css'+import '@fontsource/jetbrains-mono/500.css'+// Stylesheet order matters: tokens first, then globals, then components.import './styles/tokens.css'import './styles/global.css'diff --git a/src/store/appStore.ts b/src/store/appStore.tsindex 61ee8aa..11058aa 100644--- a/src/store/appStore.ts+++ b/src/store/appStore.ts@@ -128,13 +128,11 @@ export const useStore = create<AppState>((set, get) => ({query: '',typeFilter: 'all',setTypeFilter: (typeFilter) => {- if (get().typeFilter === typeFilter) return- set({ typeFilter })+ if (get().typeFilter === typeFilter && !get().emojiOpen) return+ set({ typeFilter, emojiOpen: false, expandedStackId: null })// The list remounts on filter change; leave the flyout open and it// would float over a tab that no longer contains the source card.if (get().previewItemId) get().setPreviewItemId(null)- // Same for an expanded stack: its card may not exist in the new tab.- set({ expandedStackId: null })},open: false,settingsOpen: false,diff --git a/src/styles/emoji.css b/src/styles/emoji.cssindex 4ca63d7..b389634 100644--- a/src/styles/emoji.css+++ b/src/styles/emoji.css@@ -14,16 +14,16 @@display: flex;align-items: center;justify-content: space-between;- gap: 1px;- background: rgba(255, 255, 255, 0.05);- border: 1px solid rgba(255, 255, 255, 0.10);+ gap: 2px;+ background: transparent;+ border: none;border-radius: 999px;- padding: 3px 4px;+ padding: 0;margin: 2px var(--pad) 8px;height: 36px;box-sizing: border-box;flex-shrink: 0;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);+ box-shadow: none;}.emoji-cat-btn {@@ -33,23 +33,21 @@display: grid;place-items: center;border-radius: 999px;- background: transparent;- border: 1px solid transparent;+ background: #141414;+ border: none;cursor: pointer;- color: rgba(255, 255, 255, 0.60);+ color: rgba(255, 255, 255, 0.70);padding: 0;- transition: all 0.16s cubic-bezier(0.22, 1, 0.36, 1);+ transition: background 0.16s cubic-bezier(0.22, 1, 0.36, 1), color 0.16s ease;}.emoji-cat-btn:hover {- background: rgba(255, 255, 255, 0.10);+ background: #1c1c1c;color: #ffffff;- transform: scale(1.08);}.emoji-cat-btn.active {- background: rgba(255, 255, 255, 0.18);- border-color: rgba(255, 255, 255, 0.28);- color: #ffffff;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);+ background: #ffffff;+ color: #000000;+ box-shadow: none;}.emoji-cat-btn:active {transform: scale(0.94);@@ -126,10 +124,8 @@z-index: 10;padding: 4px 10px;border-radius: 999px;- background: rgba(18, 18, 24, 0.94);- backdrop-filter: blur(16px);- -webkit-backdrop-filter: blur(16px);- border: 1px solid rgba(255, 255, 255, 0.18);+ background: #141414;+ border: none;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);transform: translateX(-50%);pointer-events: none;@@ -167,20 +163,18 @@gap: 5px;padding: 4px 12px;border-radius: 999px;- background: rgba(255, 255, 255, 0.06);- border: 1px solid rgba(255, 255, 255, 0.12);- color: rgba(255, 255, 255, 0.65);- font-size: 11.5px;- font-weight: 500;+ background: #141414;+ border: none;+ color: #ff6b6b;+ font-size: 12px;+ font-weight: 600;cursor: pointer;- transition: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);+ transition: background 0.15s cubic-bezier(0.22, 1, 0.36, 1), color 0.15s ease;+ box-shadow: none;}.emoji-recents-clear-btn:hover {background: rgba(239, 68, 68, 0.16);- border-color: rgba(239, 68, 68, 0.35);- color: #ff6b6b;- transform: scale(1.04);+ color: #ff8585;}.emoji-recents-clear-btn:active {transform: scale(0.96);@@ -194,8 +188,8 @@gap: 2px;padding: 4px;border-radius: 14px;- background: #141418;- border: 1px solid rgba(255, 255, 255, 0.16);+ background: #141414;+ border: none;box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);transform: translate(-50%, calc(-100% - 8px));pointer-events: auto;diff --git a/src/styles/global.css b/src/styles/global.cssindex 424e5d7..fd77e6c 100644--- a/src/styles/global.css+++ b/src/styles/global.css@@ -28,16 +28,19 @@ html {}body {- font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;- font-size: calc(13px * var(--font-scale, 1));- line-height: 1.48;+ font-family: var(--font-ui);+ font-size: calc(14px * var(--font-scale, 1));+ line-height: 1.45;+ letter-spacing: 0;+ font-weight: 400;color: var(--text-primary);background: transparent;overflow: hidden;+ /* Real face is loaded; grayscale AA on dark UI is the sharp path. */-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;- text-rendering: optimizeLegibility;- font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';+ text-rendering: geometricPrecision;+ font-feature-settings: 'ss01' 1;user-select: none;-webkit-user-select: none;cursor: default;@@ -48,24 +51,15 @@ body {dragstart on every element, which breaks our draggable item tiles andfile sub-rows. Scope it to img/a only, and let .item-main / .file-rowre-enable dragging explicitly. */-/* High-Definition Vector & Image Anti-Aliasing */img,-svg,-canvas,video {- image-rendering: smooth;- shape-rendering: geometricPrecision;- text-rendering: optimizeLegibility;+ image-rendering: auto;}svg {- transform: translateZ(0);- backface-visibility: hidden;+ overflow: visible;}---/* HD Anti-Aliased Curved Edges & Micro Surfaces */.blade,.item,.item-main,@@ -83,8 +77,6 @@ svg {.changelog-pill,.copy-curve-container,.style-card {- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;-webkit-background-clip: padding-box;background-clip: padding-box;}diff --git a/src/styles/item.css b/src/styles/item.cssindex b2f4f0f..49146fc 100644--- a/src/styles/item.css+++ b/src/styles/item.css@@ -7,15 +7,13 @@position: relative;display: flex;flex-direction: column;- margin-bottom: 10px;- background: rgba(255, 255, 255, 0.035);- border: 1px solid rgba(255, 255, 255, 0.10);- border-radius: 14px;+ margin-bottom: 8px;+ background: var(--bg-card);+ border: none;+ border-radius: var(--radius-card);user-select: none;-webkit-user-select: none;- transition: background 0.12s ease,- border-color 0.12s ease,- box-shadow 0.12s ease;+ transition: background 0.14s ease;overflow: hidden;}@@ -32,9 +30,7 @@}.item:hover {- background: rgba(255, 255, 255, 0.085);- border-color: rgba(255, 255, 255, 0.24);- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);+ background: var(--bg-card-hover);}.item:hover .preview {@@ -42,20 +38,17 @@}.item.pinned {- border-color: rgba(255, 255, 255, 0.24);- background: rgba(255, 255, 255, 0.065);+ background: #181818;}.item.pinned:hover {- background: rgba(255, 255, 255, 0.11);- border-color: rgba(255, 255, 255, 0.36);- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);+ background: var(--bg-card-hover);}/* Compact UI Density Mode */.list.compact .item {margin-bottom: 6px;- border-radius: 12px;+ border-radius: 16px;}.list.compact .item-main {padding: 8px 12px;@@ -96,17 +89,14 @@}.preview {- font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;- font-size: calc(13.5px * var(--font-scale, 1));- line-height: 1.45;- color: rgba(255, 255, 255, 0.85);- font-weight: 450;+ font-family: var(--font-ui);+ font-size: calc(13px * var(--font-scale, 1));+ line-height: 1.4;+ color: rgba(255, 255, 255, 0.92);+ font-weight: 400;word-break: break-word;white-space: pre-wrap;transition: color 0.16s ease;- -webkit-font-smoothing: antialiased;- -moz-osx-font-smoothing: grayscale;- text-rendering: optimizeLegibility;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;@@ -124,11 +114,11 @@align-items: center;flex-wrap: wrap;gap: 8px;- font-family: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, monospace;- font-size: calc(10px * var(--font-scale, 1));- color: rgba(255, 255, 255, 0.45);+ font-family: var(--font-mono);+ font-size: calc(11px * var(--font-scale, 1));+ color: rgba(255, 255, 255, 0.42);font-weight: 400;- letter-spacing: 0.03em;+ letter-spacing: 0;}/* Scroll to top button */@@ -139,8 +129,8 @@width: 44px;height: 44px;border-radius: 50%;- background: var(--bg-item);- border: 1px solid var(--border);+ background: #141414;+ border: none;color: var(--text-primary);display: flex;align-items: center;@@ -152,10 +142,9 @@}.scroll-top-btn:hover {- background: var(--bg-hover);+ background: #1c1c1c;transform: translateY(-2px);box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);- border-color: rgba(255, 255, 255, 0.3);}.scroll-top-btn:active {@@ -223,21 +212,18 @@width: 36px;height: 36px;border-radius: 10px;- background: rgba(255, 255, 255, 0.08);- border: 1px solid rgba(255, 255, 255, 0.14);+ background: #141414;+ border: none;display: grid;place-items: center;flex-shrink: 0;color: rgba(255, 255, 255, 0.9);- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),- background 0.15s ease,- border-color 0.15s ease;+ background 0.15s ease;}.item-card:hover .link-apple-icon-box {- background: rgba(255, 255, 255, 0.14);- border-color: rgba(255, 255, 255, 0.25);+ background: #1c1c1c;transform: scale(1.05);}@@ -288,7 +274,7 @@}.link-apple-title {- font-size: calc(13.5px * var(--font-scale, 1));+ font-size: calc(13px * var(--font-scale, 1));font-weight: 600;color: #ffffff;line-height: 1.35;@@ -298,7 +284,7 @@-webkit-line-clamp: 2;-webkit-box-orient: vertical;word-break: break-word;- letter-spacing: -0.01em;+ letter-spacing: 0;}.link-apple-path {@@ -316,13 +302,13 @@width: 100%;max-height: 180px;object-fit: contain;- border-radius: 8px;+ border-radius: 12px;background: rgba(0, 0, 0, 0.4);pointer-events: none;}.thumb-wrap {position: relative;- border-radius: 8px;+ border-radius: 12px;overflow: hidden;}@@ -335,8 +321,8 @@display: flex;gap: 3px;padding: 3px 5px;- background: #141416;- border: 1px solid rgba(255, 255, 255, 0.16);+ background: #141414;+ border: none;border-radius: 999px;opacity: 0;pointer-events: none;@@ -559,18 +545,17 @@align-items: center;gap: 10px;padding: 8px 10px;- background: rgba(255, 255, 255, 0.035);- border: 1px solid rgba(255, 255, 255, 0.06);- border-radius: 10px;+ background: #141414;+ border: none;+ border-radius: 14px;cursor: grab;width: 100%;- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);+ transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);overflow: hidden;}.fluid-card-row:hover {- background: rgba(255, 255, 255, 0.06);- border-color: rgba(255, 255, 255, 0.12);+ background: #141414;}.fluid-card-row:active {@@ -618,7 +603,7 @@.fluid-row-sub {font-size: calc(11px * var(--font-scale, 1));color: rgba(255, 255, 255, 0.45);- font-family: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, monospace;+ font-family: var(--font-mono);}.fluid-row-actions {@@ -631,10 +616,10 @@gap: 4px;opacity: 0;pointer-events: none;- background: #141416;+ background: #141414;padding: 3px 4px;border-radius: 8px;- border: 1px solid rgba(255, 255, 255, 0.16);+ border: none;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);transition: opacity 0.15s ease, transform 0.15s ease;z-index: 5;@@ -652,8 +637,8 @@display: flex;align-items: center;justify-content: center;- background: #1e1e22;- border: 1px solid rgba(255, 255, 255, 0.12);+ background: transparent;+ border: none;border-radius: 6px;color: rgba(255, 255, 255, 0.85);cursor: pointer;@@ -661,9 +646,8 @@}.fluid-row-actions .act:hover {- background: #2c2c32;+ background: #1c1c1c;color: #ffffff;- border-color: rgba(255, 255, 255, 0.3);}/* "N / 10" capacity readout next to the bundle actions pill */@@ -721,7 +705,7 @@.single-file-sub {font-size: calc(11px * var(--font-scale, 1));color: rgba(255, 255, 255, 0.45);- font-family: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, monospace;+ font-family: var(--font-mono);text-transform: lowercase;}@@ -754,18 +738,17 @@width: 32px;height: 32px;margin-right: auto;- border-radius: 8px;+ border-radius: 999px;color: rgba(255, 255, 255, 0.75);- background: rgba(255, 255, 255, 0.06);- border: 1px solid rgba(255, 255, 255, 0.08);+ background: #141414;+ border: none;cursor: pointer;flex-shrink: 0;- transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;+ transition: background 0.15s ease, color 0.15s ease;}.bundle-collapse-hit:hover {- background: rgba(255, 255, 255, 0.14);+ background: #1c1c1c;color: #fff;- border-color: rgba(255, 255, 255, 0.2);}.bundle-actions-label {@@ -776,19 +759,19 @@display: flex;gap: 4px;padding: 4px;- background: rgba(20, 20, 20, 0.95);- border: 1px solid rgba(255, 255, 255, 0.1);+ background: #141414;+ border: none;border-radius: 999px;- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);}/* Interactive Onboarding Tutorial Banner styling */.tutorial-banner {margin: 16px 16px 8px 16px;padding: 14px 16px;- background: rgba(255, 255, 255, 0.02);- border: 1px solid rgba(255, 255, 255, 0.1);- border-radius: 12px;+ background: var(--bg-card);+ border: none;+ border-radius: 16px;display: flex;flex-direction: column;gap: 6px;diff --git a/src/styles/panel.css b/src/styles/panel.cssindex 74e27e0..105bb4a 100644--- a/src/styles/panel.css+++ b/src/styles/panel.css@@ -119,7 +119,7 @@display: flex;align-items: center;gap: 10px;- padding: var(--pad) var(--pad) 10px;+ padding: 8px var(--pad) 8px;position: relative;z-index: 1;}@@ -142,11 +142,13 @@place-items: center;border-radius: var(--radius-pill);color: var(--text-secondary);+ background: transparent;+ border: none;transition: background var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out);}.icon-btn:hover {- background: var(--bg-3);+ background: var(--bg-chip);color: var(--text-primary);}@@ -160,20 +162,18 @@width: 100%;height: 36px;padding: 0 12px 0 34px;- background: var(--bg-2);- border: 1px solid var(--divider);+ background: var(--bg-card);+ border: none;border-radius: var(--radius-pill);outline: none;color: var(--text-primary);- transition: border-color var(--dur-fast) var(--ease-out),- box-shadow var(--dur-fast) var(--ease-out);+ transition: background var(--dur-fast) var(--ease-out);}.search input::placeholder {color: var(--text-tertiary);}.search input:focus {- border-color: var(--accent);- box-shadow: 0 0 0 3px var(--accent-glow);+ background: var(--bg-card-hover);}.search .search-icon {position: absolute;@@ -212,7 +212,6 @@text-transform: uppercase;color: #a1a1aa;margin: 16px 6px 8px;- -webkit-font-smoothing: antialiased;}.section-label:first-child {margin-top: 4px;@@ -340,7 +339,6 @@position: relative;z-index: 1;background: transparent;- -webkit-font-smoothing: antialiased;}.footer .count {font-size: calc(12px * var(--font-scale, 1));@@ -361,16 +359,15 @@display: inline-flex;align-items: center;height: 28px;- background: rgba(255, 255, 255, 0.06);- border: 1px solid rgba(255, 255, 255, 0.12);+ background: var(--bg-chip);+ border: none;border-radius: 999px;- padding: 0 3px 0 9px;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);- transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);+ padding: 0 10px;+ box-shadow: none;+ transition: background 0.18s cubic-bezier(0.22, 1, 0.36, 1);}.footer-capsule:hover {- background: rgba(255, 255, 255, 0.09);- border-color: rgba(255, 255, 255, 0.18);+ background: #1c1c1c;}.footer-capsule-count {font-size: calc(11.5px * var(--font-scale, 1));@@ -378,7 +375,7 @@color: rgba(255, 255, 255, 0.75);font-variant-numeric: tabular-nums;letter-spacing: 0.02em;- padding-right: 7px;+ padding-right: 0;user-select: none;}.footer-capsule-divider {@@ -415,22 +412,20 @@align-items: center;gap: 5px;height: 28px;- background: rgba(255, 255, 255, 0.08);- border: 1px solid rgba(255, 255, 255, 0.14);+ background: var(--bg-chip);+ border: none;border-radius: 999px;padding: 0 12px 0 8px;color: #f4f4f5;- font-size: calc(11.5px * var(--font-scale, 1));+ font-size: calc(12px * var(--font-scale, 1));font-weight: 600;cursor: pointer;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);- transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);+ box-shadow: none;+ transition: background 0.18s cubic-bezier(0.22, 1, 0.36, 1);}.footer-back-pill:hover {- background: rgba(255, 255, 255, 0.16);- border-color: rgba(255, 255, 255, 0.24);+ background: #1c1c1c;color: #ffffff;- transform: translateY(-1px);}.footer-back-pill:active {transform: scale(0.96);@@ -442,24 +437,22 @@display: inline-flex;align-items: center;gap: 6px;- font-size: calc(11.5px * var(--font-scale, 1));- font-weight: 500;- color: rgba(255, 255, 255, 0.85);- background: rgba(255, 255, 255, 0.06);- border: 1px solid rgba(255, 255, 255, 0.12);- padding: 0 11px;+ font-size: calc(12px * var(--font-scale, 1));+ font-weight: 600;+ color: rgba(255, 255, 255, 0.82);+ background: var(--bg-chip);+ border: none;+ padding: 0 12px;border-radius: 999px;cursor: pointer;white-space: nowrap;flex-shrink: 0;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);- transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);+ box-shadow: none;+ transition: background 0.18s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;}.footer .text-btn:hover:not(:disabled) {- background: rgba(255, 255, 255, 0.12);- border-color: rgba(255, 255, 255, 0.20);+ background: #1c1c1c;color: #ffffff;- transform: translateY(-1px);}.footer .text-btn:active:not(:disabled) {transform: scale(0.96);@@ -467,13 +460,14 @@.footer .text-btn:disabled {opacity: 0.35;cursor: not-allowed;- border-color: transparent;- background: rgba(255, 255, 255, 0.03);+ background: #141414;+}+.footer .text-btn.danger {+ color: #ff6b6b;}.footer .text-btn.danger:hover:not(:disabled) {- color: #ff9494;- border-color: rgba(255, 100, 100, 0.35);- background: rgba(255, 70, 70, 0.14);+ color: #ff8585;+ background: rgba(255, 70, 70, 0.16);}/* ----------------------------------------------------------------- */@@ -507,21 +501,21 @@font-weight: 500;color: rgba(255, 255, 255, 0.92);border-radius: 999px;- background: rgba(20, 20, 20, 0.95);- border: 1px solid rgba(255, 255, 255, 0.12);+ background: #141414;+ border: none;box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);cursor: pointer;text-align: left;}.toast-info {- border-color: rgba(255, 255, 255, 0.12);+ border: none;}.toast-error {color: #fff;- background: rgba(80, 22, 22, 0.95);- border-color: rgba(255, 90, 90, 0.4);+ background: #3a1c1c;+ border: none;}.toast:hover {@@ -530,7 +524,7 @@/* Quick Type Segmented Control */.filter-segmented-track {- background: rgba(255, 255, 255, 0.05);+ background: transparent;}.filter-chip {outline: none;diff --git a/src/styles/settings.css b/src/styles/settings.cssindex 7610b3b..79c3fe2 100644--- a/src/styles/settings.css+++ b/src/styles/settings.css@@ -13,8 +13,6 @@overflow-x: hidden;padding: 4px var(--pad) 28px;scrollbar-width: none;- -webkit-font-smoothing: antialiased;- text-rendering: optimizeLegibility;}.settings-scroll-list::-webkit-scrollbar {@@ -26,13 +24,13 @@display: flex;position: relative;width: 100%;- background: rgba(255, 255, 255, 0.05);- border: 1px solid rgba(255, 255, 255, 0.10);+ background: transparent;+ border: none;border-radius: 12px;- padding: 4px;+ padding: 0;gap: 4px;flex-shrink: 0;- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);+ box-shadow: none;}.settings-tab-btn {@@ -44,17 +42,16 @@justify-content: center;padding: 7px 2px;min-height: 34px;- border-radius: 8px;+ border-radius: 999px;font-size: calc(11.5px * var(--font-scale, 1));font-weight: 500;line-height: 1.25;- color: rgba(255, 255, 255, 0.65);- background: transparent;+ color: rgba(255, 255, 255, 0.72);+ background: #141414;border: none;cursor: pointer;outline: none;transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;- -webkit-font-smoothing: antialiased;letter-spacing: 0;white-space: nowrap;overflow: hidden;@@ -62,21 +59,22 @@.settings-tab-btn:hover:not(.active) {color: #ffffff;+ background: #141414;}.settings-tab-btn.active {color: #000000;font-weight: 600;background: #ffffff;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);+ box-shadow: none;}.settings-tab-indicator {position: absolute;inset: 0;- border-radius: 8px;+ border-radius: 999px;background: #ffffff;- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.40);+ box-shadow: none;z-index: 0;pointer-events: none;}@@ -177,10 +175,10 @@.setting-pills {display: flex;width: 100%;- background: rgba(255, 255, 255, 0.05);- border: 1px solid rgba(255, 255, 255, 0.1);+ background: transparent;+ border: none;border-radius: 8px;- padding: 3px;+ padding: 0;gap: 4px;}@@ -203,7 +201,7 @@.setting-slider-val {font-size: calc(11px * var(--font-scale, 1));font-weight: 600;- font-family: 'JetBrains Mono', -apple-system, BlinkMacSystemFont, monospace;+ font-family: var(--font-mono);color: #ffffff;background: rgba(255, 255, 255, 0.1);border: 1px solid rgba(255, 255, 255, 0.18);@@ -297,7 +295,7 @@.slider-label-btn {font-size: 10.5px;font-weight: 500;- font-family: 'JetBrains Mono', -apple-system, BlinkMacSystemFont, monospace;+ font-family: var(--font-mono);color: rgba(255, 255, 255, 0.45);background: transparent;border: none;@@ -320,15 +318,14 @@flex: 1;min-width: 0;padding: 6px 2px;- border-radius: 6px;- font-size: calc(11.5px * var(--font-scale, 1));+ border-radius: 999px;+ font-size: calc(12px * var(--font-scale, 1));font-weight: 500;- color: #a1a1aa;- background: transparent;+ color: rgba(255, 255, 255, 0.72);+ background: #141414;border: none;cursor: pointer;transition: all 0.15s ease;- -webkit-font-smoothing: antialiased;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;@@ -337,14 +334,14 @@.pill:hover:not(.active) {color: #ffffff;- background: rgba(255, 255, 255, 0.06);+ background: #1c1c1c;}.pill.active {background: #ffffff;color: #000000;font-weight: 600;- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);+ box-shadow: none;}.display-pill {@@ -643,7 +640,7 @@.app-version-footer {font-size: 11.5px;color: rgba(255, 255, 255, 0.55);- font-family: 'Consolas', 'Cascadia Code', monospace;+ font-family: var(--font-mono);margin-top: 2px;}@@ -697,24 +694,24 @@align-items: center;gap: 6px;padding: 10px 8px 12px;- background: rgba(255, 255, 255, 0.03);- border: 1px solid rgba(255, 255, 255, 0.1);- border-radius: 10px;+ background: var(--bg-card);+ border: none;+ border-radius: 16px;cursor: pointer;- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);+ transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);user-select: none;overflow: hidden;}.indicator-card:hover {- background: rgba(255, 255, 255, 0.06);- border-color: rgba(255, 255, 255, 0.22);+ background: var(--bg-card-hover);}.indicator-card.active {- background: rgba(255, 255, 255, 0.08);- border-color: #ffffff;- box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 255, 255, 0.12);+ background: #141414;+ box-shadow: none;+ outline: 2px solid #ffffff;+ outline-offset: 0;}.indicator-card-stage {@@ -727,7 +724,7 @@align-items: center;justify-content: center;overflow: hidden;- border: 1px solid rgba(255, 255, 255, 0.08);+ border: none;}.indicator-card-title {diff --git a/src/styles/tokens.css b/src/styles/tokens.cssindex c491710..ff1216a 100644--- a/src/styles/tokens.css+++ b/src/styles/tokens.css@@ -9,32 +9,34 @@:root {/* Base blacks — stacked for depth, never a flat #000. */--bg-0: #000000; /* deepest core */- --bg-1: #060608; /* blade body */- --bg-2: #0c0c10; /* raised surface */- --bg-3: #141418; /* hover surface */+ --bg-1: #000000; /* blade body */+ --bg-2: #141414; /* raised surface / card */+ --bg-3: #1c1c1c; /* hover */--bg-glass: rgba(12, 12, 16, 0.72); /* frosted backdrop */+ --bg-card: #141414;+ --bg-card-hover: #1c1c1c;+ --bg-chip: #141414;- /* Hairlines & inner light edge */+ /* Hairlines — used only where a divider is needed, not as box outlines */--edge-light: rgba(255, 255, 255, 0.06);--edge-strong: rgba(255, 255, 255, 0.12);- --divider: rgba(255, 255, 255, 0.07);+ --divider: rgba(255, 255, 255, 0.08);/* Text — High Contrast & Ultra-Legible */--text-primary: #ffffff;- --text-secondary: rgba(255, 255, 255, 0.88);- --text-tertiary: rgba(255, 255, 255, 0.68);+ --text-secondary: rgba(255, 255, 255, 0.78);+ --text-tertiary: rgba(255, 255, 255, 0.48);/* Accent (overridden at runtime by theme.ts) */--accent: #8b5cf6;--accent-glow: rgba(139, 92, 246, 0.55);- /* Shape & depth */- --radius-blade: 22px;- --radius-card: 14px;+ /* Shape & depth — large radii, no hairline boxes */+ --radius-blade: 24px;+ --radius-card: 18px;--radius-pill: 999px;- --shadow-blade: 0 0 0 1px var(--edge-light), 0 30px 80px rgba(0, 0, 0, 0.65),- 0 8px 24px rgba(0, 0, 0, 0.5);- --shadow-card: 0 1px 0 var(--edge-light) inset, 0 6px 18px rgba(0, 0, 0, 0.4);+ --shadow-blade: none;+ --shadow-card: none;/* Motion */--ease-out: cubic-bezier(0.22, 1, 0.36, 1);@@ -42,6 +44,10 @@--dur-fast: 140ms;--dur-base: 240ms;+ /* Typography — bundled OFL faces, not system fallbacks. */+ --font-ui: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;+ --font-mono: 'JetBrains Mono', 'Cascadia Mono', ui-monospace, monospace;+/* Typography scale */--font-scale: 1;