Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Fix scrollbar styling, fix header text color in signin view

Ilya262aebc27221
diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsx
index fed8794d0..e438fbd4b 100644
--- a/apps/desktop/src/App.tsx
+++ b/apps/desktop/src/App.tsx
@@ -89,7 +89,6 @@ function createThemeListener() {
generalSettingsStore.listen((s) => {
themeActions.mutate(s?.theme ?? null);
update(theme());
- console.log(`updating: ${s?.theme}`);
});
let unlisten: UnlistenFn | undefined;
diff --git a/apps/desktop/src/routes/(window-chrome)/signin.tsx b/apps/desktop/src/routes/(window-chrome)/signin.tsx
index f359f563e..83273301f 100644
--- a/apps/desktop/src/routes/(window-chrome)/signin.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/signin.tsx
@@ -122,7 +122,7 @@ export default function Page() {
<div class="flex flex-col p-[1rem] gap-[0.75rem] text-[0.875rem] font-[400] flex-1 bg-gray-100">
<div class="space-y-[0.375rem] flex-1">
<IconCapLogo class="size-[3rem]" />
- <h1 class="text-[1rem] font-[700]">Sign in to Cap</h1>
+ <h1 class="text-[1rem] font-[700] text-black-transparent-80">Sign in to Cap</h1>
<p class="text-gray-400">Beautiful screen recordings, owned by you.</p>
</div>
{submission.pending ? (
diff --git a/apps/desktop/src/styles/theme.css b/apps/desktop/src/styles/theme.css
index 1bb53c8d5..93f353c51 100644
--- a/apps/desktop/src/styles/theme.css
+++ b/apps/desktop/src/styles/theme.css
@@ -1,3 +1,5 @@
+@tailwind utilities;
+
:root {
/* Light theme variables */
--gray-50: #ffffff;
@@ -102,3 +104,9 @@
.dark [data-transparent-window] body {
background: transparent !important;
}
+
+@layer utilities {
+ .overflow-y-auto {
+ @apply scrollbar-thin scrollbar-track-transparent scrollbar-thumb-black-transparent-40;
+ }
+}
\ No newline at end of file