diff --git a/src/app.css b/src/app.css index 5e2eb64..741e7ff 100644 --- a/src/app.css +++ b/src/app.css @@ -8,6 +8,8 @@ /* Primary colours */ /* Normal state */ + --neutral-grey: #cccccc; + --postit-green: #afec6a; --postit-yellow: #faf557; --postit-blue: #7fd9cf; @@ -20,9 +22,10 @@ --postit-pink-hover: hsl(341, 98%, 90%); /* Night mode */ - --night-light: #707993; + --night-light: #3d465c; --night-medium: #252d3e; --night-dark: #10161d; + --night-text-color: #fdfdfd; } body { @@ -55,7 +58,6 @@ h3, h4 { margin: 1.414em 0 0.5em; line-height: 1.35; - color: #111; font-weight: 400; text-align: left; margin-bottom: 2.5em; diff --git a/src/lib/home/Aliens.svelte b/src/lib/home/Aliens.svelte index 910d16a..aa80cae 100644 --- a/src/lib/home/Aliens.svelte +++ b/src/lib/home/Aliens.svelte @@ -2,12 +2,12 @@ export let display_mode_classes = ""; export let alienCount = 0; - export let alienType = "one"; + export let alienType = "default";
{#each Array(alienCount) as _} -
+
{/each}
@@ -27,23 +27,23 @@ animation: alienAnim 2s steps(2) infinite; } - .aliens__one { + .default { background-image: url(/static/alien_1.svg); } - .aliens__two { + .alien0 { background-image: url(/static/alien_2.svg); } - .aliens__three { + .alien1 { background-image: url(/static/alien_3.svg); } - .aliens__defense { + .alien2 { background-image: url(/static/defense.svg); } - .aliens__player { + .alien3 { background-image: url(/static/player.svg); } diff --git a/src/lib/home/ProjectSummary.svelte b/src/lib/home/ProjectSummary.svelte index 5a28339..e926286 100644 --- a/src/lib/home/ProjectSummary.svelte +++ b/src/lib/home/ProjectSummary.svelte @@ -1,5 +1,5 @@