aotds-docks/src/lib/components/Output/Print/Weapons/Beam/index.svelte

30 lines
512 B
Svelte

<div>
<Arcs selected={arcs} size="40">
<text x="50%" y="50%">
{weapon_class}
</text>
</Arcs>
</div>
<script>
import Arcs from "$lib/components/Weapon/Arcs/index.svelte";
export let weapon_class = 1;
export let arcs = [];
</script>
<style>
div :global(path) {
}
div :global(path:hover) {
fill: white;
}
div :global(path.active:hover) {
fill: black;
}
text {
text-anchor: middle;
dominant-baseline: central;
font-size: var(--font-scale-10);
}
</style>