Commit 945b54471b

945b54471b623e05ff12176856a46f13c4f825aa

parent: 6609ecd4f2

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-07-09 09:29 UTC

commit

Layout: unified · split

docs/.vitepress/theme/components/OnekoChaser.vue +1 −1
@@ -339,7 +339,7 @@ onUnmounted(() => disable?.())
339 id="oneko" 339 id="oneko"
340 ref="nekoRef" 340 ref="nekoRef"
341 aria-hidden="true" 341 aria-hidden="true"
342 title="Click to wake me up — or drag me around!" 342 title="Click to wake me up!"
343 class="oneko fixed z-[9999] h-8 w-8 opacity-0 transition-opacity duration-500" 343 class="oneko fixed z-[9999] h-8 w-8 opacity-0 transition-opacity duration-500"
344 style="image-rendering: pixelated; background-image: url(/oneko.gif)" 344 style="image-rendering: pixelated; background-image: url(/oneko.gif)"
345 /> 345 />
docs/.vitepress/theme/pets.ts +8 −8
@@ -32,13 +32,6 @@ export interface PetCharacter {
32} 32}
33 33
34export const petCharacters: PetCharacter[] = [ 34export const petCharacters: PetCharacter[] = [
35 {
36 key: 'tako',
37 label: 'Takodachi',
38 behavior: 'chaser',
39 icon: { type: 'image', src: '/takodachi.webp' },
40 src: '/takodachi.webp'
41 },
42 { 35 {
43 key: 'oneko', 36 key: 'oneko',
44 label: 'Oneko', 37 label: 'Oneko',
@@ -54,10 +47,17 @@ export const petCharacters: PetCharacter[] = [
54 [-2, -1] 47 [-2, -1]
55 ] 48 ]
56 } 49 }
50 },
51 {
52 key: 'tako',
53 label: 'Takodachi',
54 behavior: 'chaser',
55 icon: { type: 'image', src: '/takodachi.webp' },
56 src: '/takodachi.webp'
57 } 57 }
58] 58]
59 59
60export const defaultPetKey = petCharacters[0].key 60export const defaultPetKey = 'tako'
61 61
62/** Style for a sprite frame scaled to a `size` px box; pass an incrementing 62/** Style for a sprite frame scaled to a `size` px box; pass an incrementing
63 * `frameIndex` to cycle an icon's `frames`. */ 63 * `frameIndex` to cycle an icon's `frames`. */