Skip to content

Commit

Permalink
close config on tour
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Oct 16, 2024
1 parent 674ba35 commit 0f22cda
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions apps/color-buddy/src/controls/Config.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,11 @@
<QuestionIcon />
<ChevDown class="ml-2" />
</button>
<div slot="content" class="w-96">
<!-- <div class="flex mb-4">
<button class={buttonStyle} on:click={() => importPals()}>
Import Palettes
</button>
</div> -->

<div slot="content" class="w-96" let:onClick>
<div class="font-bold">About</div>
<div class="text-sm my-2">
Color buddy is an application that helps you build excellent color
palettes. It was originally written at the
Color buddy is a tool for building color palettes. It was originally
written at the

<a
class="underline text-cyan-800"
Expand Down Expand Up @@ -140,10 +134,19 @@
is collected to help improve the application.
</div>

<div>
<button class={buttonStyle} on:click={() => configStore.setTour(true)}>
<div class="flex">
<button
class={buttonStyle}
on:click={() => {
configStore.setTour(true);
onClick();
}}
>
Show Tour
</button>
<!-- <button class={buttonStyle} on:click={() => importPals()}>
Import Palettes
</button> -->
</div>

<div class="font-bold mt-4">Short cuts</div>
Expand Down

0 comments on commit 0f22cda

Please sign in to comment.