Commit 945b54471b
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/OnekoChaser.vue +1 −1
| @@ -339,7 +339,7 @@ onUnmounted(() => disable?.()) | ||
| 339 | 339 | id="oneko" |
| 340 | 340 | ref="nekoRef" |
| 341 | 341 | aria-hidden="true" |
| 342 | title="Click to wake me up — or drag me around!" | |
| 342 | title="Click to wake me up!" | |
| 343 | 343 | class="oneko fixed z-[9999] h-8 w-8 opacity-0 transition-opacity duration-500" |
| 344 | 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 | |
| 34 | 34 | export 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 | 36 | key: 'oneko', |
| 44 | 37 | label: 'Oneko', |
| @@ -54,10 +47,17 @@ export const petCharacters: PetCharacter[] = [ | ||
| 54 | 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 | |
| 60 | export const defaultPetKey = petCharacters[0].key | |
| 60 | export const defaultPetKey = 'tako' | |
| 61 | 61 | |
| 62 | 62 | /** Style for a sprite frame scaled to a `size` px box; pass an incrementing |
| 63 | 63 | * `frameIndex` to cycle an icon's `frames`. */ |