Project
Search
Ports in use
Settings
Switch to Light Theme
Enter Zen Mode
+page.svelte
Format Document
Split Editor
More Actions…
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<script lang="ts">
import { Svelvet, ThemeToggle, Group } from 'svelvet';
import type { Theme } from 'svelvet';
import Thickness from '../test-components/Thickness.svelte';
import Noise from '../test-components/Noise.svelte';
import Scale from '../test-components/Scale.svelte';
import CircleColor from '../test-components/CircleColor.svelte';
import DashCount from '../test-components/DashCount.svelte';
import Output from '../test-components/Output.svelte';
let zoom = 0.5;
</script>
<body>
<Svelvet edgeStyle="step" TD {zoom} minimap controls>
<Group
position={{ x: -150, y: -100 }}
width={600}
height={700}
color="goldenrod"
groupName="parameters"
>
<Thickness />
<Noise />
<Scale />
<CircleColor />
<DashCount />
</Group>
<Output />
<span id="state" class="note"> Stateful Anchors</span>
<span id="groups" class="note">Group Boxes</span>
<ThemeToggle main="dark" alt="light" slot="toggle" />
</Svelvet>
</body>
<style>
@import url('https://fonts.googleapis.com/css2?family=Reenie+Beanie&
display=swap');
body {
display: flex;
justify-content: center;
align-items: center;
background-color: gray;
width: 100vw;
height: 100vh;
padding: 0;
margin: 0;
}
.note {
font-family: 'Reenie Beanie', sans-serif;
position: absolute;
color: inherit;
width: 400px;
transform: rotate(-3deg);
font-weight: 200px;
font-size: 40px;
}
#state {
top: -30px;
left: 620px;
}
#groups {
top: 530px;
left: 490px;
}
</style>
Enter to Rename, Shift+Enter to Preview
````````````````````````````````
# This is a non-commercial version of StackBlitz.
# If you’re using this for business purposes, please purchase a license here.
~/projects/svelvet-v9
❯ npm install && npm run dev
added 221 packages in 6s
43 packages are looking for funding
run `npm fund` for details
Terminal_1
Terminal_1
Close Preview
Installing dependencies
- Booting WebContainer
- Installing dependencies
- Running start command