Migrate more stuff

This commit is contained in:
Jon Staab
2025-02-03 16:37:14 -08:00
parent 0f705c459a
commit 8d3433b167
150 changed files with 2001 additions and 1205 deletions
+7 -3
View File
@@ -84,8 +84,12 @@
import WidgetAdd from "@assets/icons/Widget Add.svg?dataurl"
import WiFiRouterRound from "@assets/icons/Wi-Fi Router Round.svg?dataurl"
export let icon
export let size = 5
interface Props {
icon: string
size: number
}
let {icon, size = 5, ...restProps} = $props()
const px = size * 4
@@ -173,6 +177,6 @@
</script>
<div
class={cx("inline-block", $$props.class)}
class="inline-block {restProps.class}"
style="mask-image: url({data}); width: {px}px; height: {px}px; min-width: {px}px; min-height: {px}px; background-color: currentcolor;">
</div>