Skip to content

Commit

Permalink
Add editor tab and empty editor pane for font selector.
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb-Parks committed Aug 17, 2023
1 parent 9b5ad1d commit 4cc3672
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions src/lib/components/VerseOnImage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ The verse on image component.
on:click={() => centerButton(1)}
class:activeButton={active_editor_index == 1}
>
<TextAppearanceIcon
<ImageIcon.FontChoice
color={active_editor_index == 1 ? progressColor : unselectedColor}
/>
</button>
Expand All @@ -389,7 +389,7 @@ The verse on image component.
on:click={() => centerButton(2)}
class:activeButton={active_editor_index == 2}
>
<ImageIcon.FormatAlignCenter
<TextAppearanceIcon
color={active_editor_index == 2 ? progressColor : unselectedColor}
/>
</button>
Expand All @@ -398,7 +398,7 @@ The verse on image component.
on:click={() => centerButton(3)}
class:activeButton={active_editor_index == 3}
>
<ImageIcon.FormatColorFill
<ImageIcon.FormatAlignCenter
color={active_editor_index == 3 ? progressColor : unselectedColor}
/>
</button>
Expand All @@ -407,7 +407,7 @@ The verse on image component.
on:click={() => centerButton(4)}
class:activeButton={active_editor_index == 4}
>
<ImageIcon.TextShadow
<ImageIcon.FormatColorFill
color={active_editor_index == 4 ? progressColor : unselectedColor}
/>
</button>
Expand All @@ -416,7 +416,7 @@ The verse on image component.
on:click={() => centerButton(5)}
class:activeButton={active_editor_index == 5}
>
<ImageIcon.Brightness
<ImageIcon.TextShadow
color={active_editor_index == 5 ? progressColor : unselectedColor}
/>
</button>
Expand All @@ -425,15 +425,24 @@ The verse on image component.
on:click={() => centerButton(6)}
class:activeButton={active_editor_index == 6}
>
<ImageIcon.Blur color={active_editor_index == 6 ? progressColor : unselectedColor} />
<ImageIcon.Brightness
color={active_editor_index == 6 ? progressColor : unselectedColor}
/>
</button>
<button
class="dy-btn-sm dy-btn-ghost"
on:click={() => centerButton(7)}
class:activeButton={active_editor_index == 7}
>
<ImageIcon.Blur color={active_editor_index == 7 ? progressColor : unselectedColor} />
</button>
<button
class="dy-btn-sm dy-btn-ghost"
on:click={() => centerButton(8)}
class:activeButton={active_editor_index == 8}
>
<ImageIcon.TextWidth
color={active_editor_index == 7 ? progressColor : unselectedColor}
color={active_editor_index == 8 ? progressColor : unselectedColor}
/>
</button>
</div>
Expand Down Expand Up @@ -486,6 +495,10 @@ The verse on image component.
</div>
</div>

<div class="dy-carousel-item items-center editorPane">
<h1 style="width:100%;">Font selector EditorPane</h1>
</div>

<div class="dy-carousel-item editorPane items-center">
<div class="flex flex-row items-center">
<!-- Bold button -->
Expand Down Expand Up @@ -624,7 +637,7 @@ The verse on image component.
label="Test Label For Now"
bind:color={voi_fontColor}
/>
<h1 style="width:100%;">Editor Content 3 - Color</h1>
<h1 style="width:100%;">Color selector EditorPane</h1>
</div>

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

0 comments on commit 4cc3672

Please sign in to comment.