diff --git a/src/app.html b/src/app.html index 3da94a7..0552d01 100644 --- a/src/app.html +++ b/src/app.html @@ -1,9 +1,22 @@ - + + %sveltekit.head% diff --git a/src/lib/components/ThemeToggle.svelte b/src/lib/components/ThemeToggle.svelte new file mode 100644 index 0000000..06688ed --- /dev/null +++ b/src/lib/components/ThemeToggle.svelte @@ -0,0 +1,59 @@ + + + diff --git a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte index 4644da5..a39925d 100644 --- a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte +++ b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte @@ -59,7 +59,7 @@ >
-
+
-

{pokedexEntry.pokemon}

- #{pokedexEntry.pokedexNumber.toString().padStart(3, '0')} +

{pokedexEntry.pokemon}

+ #{pokedexEntry.pokedexNumber.toString().padStart(3, '0')}
{#if showForms} -
+

Form: {pokedexEntry.form ? pokedexEntry.form : '-'}

{/if} -
+
{#if pokedexEntry.evolutionInformation}

How to evolve: {pokedexEntry.evolutionInformation}

{:else} @@ -95,7 +97,9 @@
{#if catchRecord} -
+
@@ -116,7 +120,7 @@ @@ -126,30 +130,30 @@
-
-
- {#if pokedexEntry.canGigantamax && showForms} -
-
-
- {/if} + {#if pokedexEntry.canGigantamax && showForms} +
+
+ +
+
+ {/if}

{#if showOrigins} -
+

Origin Dex Requirements

Region to Catch In: {pokedexEntry.regionToCatchIn}

Games to catch in:

@@ -184,7 +188,7 @@
{/if} {#if pokedexEntry.catchInformation.length > 0} -
+

Where to catch:

    {#each pokedexEntry.catchInformation as info} @@ -206,7 +210,7 @@

{:else} -
+

Where to catch: Currently missing - can you diff --git a/src/lib/components/pokedex/PokedexModal.svelte b/src/lib/components/pokedex/PokedexModal.svelte index 9207308..99821d6 100644 --- a/src/lib/components/pokedex/PokedexModal.svelte +++ b/src/lib/components/pokedex/PokedexModal.svelte @@ -25,7 +25,7 @@ {#if isOpen}