canvas widget: pretty much working

This commit is contained in:
jean-emmanuel 2021-12-06 12:01:05 +01:00
parent df101eac0e
commit 3a872f6920
7 changed files with 213 additions and 38 deletions

View file

@ -1,6 +1,7 @@
.xy-container,
.multixy-container,
.rgb-container {
.rgb-container,
.canvas-container {
width: 200rem;
height: 200rem;
}
@ -125,3 +126,26 @@
}
}
.canvas-container {
--alpha-fill-off: 0.05;
--alpha-fill: var(--alpha-fill-off);
--widget-padding: 0rem;
inner {
position: relative;
flex: 1;
display: flex;
@include pseudo-fill($z: -1);
@include pseudo-stroke();
}
canvas {
width: 100%;
text-align: center;
}
}