This commit is contained in:
Jon Staab
2024-08-26 14:43:43 -07:00
parent 644c32dd09
commit 88318e9753
36 changed files with 370 additions and 311 deletions
+4 -4
View File
@@ -6,7 +6,7 @@
</style>
<script lang="ts">
import cx from 'classnames'
import cx from "classnames"
import {switcher} from "@welshman/lib"
import AddSquare from "@assets/icons/Add Square.svg?dataurl"
import Code2 from "@assets/icons/Code 2.svg?dataurl"
@@ -69,8 +69,8 @@
const data = switcher(icon, {
"add-square": AddSquare,
"code-2": Code2,
"earth": Earth,
"pen": Pen,
earth: Earth,
pen: Pen,
"headphones-round": HeadphonesRound,
"add-circle": AddCircle,
"alt-arrow-down": AltArrowDown,
@@ -105,7 +105,7 @@
"menu-dots": MenuDots,
"notes-minimalistic": NotesMinimalistic,
"pallete-2": Pallete2,
"paperclip": Paperclip,
paperclip: Paperclip,
plain: Plain,
reply: Reply,
"remote-controller-minimalistic": RemoteControllerMinimalistic,
@@ -69,7 +69,7 @@
on:dragleave|preventDefault|stopPropagation={onDragLeave}
on:drop|preventDefault|stopPropagation={onDrop}>
<div
class="absolute right-0 top-0 overflow-hidden rounded-full bg-primary h-5 w-5"
class="absolute right-0 top-0 h-5 w-5 overflow-hidden rounded-full bg-primary"
class:bg-error={file}
class:bg-primary={!file}>
{#if file}
+1 -1
View File
@@ -1,3 +1,3 @@
<div class="flex w-60 flex-col gap-1 bg-base-300 flex-shrink-0">
<div class="flex w-60 flex-shrink-0 flex-col gap-1 bg-base-300">
<slot />
</div>
+2 -2
View File
@@ -36,7 +36,7 @@
on:click
class={cx(
$$props.class,
"flex items-center gap-3 transition-all hover:bg-base-100 hover:text-base-content text-left",
"flex items-center gap-3 text-left transition-all hover:bg-base-100 hover:text-base-content",
)}
class:text-base-content={active}
class:bg-base-100={active}>
@@ -48,7 +48,7 @@
on:click
class={cx(
$$props.class,
"flex w-full items-center gap-3 transition-all hover:bg-base-100 hover:text-base-content text-left",
"flex w-full items-center gap-3 text-left transition-all hover:bg-base-100 hover:text-base-content",
)}
class:text-base-content={active}
class:bg-base-100={active}>