Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: Dark mode style bits for shareable link

Richie McIlroyd0be9445eed3
diff --git a/apps/web/app/s/[videoId]/_components/Sidebar.tsx b/apps/web/app/s/[videoId]/_components/Sidebar.tsx
index a9a065b72..a21632f81 100644
--- a/apps/web/app/s/[videoId]/_components/Sidebar.tsx
+++ b/apps/web/app/s/[videoId]/_components/Sidebar.tsx
@@ -124,13 +124,13 @@ export const Sidebar: React.FC<SidebarProps> = ({
className={classNames(
"flex-1 px-6 py-3 text-sm font-medium relative transition-colors duration-200",
"hover:bg-gray-1",
- activeTab === tab.id ? "bg-gray-1" : ""
+ activeTab === tab.id ? "bg-gray-3" : ""
)}
>
<span
className={classNames(
"relative z-10",
- activeTab === tab.id ? "text-gray-1" : "text-gray-8"
+ activeTab === tab.id ? "text-gray-12" : "text-gray-9"
)}
>
{tab.label}
diff --git a/apps/web/app/s/[videoId]/_components/tabs/Activity.tsx b/apps/web/app/s/[videoId]/_components/tabs/Activity.tsx
index 1a01c00a2..0e8592b7a 100644
--- a/apps/web/app/s/[videoId]/_components/tabs/Activity.tsx
+++ b/apps/web/app/s/[videoId]/_components/tabs/Activity.tsx
@@ -318,7 +318,7 @@ const EmptyState = () => (
d="M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"
/>
</svg>
- <h3 className="text-sm font-medium text-gray-1">No comments yet</h3>
+ <h3 className="text-sm font-medium text-gray-12">No comments yet</h3>
<p className="text-sm text-gray-8">
Be the first to share your thoughts!
</p>
diff --git a/apps/web/app/s/[videoId]/_components/tabs/Transcript.tsx b/apps/web/app/s/[videoId]/_components/tabs/Transcript.tsx
index 2bac9d7ad..572950ee4 100644
--- a/apps/web/app/s/[videoId]/_components/tabs/Transcript.tsx
+++ b/apps/web/app/s/[videoId]/_components/tabs/Transcript.tsx
@@ -285,7 +285,7 @@ export const Transcript: React.FC<TranscriptProps> = ({ data, onSeek }) => {
<div className="flex justify-center items-center h-full text-gray-1">
<div className="text-center">
<MessageSquare className="mx-auto mb-2 w-8 h-8 text-gray-300" />
- <p className="text-sm font-medium text-gray-1">
+ <p className="text-sm font-medium text-gray-12">
No transcript available
</p>
</div>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b1333bb3a..bb24c91e8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -543,7 +543,7 @@ importers:
specifier: ^1.3.1
gif.js:
- specifier: ^0.2.0
+ specifier: 0.2.0
version: 0.2.0
hls.js:
specifier: ^1.5.3