Changed link to secondary to ensure it adapts correctly to the theme

This commit is contained in:
Dean 2023-07-18 09:53:47 +01:00
parent 69e68e27a9
commit cbc67c6fdb
1 changed files with 4 additions and 4 deletions

View File

@ -122,6 +122,7 @@
<div class="tour-navigation"> <div class="tour-navigation">
{#if typeof tourOnSkip === "function"} {#if typeof tourOnSkip === "function"}
<Link <Link
secondary
quiet quiet
on:click={() => { on:click={() => {
skipping = true skipping = true
@ -130,8 +131,10 @@
$goto(tour.endRoute) $goto(tour.endRoute)
} }
}} }}
disabled={skipping}>Skip</Link disabled={skipping}
> >
Skip
</Link>
{/if} {/if}
<Button cta on:click={nextStep} disabled={skipping}> <Button cta on:click={nextStep} disabled={skipping}>
<div>{lastStep ? "Finish" : "Next"}</div> <div>{lastStep ? "Finish" : "Next"}</div>
@ -154,9 +157,6 @@
justify-content: end; justify-content: end;
align-items: center; align-items: center;
} }
.tour-navigation :global(.spectrum-Link) {
color: white;
}
.tour-body :global(.feature-list) { .tour-body :global(.feature-list) {
margin-bottom: 0px; margin-bottom: 0px;
padding-left: var(--spacing-xl); padding-left: var(--spacing-xl);