Skip to content

Visualize Your Ideas With Code

feat: make surfaces transparent by default (#42)

Jacobcd712857579e
diff --git a/src/components/Surface.ts b/src/components/Surface.ts
index a7bb82a3..77472386 100644
--- a/src/components/Surface.ts
+++ b/src/components/Surface.ts
@@ -38,7 +38,7 @@ export interface SurfaceConfig extends ContainerConfig {
export class Surface extends Group {
@getset(8)
public radius: GetSet<SurfaceConfig['radius'], this>;
- @getset('#FF00FF')
+ @getset('#00000000')
public background: GetSet<SurfaceConfig['background'], this>;
@getset(null)
public child: GetSet<SurfaceConfig['child'], this>;