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()}

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", }, }, ],