diff --git a/bun.lockb b/bun.lockb index ad1255e..a432cfe 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index b51de9f..93cb313 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ }, "type": "module", "dependencies": { + "@sveltejs/vite-plugin-svelte": "^4.0.0", "svelte-kit": "^1.2.0" } } diff --git a/src/lib/components/Action.svelte b/src/lib/components/Action.svelte index 53dcd92..1e4f9ec 100644 --- a/src/lib/components/Action.svelte +++ b/src/lib/components/Action.svelte @@ -4,11 +4,21 @@ let { action = $bindable(), deleteself }: { action: ActionData; deleteself: () => void } = $props(); + let actionBorderColor = $derived( + action.result === 'success' ? 'border-cresc_green' : 'border-fail_red' + ); let actionBackgroundColor = $derived( action.result === 'success' ? 'bg-cresc_green' : 'bg-fail_red' ); + + + + + + + Add Action diff --git a/tailwind.config.js b/tailwind.config.js index b96a0a2..2c73fee 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,15 +4,16 @@ export default { theme: { colors: { navbar_black: '#1c1c1c', - outline_gray: '#c2c2c2', - cresc_green: '#00d586', - bg_gray: '#2c2c2c', + outline_gray: '#ec4899', + cresc_green: '#49A078', + bg_gray: '#020617', slack_purple: '#4A154B', robot_blue: '#0083E6', robot_red: '#ED1C24', - fail_red: '#EE3C42', - btn_grey: '#5C5C5C', - text_white: '#ffffff' + fail_red: '#FF6663', + btn_grey: '#0f172a', + text_red: '#FF4848', + text_yellow: '#F6B14B' }, extend: {} },