diff --git a/package.json b/package.json index 154adfb..8f51910 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shadcn-theme-editor", - "version": "1.3.2", + "version": "1.3.3", "description": "Shadcn Theme Editor", "main": "dist/index.js", "module": "dist/index.mjs", diff --git a/src/components/editor-open.tsx b/src/components/editor-open.tsx index 3fc76f6..e508a45 100644 --- a/src/components/editor-open.tsx +++ b/src/components/editor-open.tsx @@ -1,8 +1,8 @@ "use client"; import { useState } from "react"; import { Sidebar } from "./sidebar"; -import { IoColorPalette } from "react-icons/io5"; import clsx from "clsx"; +import ColorPalette from "./icons"; function EditorOpenBtn() { const [isOpen, setIsOpen] = useState(false); @@ -12,7 +12,7 @@ function EditorOpenBtn() { onClick={() => setIsOpen(!isOpen)} className={clsx("rounded-full p-3 fixed border shadow-md drop-shadow-sm bottom-2 right-2 z-[35]", isOpen?"bg-primary text-primary-foreground":"text-primary bg-primary-foreground opacity-50 hover:opacity-100")} > - + diff --git a/src/components/icons.tsx b/src/components/icons.tsx index d29128a..ddd4ece 100644 --- a/src/components/icons.tsx +++ b/src/components/icons.tsx @@ -100,3 +100,19 @@ export const X = (props: SVGProps) => ( ); + +const ColorPalette = ({size, ...props}: SVGProps & { size: number }) => ( + + + +); +export default ColorPalette;