Skip to content

Commit 049b527

Browse files
committed
fix camera styling
1 parent cec2632 commit 049b527

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

apps/desktop/src/entry-server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default createHandler(() => (
1111
<link rel="icon" type="image/svg+xml" href="/assets/logo.svg" />
1212
{assets}
1313
</head>
14-
<body class="w-screen h-screen cursor-default select-none bg-gray-1">
14+
<body class="w-screen h-screen cursor-default select-none">
1515
<div id="app" class="h-full text-[--text-primary]">
1616
{children}
1717
</div>

apps/desktop/src/routes/(window-chrome).tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function (props: RouteSectionProps) {
3434

3535
return (
3636
<WindowChromeContext>
37-
<div class="flex overflow-hidden flex-col w-screen h-screen max-h-screen divide-y divide-gray-5">
37+
<div class="flex overflow-hidden flex-col w-screen h-screen max-h-screen divide-y divide-gray-5 bg-gray-1">
3838
<Header />
3939

4040
{/* breaks sometimes */}

apps/desktop/src/routes/camera.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function () {
133133
{(options) => (
134134
<div
135135
data-tauri-drag-region
136-
class="flex relative flex-col w-screen h-screen bg-black cursor-move group"
136+
class="flex relative flex-col w-screen h-screen cursor-move group"
137137
style={{ "border-radius": cameraBorderRadius(state) }}
138138
>
139139
<div class="h-14">
@@ -270,7 +270,7 @@ function CameraLoadingState(props: { shape: CameraWindow.Shape }) {
270270
});
271271

272272
return (
273-
<div class="flex flex-col w-full h-full bg-gray-1 dark:bg-gray-12">
273+
<div class="flex flex-col w-full h-full bg-transparent">
274274
<div class="h-14" />
275275
<div
276276
class={cx(

apps/desktop/src/routes/capture-area.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Tooltip } from "@kobalte/core";
22
import { createEventListenerMap } from "@solid-primitives/event-listener";
33
import { makePersisted } from "@solid-primitives/storage";
44
import {
5-
getCurrentWebviewWindow,
6-
WebviewWindow,
5+
getCurrentWebviewWindow,
6+
WebviewWindow,
77
} from "@tauri-apps/api/webviewWindow";
88
import { createSignal, onCleanup, onMount, Show } from "solid-js";
99
import { createStore } from "solid-js/store";
@@ -87,7 +87,7 @@ export default function CaptureArea() {
8787
}
8888

8989
return (
90-
<div class="overflow-hidden w-screen h-screen bg-black-transparent-60">
90+
<div class="overflow-hidden w-screen h-screen">
9191
<div class="flex fixed z-50 justify-center items-center w-full">
9292
<Transition
9393
appear

apps/desktop/src/routes/editor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function () {
2222
return (
2323
<div
2424
class={cx(
25-
"flex flex-col w-screen h-screen",
25+
"flex flex-col w-screen h-screen bg-gray-1",
2626
!(
2727
ostype() === "windows" || !generalSettings.data?.windowTransparency
2828
) && "bg-transparent-window"

0 commit comments

Comments
 (0)