feat: textPaint

This commit is contained in:
zhangyi
2025-03-17 17:50:44 +08:00
parent 277477dd9b
commit e4e9f6d527
11 changed files with 185 additions and 107 deletions
@@ -0,0 +1,34 @@
.container {
position: relative;
}
canvas {
width: 100%;
height: 100vh;
}
.input-button {
position: absolute;
bottom: 20px;
right: 20px;
z-index: 10;
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
}
.modal-content {
background-color: white;
padding: 20px;
border-radius: 10px;
width: 80%;
}