Merge branch 'dev' of git.silversoft.se:Imbus/FrostByte into dev
This commit is contained in:
commit
630f19f82c
2 changed files with 11 additions and 11 deletions
|
@ -22,11 +22,11 @@ export function PostSegment(props: { post: Post }): JSXElement {
|
||||||
createEffect((): void => {
|
createEffect((): void => {
|
||||||
setUpdatedAt(new Date(local.post.createdAt).toDateString());
|
setUpdatedAt(new Date(local.post.createdAt).toDateString());
|
||||||
setCreatedAT(new Date(local.post.updatedAt).toDateString());
|
setCreatedAT(new Date(local.post.updatedAt).toDateString());
|
||||||
setEdited(updatedAt() === createdAt());
|
setEdited(!(updatedAt() === createdAt()));
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
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="card-body md:mx-6">
|
||||||
<div class="flex flex-row justify-between">
|
<div class="flex flex-row justify-between">
|
||||||
<p class="text-xs">{createdAt()}</p>
|
<p class="text-xs">{createdAt()}</p>
|
||||||
|
|
|
@ -5,15 +5,15 @@ export default {
|
||||||
themes: [
|
themes: [
|
||||||
{
|
{
|
||||||
mytheme: {
|
mytheme: {
|
||||||
primary: "#286ca8",
|
primary: "#3b82f6",
|
||||||
secondary: "#528cbf",
|
secondary: "#38bdf8",
|
||||||
accent: "#6ff7c5",
|
accent: "#6ee7b7",
|
||||||
neutral: "#0369A1", // Main color of replies
|
neutral: "#1f2329",
|
||||||
"base-100": "#082f49", // Main Color for most components, used in wide variety
|
"base-100": "#2a3a47",
|
||||||
info: "#8b9be5",
|
info: "#a5f3fc",
|
||||||
success: "#79e2b4",
|
success: "#22c55e",
|
||||||
warning: "#efb261",
|
warning: "#fbbf24",
|
||||||
error: "#e1604c",
|
error: "#ef4444",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue