Skip to content

Commit f5b21fa

Browse files
committed
feat: add base canva editor
1 parent acaca60 commit f5b21fa

File tree

4 files changed

+698
-534
lines changed

4 files changed

+698
-534
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"@fastify/static": "^9.0.0",
2525
"@icons-pack/react-simple-icons": "^13.11.2",
2626
"@nycu-sdc/core-system-sdk": "1.0.0",
27+
"@pixi/react": "^8.0.5",
2728
"@radix-ui/react-checkbox": "^1.3.3",
2829
"@radix-ui/react-dialog": "^1.1.15",
2930
"@radix-ui/react-dropdown-menu": "^2.1.16",
@@ -43,6 +44,7 @@
4344
"lucide-react": "^0.562.0",
4445
"lucide-static": "^0.574.0",
4546
"marked": "^17.0.3",
47+
"pixi.js": "^8.17.0",
4648
"pnpm": "^10.30.0",
4749
"react": "^19.2.4",
4850
"react-dom": "^19.2.4",

pnpm-lock.yaml

Lines changed: 128 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,13 @@
1-
.header {
2-
display: flex;
3-
align-items: center;
4-
justify-content: space-between;
5-
flex-wrap: wrap;
6-
margin-bottom: 0.5rem;
7-
}
8-
9-
.description {
10-
padding: 0;
11-
padding-left: 1rem;
12-
line-height: 1.5;
1+
.container {
2+
position: relative;
3+
overflow: hidden;
134
}
145

15-
.flowContainer {
6+
.toolbar {
7+
position: absolute;
168
display: flex;
17-
justify-content: center;
18-
}
19-
20-
.warnings {
21-
margin-top: 1.5rem;
22-
padding: 0.75rem 1rem;
9+
top: 1rem;
10+
left: 1rem;
2311
border-radius: 0.5rem;
24-
background: color-mix(in srgb, var(--orange) 10%, transparent);
25-
border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent);
26-
}
27-
28-
.warningsTitle {
29-
margin: 0 0 0.5rem;
30-
font-weight: 600;
31-
color: var(--orange);
32-
}
33-
34-
.warnings ul {
35-
margin: 0;
36-
padding-left: 1.25rem;
37-
display: flex;
38-
flex-direction: column;
39-
gap: 0.25rem;
40-
}
41-
42-
.warningItem {
43-
font-size: 0.85rem;
44-
color: var(--foreground);
45-
display: flex;
46-
gap: 0.5rem;
47-
align-items: baseline;
48-
}
49-
50-
.warningNode {
51-
font-weight: 600;
52-
white-space: nowrap;
53-
color: var(--orange);
12+
background-color: var(--background-color-tertiary);
5413
}

0 commit comments

Comments
 (0)