Skip to content

Commit 4cc3672

Browse files
committed
Add editor tab and empty editor pane for font selector.
1 parent 9b5ad1d commit 4cc3672

1 file changed

Lines changed: 21 additions & 8 deletions

File tree

src/lib/components/VerseOnImage.svelte

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ The verse on image component.
380380
on:click={() => centerButton(1)}
381381
class:activeButton={active_editor_index == 1}
382382
>
383-
<TextAppearanceIcon
383+
<ImageIcon.FontChoice
384384
color={active_editor_index == 1 ? progressColor : unselectedColor}
385385
/>
386386
</button>
@@ -389,7 +389,7 @@ The verse on image component.
389389
on:click={() => centerButton(2)}
390390
class:activeButton={active_editor_index == 2}
391391
>
392-
<ImageIcon.FormatAlignCenter
392+
<TextAppearanceIcon
393393
color={active_editor_index == 2 ? progressColor : unselectedColor}
394394
/>
395395
</button>
@@ -398,7 +398,7 @@ The verse on image component.
398398
on:click={() => centerButton(3)}
399399
class:activeButton={active_editor_index == 3}
400400
>
401-
<ImageIcon.FormatColorFill
401+
<ImageIcon.FormatAlignCenter
402402
color={active_editor_index == 3 ? progressColor : unselectedColor}
403403
/>
404404
</button>
@@ -407,7 +407,7 @@ The verse on image component.
407407
on:click={() => centerButton(4)}
408408
class:activeButton={active_editor_index == 4}
409409
>
410-
<ImageIcon.TextShadow
410+
<ImageIcon.FormatColorFill
411411
color={active_editor_index == 4 ? progressColor : unselectedColor}
412412
/>
413413
</button>
@@ -416,7 +416,7 @@ The verse on image component.
416416
on:click={() => centerButton(5)}
417417
class:activeButton={active_editor_index == 5}
418418
>
419-
<ImageIcon.Brightness
419+
<ImageIcon.TextShadow
420420
color={active_editor_index == 5 ? progressColor : unselectedColor}
421421
/>
422422
</button>
@@ -425,15 +425,24 @@ The verse on image component.
425425
on:click={() => centerButton(6)}
426426
class:activeButton={active_editor_index == 6}
427427
>
428-
<ImageIcon.Blur color={active_editor_index == 6 ? progressColor : unselectedColor} />
428+
<ImageIcon.Brightness
429+
color={active_editor_index == 6 ? progressColor : unselectedColor}
430+
/>
429431
</button>
430432
<button
431433
class="dy-btn-sm dy-btn-ghost"
432434
on:click={() => centerButton(7)}
433435
class:activeButton={active_editor_index == 7}
436+
>
437+
<ImageIcon.Blur color={active_editor_index == 7 ? progressColor : unselectedColor} />
438+
</button>
439+
<button
440+
class="dy-btn-sm dy-btn-ghost"
441+
on:click={() => centerButton(8)}
442+
class:activeButton={active_editor_index == 8}
434443
>
435444
<ImageIcon.TextWidth
436-
color={active_editor_index == 7 ? progressColor : unselectedColor}
445+
color={active_editor_index == 8 ? progressColor : unselectedColor}
437446
/>
438447
</button>
439448
</div>
@@ -486,6 +495,10 @@ The verse on image component.
486495
</div>
487496
</div>
488497

498+
<div class="dy-carousel-item items-center editorPane">
499+
<h1 style="width:100%;">Font selector EditorPane</h1>
500+
</div>
501+
489502
<div class="dy-carousel-item editorPane items-center">
490503
<div class="flex flex-row items-center">
491504
<!-- Bold button -->
@@ -624,7 +637,7 @@ The verse on image component.
624637
label="Test Label For Now"
625638
bind:color={voi_fontColor}
626639
/>
627-
<h1 style="width:100%;">Editor Content 3 - Color</h1>
640+
<h1 style="width:100%;">Color selector EditorPane</h1>
628641
</div>
629642

630643
<div class="dy-carousel-item items-center editorPane">

0 commit comments

Comments
 (0)