feat: add theming support

This commit is contained in:
2024-04-19 01:27:11 +02:00
parent a15a54c61e
commit d8ada83db3
27 changed files with 569 additions and 285 deletions

View File

@@ -57,9 +57,20 @@
overflow: hidden;
}
.seperator {
background: white;
position: relative;
cursor: ew-resize;
height: 100%;
width: 5px;
width: 1px;
background: var(--outline);
}
.seperator::before {
content: "";
cursor: ew-resize;
position: absolute;
pointer-events: all;
height: 100%;
width: 14px;
z-index: 2;
left: -7px;
}
</style>

View File

@@ -17,7 +17,7 @@
setContext("sizes", sizes);
$: cols = $sizes.map((size, i) => `${i > 0 ? "5px " : ""}` + size).join(" ");
$: cols = $sizes.map((size, i) => `${i > 0 ? "1px " : ""}` + size).join(" ");
</script>
<div class="wrapper" style={`grid-template-columns: ${cols};`}>