Merge branch 'dev' of git.silversoft.se:Imbus/FrostByte into dev

This commit is contained in:
Imbus 2024-03-24 23:00:26 +01:00
commit 630f19f82c
2 changed files with 11 additions and 11 deletions

View file

@ -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 (
<div class="card compact w-full flex-grow border-b-2 border-b-primary bg-base-200 text-base-content transition-all hover:bg-base-300">
<div class="card compact w-full flex-grow border-b-2 border-b-info bg-base-200 text-base-content transition-all hover:bg-base-300">
<div class="card-body md:mx-6">
<div class="flex flex-row justify-between">
<p class="text-xs">{createdAt()}</p>

View file

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