Changes after major Svelte update.
This commit is contained in:
@@ -326,7 +326,8 @@ function remove_file_from_filelist(index) {
|
|||||||
on:click|preventDefault={() => { (remove_file_from_filelist(file_index)); }}
|
on:click|preventDefault={() => { (remove_file_from_filelist(file_index)); }}
|
||||||
class="btn btn-md variant-soft-warning hover:variant-filled-secondary m-1"
|
class="btn btn-md variant-soft-warning hover:variant-filled-secondary m-1"
|
||||||
title="Remove file from upload list">
|
title="Remove file from upload list">
|
||||||
<span class="fas fa-minus"></span>
|
<span class="fas fa-minus"></span>
|
||||||
|
<span class="hidden">Remove</span>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
<td class="file_filename">{file_list_item.filename}</td>
|
<td class="file_filename">{file_list_item.filename}</td>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { onMount, onDestroy } from 'svelte';
|
|||||||
import { fade } from 'svelte/transition'
|
import { fade } from 'svelte/transition'
|
||||||
import { cubicOut } from 'svelte/easing';
|
import { cubicOut } from 'svelte/easing';
|
||||||
|
|
||||||
// import ShadEditor from '$lib/components/shad-editor/shad-editor.svelte';
|
import ShadEditor from '$lib/components/shad-editor/shad-editor.svelte';
|
||||||
|
|
||||||
|
|
||||||
// Import Tiptap related modules
|
// Import Tiptap related modules
|
||||||
@@ -572,6 +572,7 @@ let mouse_leave_wait: number = 2000;
|
|||||||
title="Undo"
|
title="Undo"
|
||||||
>
|
>
|
||||||
<span class="fas fa-undo mx-1"></span>
|
<span class="fas fa-undo mx-1"></span>
|
||||||
|
<span class="hidden">Undo</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<!-- Redo (not working???) -->
|
<!-- Redo (not working???) -->
|
||||||
|
|||||||
@@ -21,6 +21,13 @@ export default {
|
|||||||
colors: {
|
colors: {
|
||||||
// flowbite-svelte
|
// flowbite-svelte
|
||||||
primary: { 50: '#FFF5F2', 100: '#FFF1EE', 200: '#FFE4DE', 300: '#FFD5CC', 400: '#FFBCAD', 500: '#FE795D', 600: '#EF562F', 700: '#EB4F27', 800: '#CC4522', 900: '#A5371B'},
|
primary: { 50: '#FFF5F2', 100: '#FFF1EE', 200: '#FFE4DE', 300: '#FFD5CC', 400: '#FFBCAD', 500: '#FE795D', 600: '#EF562F', 700: '#EB4F27', 800: '#CC4522', 900: '#A5371B'},
|
||||||
|
muted: {
|
||||||
|
DEFAULT: '#f5f5f5', // Define the default muted color
|
||||||
|
50: 'rgba(0, 0, 0, 0.02)',
|
||||||
|
100: 'rgba(0, 0, 0, 0.05)',
|
||||||
|
foreground: '#f5f5f5', // Define the foreground muted color
|
||||||
|
background: '#f5f5f5', // Define the background muted color
|
||||||
|
},
|
||||||
},
|
},
|
||||||
opacity: {
|
opacity: {
|
||||||
97: '.97',
|
97: '.97',
|
||||||
|
|||||||
Reference in New Issue
Block a user