feat: add share target to PWA

This commit is contained in:
Xylight committed 2025-11-17 18:17:23 -08:00
1 parent 9945ef64cb
commit 5b0caf62a2
7 files changed
+91 -8

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
import type { IconVariants } from '@xylightdev/svelte-hero-icons'
const photon = {
a: {
viewBox: '0 0 100 100',
fill: 'currentColor',
},
path: [
{
'fill-rule': 'evenodd',
d: 'M45.5 10.8868C48.594 9.10042 52.406 9.10042 55.5 10.8868L82.3061 26.3632C85.4001 28.1496 87.3061 31.4508 87.3061 35.0235V65.9765C87.3061 69.5492 85.4001 72.8504 82.3061 74.6368L55.5 90.1132C52.406 91.8996 48.594 91.8996 45.5 90.1132L18.6939 74.6368C15.5999 72.8504 13.6939 69.5492 13.6939 65.9765V35.0235C13.6939 31.4508 15.5999 28.1496 18.6939 26.3632L45.5 10.8868Z',
'clip-rule': 'evenodd',
},
],
}
const outline = {
a: {
viewBox: '0 0 100 100',
fill: 'currentColor',
'stroke-width': '1.5',
stroke: 'currentColor',
},
path: [
{
d: 'M45.5 10.8868C48.594 9.10042 52.406 9.10042 55.5 10.8868L82.3061 26.3632C85.4001 28.1496 87.3061 31.4508 87.3061 35.0235V65.9765C87.3061 69.5492 85.4001 72.8504 82.3061 74.6368L55.5 90.1132C52.406 91.8996 48.594 91.8996 45.5 90.1132L18.6939 74.6368C15.5999 72.8504 13.6939 69.5492 13.6939 65.9765V35.0235C13.6939 31.4508 15.5999 28.1496 18.6939 26.3632L45.5 10.8868Z',
'stroke-linecap': 'round',
'stroke-linejoin': 'round',
},
],
}
export const Photon: IconVariants = {
micro: photon,
mini: photon,
solid: photon,
outline: outline,
} as unknown as IconVariants