From be983f5e703b5a1777d1f340a188ed7439b468d4 Mon Sep 17 00:00:00 2001 From: awwpotato Date: Thu, 14 Nov 2024 10:59:09 -0800 Subject: [PATCH] feat: update colorsceme --- src/lib/components/Action.svelte | 6 ++-- src/lib/components/SuccessFail.svelte | 8 ++--- src/routes/+layout.svelte | 2 +- src/routes/+page.svelte | 7 +++-- src/routes/scout/+page.svelte | 6 ++-- src/routes/scout/ActionInputs.svelte | 42 +++++++++++++-------------- tailwind.config.js | 19 ++++++------ 7 files changed, 47 insertions(+), 43 deletions(-) diff --git a/src/lib/components/Action.svelte b/src/lib/components/Action.svelte index 1a5a1be..781559d 100644 --- a/src/lib/components/Action.svelte +++ b/src/lib/components/Action.svelte @@ -7,7 +7,9 @@ }: { action_data: AutoActionData; deleteself: () => void } = $props(); //let actionBorderColor = $derived(action.success ? 'border-cresc_green' : 'border-fail_red'); - let actionBackgroundColor = $derived(action_data.success ? 'bg-cresc_green' : 'bg-fail_red'); + let actionBackgroundColor = $derived( + action_data.success ? 'bg-jungle_green' : 'bg-flaming_red' + ); @@ -18,7 +20,7 @@ diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4b474b2..493a0b6 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -7,6 +7,6 @@ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index aefc4d7..8010bab 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,9 @@ -
+

hiiii :3

- + scout
diff --git a/src/routes/scout/+page.svelte b/src/routes/scout/+page.svelte index ddf130b..6cd0d8a 100644 --- a/src/routes/scout/+page.svelte +++ b/src/routes/scout/+page.svelte @@ -26,14 +26,14 @@ }); -
+

Team {team_key}

{#if timelineExtended}
{:else} @@ -42,7 +42,7 @@
{/if} diff --git a/src/routes/scout/ActionInputs.svelte b/src/routes/scout/ActionInputs.svelte index eadb514..17ffa1d 100644 --- a/src/routes/scout/ActionInputs.svelte +++ b/src/routes/scout/ActionInputs.svelte @@ -57,104 +57,104 @@
{#if is_none_state}
- + {#if held_scorables > 0} - + {/if} {#if held_ejectables > 0} - + {/if}
{:else if is_intake_state}
- - -
{:else if is_score_state}
{#if held_bunnies > 0} - {#if held_totes > 0} {/if} - {/if} {#if held_balloons > 0} - {#if held_totes > 0} {/if} {/if}
{:else if is_eject_state}
{#if held_bunnies > 0} - {/if} {#if held_balloons > 0} {/if} {#if held_totes > 0} - {/if}
diff --git a/tailwind.config.js b/tailwind.config.js index 3e2b173..a8e0cce 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,16 +4,15 @@ export default { theme: { extend: { colors: { - navbar_black: '#1c1c1c', - outline_gray: '#c2c2c2', - cresc_green: '#00d586', - bg_gray: '#2c2c2c', - slack_purple: '#4A154B', - robot_blue: '#0083E6', - robot_red: '#ED1C24', - fail_red: '#EE3C42', - btn_grey: '#5C5C5C', - text_white: '#ffffff' + white: '#ffffff', + eerie_black: '#1C1C1C', + yolk_yellow: '#FFC145', + flaming_red: '#ED2C2C', + steel_blue: '#358188', + gunmetal: '#20282C', + chicken_orange: '#F7901E', + eminence: '#6C3082', + jungle_green: '#49A078' } } },