@zoneflow/themes
v0.0.13
Published
Preset renderer and editor themes for Zoneflow.
Readme
@zoneflow/themes
@zoneflow/themes는 Zoneflow용 기본 프리셋 테마 묶음입니다.
포함 프리셋:
darkoceansunsetlightpartykorean-culturesci-fifantasymonogardenutopiadystopiadesert
설치
pnpm add @zoneflow/themes @zoneflow/react @zoneflow/core react react-dom사용 예제
import { UniverseEditorCanvas, DefaultEditorToolbar } from "@zoneflow/react";
import { oceanPreset } from "@zoneflow/themes";
<DefaultEditorToolbar editor={editor} theme={oceanPreset.editorTheme} />
<UniverseEditorCanvas
editor={editor}
theme={oceanPreset.rendererTheme}
editorConfig={{
theme: oceanPreset.editorTheme,
}}
/>프리셋은 다음 구조를 가집니다.
rendererThemeeditorThemesurfacePalette
surfacePalette는 playground 같은 샘플 앱이나 자체 shell UI에 톤을 맞출 때 사용할 수 있는 보조 팔레트입니다.
레포지토리: github.com/groobee/zoneflow
