From 78ede1785a0d647c1ba09c6fa2358c7a70c02e63 Mon Sep 17 00:00:00 2001 From: Hollgy Date: Sun, 24 Mar 2024 22:59:14 +0100 Subject: [PATCH 1/2] Change of color palette --- client-solid/tailwind.config.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/client-solid/tailwind.config.js b/client-solid/tailwind.config.js index 2bfc6ad..6ddda60 100644 --- a/client-solid/tailwind.config.js +++ b/client-solid/tailwind.config.js @@ -5,15 +5,15 @@ export default { themes: [ { mytheme: { - primary: "#286ca8", - secondary: "#528cbf", - accent: "#6ff7c5", - neutral: "#0369A1", // Main color of replies - "base-100": "#082f49", // Main Color for most components, used in wide variety - info: "#8b9be5", - success: "#79e2b4", - warning: "#efb261", - error: "#e1604c", + primary: "#3b82f6", + secondary: "#38bdf8", + accent: "#6ee7b7", + neutral: "#1f2329", + "base-100": "#2a3a47", + info: "#a5f3fc", + success: "#22c55e", + warning: "#fbbf24", + error: "#ef4444", }, }, ], From ac71cbd9e2fb0f65e742dbd94827faf67da034d1 Mon Sep 17 00:00:00 2001 From: Hollgy Date: Sun, 24 Mar 2024 22:59:49 +0100 Subject: [PATCH 2/2] Bugfix of setEdited, bordercolor swap --- client-solid/src/Components/PostSegment.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client-solid/src/Components/PostSegment.tsx b/client-solid/src/Components/PostSegment.tsx index 2de80ee..e0d10af 100644 --- a/client-solid/src/Components/PostSegment.tsx +++ b/client-solid/src/Components/PostSegment.tsx @@ -22,11 +22,11 @@ export function PostSegment(props: { post: Post }): JSXElement { createEffect((): void => { setUpdatedAt(new Date(local.post.createdAt).toDateString()); setCreatedAT(new Date(local.post.updatedAt).toDateString()); - setEdited(updatedAt() === createdAt()); + setEdited(!(updatedAt() === createdAt())); }); return ( -
+

{createdAt()}