frontend/app/components/graphics/square-pattern.vue

35 lines
1.1 KiB
Vue
Raw Normal View History

<template>
2025-12-09 22:32:22 +01:00
<svg
class="absolute inset-x-0 top-0 h-full w-full stroke-primary/[0.07] [mask-image:radial-gradient(100%_100%_at_top_right,var(--primary-foreground),transparent)] pointer-events-none"
aria-hidden="true"
>
<defs>
2025-12-09 22:32:22 +01:00
<pattern
id="983e3e4c-de6d-4c3f-8d64-b9761d1534cc"
width="200"
height="200"
x="50%"
y="-1"
patternUnits="userSpaceOnUse"
>
<path d="M.5 200V.5H200" fill="none"></path>
</pattern>
2025-12-09 22:32:22 +01:00
</defs>
<svg x="50%" y="-1" class="overflow-visible fill-primary/[0.03]">
<path
d="M-200 0h201v201h-201Z M600 0h201v201h-201Z M-400 600h201v201h-201Z M200 800h201v201h-201Z"
stroke-width="0"
></path>
</svg>
2025-12-09 22:32:22 +01:00
<rect
width="100%"
height="100%"
stroke-width="0"
fill="url(#983e3e4c-de6d-4c3f-8d64-b9761d1534cc)"
></rect>
</svg>
</template>
<script lang="ts" setup>
</script>