Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
style(desktop): adjust caption track color and timeline delete button
Richie McIlroy6e8c71c6e0af
diff --git a/apps/desktop/src/routes/editor/Timeline/index.tsx b/apps/desktop/src/routes/editor/Timeline/index.tsxindex 717102734..b952eaac8 100644--- a/apps/desktop/src/routes/editor/Timeline/index.tsx+++ b/apps/desktop/src/routes/editor/Timeline/index.tsx@@ -1122,7 +1122,7 @@ function TrackRow(props: {/><Show when={props.onDelete}><button- class="absolute inset-0 z-20 pointer-events-none flex items-center justify-center rounded-xl border border-red-400/70 bg-red-500/90 text-white opacity-0 transition-opacity group-hover/icon:pointer-events-auto group-hover/icon:opacity-100"+ class="absolute left-1/2 top-1/2 z-20 pointer-events-none flex size-6 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-md border border-red-400/70 bg-red-500 text-white opacity-0 shadow-sm transition-opacity group-hover/icon:pointer-events-auto group-hover/icon:opacity-100"onClick={(e) => {e.stopPropagation();props.onDelete?.();@@ -1130,7 +1130,7 @@ function TrackRow(props: {onMouseDown={(e) => e.stopPropagation()}title="Delete track">- <IconCapTrash class="size-4" />+ <IconCapTrash class="size-3.5" /></button></Show></div>diff --git a/apps/desktop/src/styles/theme.css b/apps/desktop/src/styles/theme.cssindex ca485802f..03d0ed2cb 100644--- a/apps/desktop/src/styles/theme.css+++ b/apps/desktop/src/styles/theme.css@@ -24,7 +24,7 @@:root {--track-clip: #3f8ae0; /* blue */--track-zoom: #4a4f5c; /* slate */- --track-caption: #c44fa6; /* magenta */+ --track-caption: #6f747d;--track-keyboard: #d4742c; /* orange */--track-text: #2898ac; /* teal */--track-mask: #d2444b; /* red */