improved iconPicker component + other improvements

This commit is contained in:
daniel31x13
2024-08-19 18:14:09 -04:00
parent 2893d3caf2
commit dc388ebba5
15 changed files with 222 additions and 72 deletions
@@ -88,7 +88,7 @@ export default function NewCollectionModal({ onClose, parent }: Props) {
<p className="w-full mb-2">{t("color")}</p>
<div className="color-picker flex justify-between items-center">
<HexColorPicker
color={collection.color}
color={collection.color as string}
onChange={(color) =>
setCollection({ ...collection, color })
}
@@ -96,7 +96,7 @@ export default function NewCollectionModal({ onClose, parent }: Props) {
<div className="flex flex-col gap-2 items-center w-32">
<i
className={"bi-folder-fill text-5xl"}
style={{ color: collection.color }}
style={{ color: collection.color as string }}
></i>
<div
className="btn btn-ghost btn-xs"