Risuai 0.6.3 first commit

This commit is contained in:
kwaroran
2023-05-07 12:41:45 +09:00
parent 50e5e1d917
commit 2c5c7d2694
98 changed files with 15070 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<script>
import { DataBase } from '../../ts/database';
import { CharEmotion } from '../../ts/stores';
import { getEmotion } from '../../ts/util';
</script>
{#await getEmotion($DataBase,$CharEmotion, 'contain') then images}
{#each images as image, i}
<div style={image + `width:${(100 / images.length)}%;bottom:0;left:${100 / images.length * i}%`} class="h-full bg-center absolute" />
{/each}
{/await}
<style>
.h-full {
height: 100%;
}
.bg-center {
background-position: center;
}
</style>