mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-03 12:10:11 +00:00
24 lines
437 B
Vue
24 lines
437 B
Vue
<template>
|
|
<div
|
|
class="font-sans w-screen h-screen flex items-center justify-center pointer-events-auto overflow-auto"
|
|
:class="[
|
|
props.dark
|
|
? 'text-neutral-300 bg-neutral-900 dark-theme'
|
|
: 'text-neutral-900 bg-neutral-300'
|
|
]"
|
|
>
|
|
<slot></slot>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
dark: boolean
|
|
}>(),
|
|
{
|
|
dark: false
|
|
}
|
|
)
|
|
</script>
|