Skip to content

Commit ef0ddb6

Browse files
committed
add flying window mode
1 parent 6084b21 commit ef0ddb6

File tree

22 files changed

+1014
-870
lines changed

22 files changed

+1014
-870
lines changed

package-lock.json

+11-634
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clapper",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"private": true,
55
"description": "🎬 Clapper",
66
"license": "GPL-3.0-only",
@@ -38,9 +38,9 @@
3838
"dependencies": {
3939
"@aitube/broadway": "0.1.2",
4040
"@aitube/clap": "0.1.2",
41-
"@aitube/clapper-services": "0.1.2-4",
41+
"@aitube/clapper-services": "0.1.2-7",
4242
"@aitube/engine": "0.1.2",
43-
"@aitube/timeline": "0.1.2-0",
43+
"@aitube/timeline": "0.1.2-1",
4444
"@fal-ai/serverless-client": "^0.13.0",
4545
"@ffmpeg/ffmpeg": "^0.12.10",
4646
"@ffmpeg/util": "^0.12.1",

src/app/embed/embed.tsx

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ import { Monitor } from '@/components/monitor'
1111
import { SettingsDialog } from '@/components/settings'
1212
import { LoadingDialog } from '@/components/dialogs/loader/LoadingDialog'
1313
import { TopBar } from '@/components/toolbars/top-bar'
14+
import { useTheme } from '@/services'
1415

1516
export function Embed() {
1617
const ref = useRef<HTMLDivElement>(null)
1718
const isEmpty = useTimeline((s) => s.isEmpty)
19+
const theme = useTheme()
1820

1921
return (
2022
<TooltipProvider>
@@ -23,10 +25,7 @@ export function Embed() {
2325
className={cn(
2426
`dark fixed flex h-screen w-screen select-none flex-col items-center justify-center overflow-hidden font-light text-stone-900/90 dark:text-stone-100/90`
2527
)}
26-
style={{
27-
backgroundImage:
28-
'repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #37353455, #373534 )',
29-
}}
28+
style={{ backgroundImage: theme.wallpaperBgImage }}
3029
>
3130
<TopBar />
3231
<div

src/app/layout.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ export default function RootLayout({
2323
className={cn(`overflow-none dark h-full w-full`, inter.className)}
2424
style={{
2525
overscrollBehaviorX: 'none',
26-
backgroundImage:
27-
'repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #37353455, #373534 )',
2826
}}
2927
>
3028
{children}

0 commit comments

Comments
 (0)