Add disable quote formating option

This commit is contained in:
kwaroran
2024-08-24 15:57:57 +09:00
parent 628b17510d
commit d38a9f3d85
6 changed files with 26 additions and 9 deletions

View File

@@ -152,11 +152,11 @@
<span class="ml-2">Italic Bold Text</span>
</div>
<div class="flex items-center mt-2">
<ColorInput bind:value={$DataBase.customTextTheme.FontColorQuote1} on:input={updateTextTheme} />
<ColorInput nullable bind:value={$DataBase.customTextTheme.FontColorQuote1} on:input={updateTextTheme} />
<span class="ml-2">Single Quote Text</span>
</div>
<div class="flex items-center mt-2">
<ColorInput bind:value={$DataBase.customTextTheme.FontColorQuote2} on:input={updateTextTheme} />
<ColorInput nullable bind:value={$DataBase.customTextTheme.FontColorQuote2} on:input={updateTextTheme} />
<span class="ml-2">Double Quote Text</span>
</div>
{/if}
@@ -314,6 +314,10 @@
<Check bind:check={$DataBase.hideApiKey} name={language.hideApiKeys}/>
</div>
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.unformatQuotes} name={language.unformatQuotes}/>
</div>
{#if $DataBase.useExperimental}
<div class="flex items-center mt-2">
<Check bind:check={$DataBase.useChatSticker} name={language.useChatSticker}/>

View File

@@ -1,11 +1,13 @@
<script lang="ts">
import ColorPicker from 'svelte-awesome-color-picker';
export let value = '#000000';
export let nullable = false;
</script>
<div class="cl rounded-full bg-white">
<ColorPicker
label="" bind:hex={value} on:input
nullable={nullable}
/>
</div>