prefix theme colors for consumer compatibility
This commit is contained in:
@@ -312,8 +312,8 @@
|
||||
<div
|
||||
class="relative flex h-6 w-7 items-center justify-center rounded-3xl bg-white
|
||||
text-sm dark:bg-slate-600 {index === i
|
||||
? 'bg-accent-500! text-background dark:bg-accent-700!'
|
||||
: ''} {i < index ? 'text-background bg-green-600!' : ''} {i > index
|
||||
? 'bg-sui-accent-500! text-sui-background dark:bg-sui-accent-700!'
|
||||
: ''} {i < index ? 'text-sui-background bg-green-600!' : ''} {i > index
|
||||
? 'scale-[0.85] opacity-80'
|
||||
: ''}
|
||||
transition-[transform,background-color,color]"
|
||||
@@ -334,7 +334,7 @@
|
||||
<!-- Back button -->
|
||||
{#if backButtonVisible}
|
||||
<button
|
||||
class="text-text hover:text-text-700 dark:text-background dark:hover:text-background/80 flex cursor-pointer items-center
|
||||
class="text-sui-text hover:text-sui-text-700 dark:text-sui-background dark:hover:text-sui-background/80 flex cursor-pointer items-center
|
||||
gap-2.5 font-medium transition-colors"
|
||||
onclick={() => (index -= 1)}
|
||||
transition:fly={{ x: -200, duration: 200 }}
|
||||
@@ -378,7 +378,7 @@
|
||||
<div
|
||||
class={[
|
||||
'absolute inset-0 backdrop-blur-md transition-colors',
|
||||
hero.colour === 'light' ? 'bg-accent/80' : 'bg-[#00283C]/80'
|
||||
hero.colour === 'light' ? 'bg-sui-accent/80' : 'bg-[#00283C]/80'
|
||||
]}
|
||||
></div>
|
||||
|
||||
@@ -407,7 +407,7 @@
|
||||
<!-- Form page -->
|
||||
{#key index}
|
||||
<div
|
||||
class="text-text dark:text-background absolute top-0 right-0 left-0"
|
||||
class="text-sui-text dark:text-sui-background absolute top-0 right-0 left-0"
|
||||
in:flyIn
|
||||
out:flyOut
|
||||
bind:this={pageContainer}
|
||||
@@ -448,7 +448,7 @@
|
||||
|
||||
.progress {
|
||||
@apply flex cursor-default items-center justify-center gap-3 overflow-hidden rounded-3xl px-3 py-2;
|
||||
@apply dark:bg-text-800 bg-gray-200/80 dark:lg:bg-slate-800;
|
||||
@apply text-text/60 dark:text-background/60 font-semibold;
|
||||
@apply dark:bg-sui-text-800 bg-gray-200/80 dark:lg:bg-slate-800;
|
||||
@apply text-sui-text/60 dark:text-sui-background/60 font-semibold;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user