[feat] more customizations

This commit is contained in:
kwaroran
2023-05-21 02:33:21 +09:00
parent 94f1bcd7db
commit 568d203e13
7 changed files with 73 additions and 7 deletions

View File

@@ -128,3 +128,52 @@
<Check bind:check={$DataBase.instantRemove}/>
<span>{language.instantRemove}</span>
</div>
{#if $DataBase.textScreenColor}
<div class="flex items-center mt-2">
<Check check={true} onChange={() => {
$DataBase.textScreenColor = null
}}/>
<input type="color" class="style2 text-sm mr-2" bind:value={$DataBase.textScreenColor} >
<span>{language.textBackgrounds}</span>
</div>
{:else}
<div class="flex items-center mt-2">
<Check check={false} onChange={() => {
$DataBase.textScreenColor = "#121212"
}}/>
<span>{language.textBackgrounds}</span>
</div>
{/if}
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.textBorder}/>
<span>{language.textBorder}</span>
</div>
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.textScreenRounded}/>
<span>{language.textScreenRound}</span>
</div>
{#if $DataBase.textScreenBorder}
<div class="flex items-center mt-2">
<Check check={true} onChange={() => {
$DataBase.textScreenBorder = null
}}/>
<input type="color" class="style2 text-sm mr-2" bind:value={$DataBase.textScreenBorder} >
<span>{language.textScreenBorder}</span>
</div>
{:else}
<div class="flex items-center mt-2">
<Check check={false} onChange={() => {
$DataBase.textScreenBorder = "#121212"
}}/>
<span>{language.textScreenBorder}</span>
</div>
{/if}